How do you make certain information only availble with a login on a webpage?

Hi,
I am working on a site for people to download software upgrades.  I am trying to make it so they have to add their name and email then click a submit button.  Once they click submit the download links will be available on the webpage or open up in a new window.  Does anyone know how this can be done?
Thank you

Nancy O. wrote:
You would also need to have your customers names in a database or data file.
Or do what I do if I have a limited amount of clients that I want to allow access to the site (code below). Just change the usernames "Pink", "Blue" etc and passwords "Elephant", "Sky", etc to what you need. If the combination is correct a url link will drop down if not they will get a message that they don't have permission to access the page. You will need a host that is running php. Copy code, paste into a new Dreamweaver document and save it in your site root foder as passtest.php
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>Untitled Document</title>
<?php
if (array_key_exists('ewTest' , $_POST)) {
$username = trim($_POST['username']);
$password = trim($_POST['password']);
if (($username == "Pink") && ($password == "Elephant"))
$response = "Youre welcome! <a href='http://www.bbc.co.uk'>Enter Here</a>";
elseif (($username == "Blue") && ($password == "Sky"))
$response = "Youre welcome! <a href='http://www.itv.co.uk'>Enter Here</a>";
elseif (($username == "Fat") && ($password == "Pig"))
$response = "Youre welcome! <a href='http://www.adobe.com'>Enter Here</a>";
else {
$response = "Sorry, you do note have permission to access this webpage!";
?>
<style type="text/css">
#wrapper {
width: 250px;
padding: 20px;
margin: 20px auto;
background-color:#CCC;
font-family: verdana, arial, helvetica, sans-serif;
font-size: 11px;
#wrapper p {
margin: 0 0 0 0;
padding: 0;
text-align: center;
input {
width: 250px;
input#submit {
width: 100px;
margin: 15px 0 0 0;
</style>
</head>
<body>
<div id="wrapper">
<p style="margin-bottom: 10px;">Please enter your Username & Password below. (Case sensitive)</p>
<form id="form1" name="form1" method="post" action="passtest.php">
<label>Username</label><br />
<input type="text" name="username" id="username" value=""/><br />
<label>Password</label><br />
<input type="text" name="password" id="password" value=""/><br />
<input type="submit" name="ewTest" id="submit" value="Submit" />
</form>
<p style="margin-top: 10px;">
<?php if(isset($response)) echo $response;?>
</p>
</div>
</body>
</html>

Similar Messages

  • How do you make a page scroll horizontally with mouse wheel?

    As the title says, how do you make a page scroll horizontally with mouse wheel in edge animate?

    This should get you there
    http://css-tricks.com/snippets/jquery/horz-scroll-with-mouse-wheel/
    1. Load the mousewheel min script via CDN (jquery-mousewheel - cdnjs.com - the missing cdn for javascript and css)  into the Scripts Panel;
    2. Add the provided snippet into your Stage > compositionReady event handler.
    hth
    Darrell

  • HT4111 how do you make the hippih keyboard pair with an ipad

    how do you make the hippih keyboard pair with an ipad

    I know this question is old but I just found out the real answer. After you turn on the little switch on the left side of the HIPPIH AppsKey Keyboard and the blue light blinks, I want you to look just above it.   Do you see that hole right above the word PAIRING?  Go grab a paper clip and press down in to the hole for about 2 seconds.   This sends a signal to the ipad and in the BLUETOOTH menu you should see "Keyboard" under DEVICES. Click on it and dialogue box will pop up asking you to put in a passcode for the keyboard.
    It took me way too long to figure this out.
    Stupid recessed button.

  • How do you make a photo b&w with a subject in color?

    I can not figure out how to turn a picture into black and white and still have the main subject in the picture in color, can anyone help me?

    If you have PSE 7 or newer, you'll probably want to use the Smart Brush. There is a good YouTube video on the subject here:
    http://www.youtube.com/watch?v=YSwRWYDhKFI&feature=related
    It if you have an older version of Elements, you can use a Hue/Saturation adjustment layer to do this task. Reduce Saturation to 0% in the Hue/Saturation dialog, then paint using black paint on the mask to bring back desired color area(s).

  • How do you make a jumpt to URL with RRI and multiple values (RSBBS)

    I cannot for the life of me figure this out. I would like for a user to run a query on my sap portal. Put in a few restrictions, that could be multiples, example ZipCode 33333,45852,15454, CustomerAccounts = 'X', BusinessType = 'Y' etc etc...
    When I use the RRI with a URL link it only sends one value per parameter at a time example
    mybsppage.sample.htm?zip=33333%CustAcc=X&BusType=Y.
    My problem is that I need all three Zipcodes, not just one. Has anyone found away to send values to BSP pages or anyother url, using a form post anything... Help...

    You are correct in understanding that
    OWSM Templates cannot be modified after its created.
    You cannot change policy at one place and have it applied to all the services.
    You can however use the template and create policiies and if you want to change any values for a particular service, you can do that.
    Templates are more for combining individual steps into one template so that you can apply that to request or response pipeline and then add ore modify steps.
    Since there is no default way to apply policy to many services, One work around i can think of is to look into content routing.
    Thanks
    Ram

  • How do you make OS X Lion work with excel and word? I have these programs that I use for work?

    I up loaded Lion...now windows word and excle dont work. I use these for work. How do i get them to work with Lion.

    jbeustis wrote:
    I up loaded Lion...now windows word and excle dont work. I use these for work. How do i get them to work with Lion.
    Upadte to the current version of Office, 2011

  • How do you make .mac email account work with Mavericks?

    My dot Mac email account does not work with Mavericks, now what do I do?
    Ever since I "upgraded" my OS to Mavericks, applications that used to work don't work anymore.  It is frustrating.  Now I find yet one more thing that doesn't work with Mavericks:  my dot mac email account.
    Should I be changing my .mac email account to dot iCloud, and how do I do that?
    My trusty MacBook is starting to look more and more like Windows with all its "improvements"  I'm not very happy.  What can I do now?
    Barbie

    jbeustis wrote:
    I up loaded Lion...now windows word and excle dont work. I use these for work. How do i get them to work with Lion.
    Upadte to the current version of Office, 2011

  • Using the retouch tool, how do you make it change color? The old iPhoto one did, this one seems to be flesh-tone only, which is not how I need it to be. In old iPhoto, used the local color to blend, it was great.

    Using the retouch tool, how do you make it change color? The old iPhoto one did, this one seems to be flesh-tone only, which is not how I need it to be. In old iPhoto, used the local color to blend, it was great.

    I don't know which old version you're referring to but iPhoto 6's,  7's and 8's retouch tool works exactly the same as iPhoto 9's. The color of the enhance tool's area while applying is a light brown color but the retouch works on any color using the surrounding colors as a basis.
    During retouching:
    After retouching:
    OT

  • How do you make a Spry menu view on all pages but only have to change it one place?

    How do you make a Spry menu view on all pages but only have to change it one place? Someone told me maybe I could create a Library item. Any help will be appreciated.

    If your pages all have the same basic design, using a DW Template would be a way to do it...
    http://help.adobe.com/en_US/dreamweaver/cs/using/WScbb6b82af5544594822510a94ae8d65-7abea.h tml

  • How do you make all outgoing mail on iPhone come from one default address?

    I have multiple Apple devices which include laptop, iPad, iPhone 4, iPhone 4s.  I use several email accounts for my business.  How do you make the default outgoing email address one the iPhones one email address like you can on the laptop?  I want the outgoing email address to be the same on all devices.

    Thank you.  I think I got it for the 4 but not for the 4S.  In mail, contacts, calendars, do you choose default account?  Also, there does not appear to be a choice like this for the icloud.  How do you change the default on it?  The best I can see is icloud to account to advanced to mail to icloud account information.  On that screen there is a box that says allow sending from and the only choices you have are the icloud account and me account.  I do not see how to add another account if that is the right section.  I don't want the icloud or the me to be a return address.
    Thanks in advance.

  • How do you make ruler display ticks every 12 inches instead of every 16 inches?

    Hi all,
    How do you make ruler display ticks every 12 inches instead of every 16 inches?

    I just wish that common features like layers, color, swatches, styles, masks, adjustments, character, paragraph and so on - looked and functioned the same across adobe applications. Is that too much to ask for?
    In some cases, that would be absurd. Photoshop and Illustrator are fundamentally differerent environments, as they should be. Photoshop Layers and Illustrator/InDesign Layers are entirely different things, because a vector drawing program works with arranging OBJECTS (raster images, vector paths, text objects) in a Z stacking order and XY position. A Photoshop Layer is essentially just another raster image of the same pixel count as all the others, viewed optionally opaquely or transparently on your screen. It would be ridiculous if Photoshop created a whole new raster image every time you colored another selection of pixels. It would be ridiculous if Illustrator created a new Layer everytime you draw a new path.
    Regarding text, Photoshop and Illustrator share the same lame text engine. Illustrator's should be like InDesign's, not like Photoshop's.
    And that is a good case-in-point negating the silly defensiveness of Illustrator's outdated and buggy functionality. Illustrator's text handling remains poor today. But it was not updated even to today's treatment until CS 1. For most of its history, its text handling was pathetically primitive compared to that of other programs which were designed for exactly the same purpose and which competed directly with it. Should one "defend" that fact with some nonsensical argument that 'Illustrator is not meant to be a word processor'?
    It was not until AI10 that its print dialog acquired a simple Fit To Page command. You had to manually figure and enter a scale factor, and that was limited on the low end to 25%. Can that logically be "defended" on the basis that 'AI is not an imagesetter'? Every dang software on the planet provides a Fit To Page print option!
    This "It's not a technical illustration program" argument is every bit as nonsensical. Every one of Illustrator's direct competitors provides for user-defined drawing scales, and has for decades. Illustrator is just as "technical" a drawing program as those others are. It's just particularly lame at it in this regard. And since when is "technical" illustration not "illustration"? And since when is user-defined drawing scale only needed for "technical" illustration? Absolutely ridiculous.
    So what if in its infancy Illustrator was a tool for PostScript workflow? Illustrator's leading competitor for most of its history, FreeHand, was initially based on the path drawing engine of a font design software. But when it went to market as a general illustration tool, it blew the functional and interface doors off Illustrator, and continued to do so throughout its history.
    The simple fact is this: Throughout its history, Illustrator never kept up with the basic drawing features, interface refinements, and performance of its direct competitors. Its market share is primarily due to its carrying an Adobe label--and to the absurd defensiveness of too many of its users who have next to no experience with anything else.
    Ilustrator, Indesign and Photoshop share about 90% of the same functionality.
    Where do you get that?
    Photoshop's primary purpose is fine-tuning of raster imagery, especially photography. You don't do sophisticated color correction, channel operations, sharpening, etc., in Illustrator or InDesign. That's what I would call its "90% functionality."
    InDesign's primary purose is automation of repetitive assembly tasks and text handling in high page-count documents. You don't do master pages, indexes, tables of contents, constant spooling the hard disk, hundreds of externally linked raster and vector files, chapters-long threaded text stories in Illustrator or Photoshop. That's what I would call its "90% functionality."
    Illustrator's primary purpose is general-purpose vector drawing (which most certainly includes many kinds of 'technical' illustration) using cubic Bezier curves, and page-assembly for low page-count, illustration-intensive documents. That's what I would call its "90% functionality."
    Now ask yourself: Should programs fundamentally structured for different primary purposes necessarily share the same interface? I say no, not necessarily. Example: The mere use of the same term (Layers) in Photoshop and Illustrator for what are fundamentally two different things has led to a gross misunderstanding on the part of Photoshop users who are Illustrator beginners, which is repeated here in this very forum almost every day.
    Ask yourself this: Should unyielding adherance to the organizational dictates of Adobe's so-called "unified" interface be allowed to result in a palette flyout menu in InDesign that contains only one option? Is the very concept of a 'menu' not fundametally antithetical to a single choice? Is that not just poor interface design, regardless of whether it "matches" that of the other programs in the so-called "suite"? (Frankly, I find Adobe's over-use of flyout menus--which effectively HIDE important options--generally both ill-conceived and poorly executed.)
    No, there simply is no excuse for Illusrator's still lacking user-defined drawing scales, just as there was no excuse for its lacking multiple pages for two full decades, just as there is no excuse for its still lacking reliable snaps, connector lines, live shape primitives (!), proper arc-drawing, proper corner rounding, inline graphics, auto-fitting textframes, the ability to join multiple paths at once, (note that NONE of those can be called specifically "technical" drawing features) and a plethora of other functions that are bare-bones basic to vector drawing. The programs is just archaic and outdated in all these regards, and that's all there is to it.
    JET

  • How do I make one (and only one) device use my Apple ID and iCloud account?

    How do I make one (and only one) device use my Apple ID and iCloud account? I currently have an iPad mini, iPhone 5, and MacBook pro attached to my apple accounts, but I want only my iPhone 5 to be assosiated with either one. Whenever I use any of the three devices, I get a notification on the other two telling me that these devices are now using these accounts from these services, etc. and I want these notifications to stop, along with the devices using to them. How do I do this? I completely reset the iPad mini so I don't know how I'm still getting notifications from it, and I deleted and signed of of all of my accounts everywhere I could find on my Mac. So, to restate exactly what I want to do, I want ONLY my iPhone 5 to use ANY of my Apple/iCloud accounts and ONLY it can receive emails, iMessages, and FaceTime calls. Thanks!

    If you want to disconect your Mac from iCloud, go to System Preferences>iCloud and click Sign Out.  If you only want to stop using iCloud email, just uncheck Mail.  To stop iMessage, open the Messages app, go to Messages>Preferences, click the Accounts tab, click your iCoud ID on the left-hand side, then to the right click Sign Out.  To stop FaceTime, open the FaceTime app, then click "Apple ID" then click Sign Out.
    On your iPad, go to Settings>iCloud and tap Delete Account (or if you only want to stop using iCloud email, turn Mail off).  For FaceTime, go to Settings>FaceTime, tap the ID and sign out.  For iMessage, go to Settings>Messages>Send & Receive, tap the ID and sign out.

  • How can you use iMessage between 3 iPads with 3 different users but only one Apple ID?

    how can you use iMessage between 3 iPads with 3 different users but only one Apple ID?

    No you do not need separate Apple ID's in order to use 3 devices with one Apple ID. I use 4 devices to Message and FaceTime and all use the same Apple ID. You do need to add additional email addresses for the other devices.
    Look at this very informative video for the instructions.
    http://macmost.com/setting-up-multiple-ios-devices-for-messages-and-facetime.htm l

  • How can you make one button preform different actions in Xcode?

    How can you make one button "preform a click" and "orderfront"? Is that possible? Because what I am doing is making a welcome window to my application for Mac OS X 10.6, and I have two buttons in that window, one says "Connect" which connects a a WebView to a url and the other button opens up the main window. So how can I a make a button do multiple things at once??

    Ah - If you are just using bindings between various objects from Interface Builder, you can reduce your application code a bit (sometimes quite a bit), but there is only so far you can go. Typically variables and routines are defined in your application that Interface Builder hooks into, so that your application code (usually Objective-C, but can be others) can use these variables and routines to determine what is happening in the user interface.
    I'm not sure how up-to-date the project code is (or what programming code you are familiar with), but you can take a look at Apple's Cocoa Application Tutorial to see what is (usually) involved in creating an application.

  • How do you make a MacBook Pro talk to an Epson printer?

    MacBook Pro
    OS X 10.6.8
    (Thinking about getting  another MacBook)
    I had an Epson Artisan printer, got an Epson Workforce WF-3640 new in Jan, hardly used because I cannot make it do what I want it to do. Wireless connection is good.
    With the MacBook Pro, the interface with the Epson printers is not what it used to be on the G4: no ColorSync, no 2-sided, no thick paper, none of those kinds of instructions appear on the generic printer control panel. Which by the way, bears NO resemblance to the Epson manual screenshots, and the instructions in the Epson manual are useless.
    How do you make a MacBook Pro talk to an Epson printer? And by the way, I cannot use the scanner either. I have to set up a document to print, then when the printing progress box appears, click on the scanner icon.
    Also
    Printer has 2 compartments. Top compartment #1 for all types paper.
    Bottom compartment #2 for plain paper only.
    I load glossy photo paper in #1, it prints plain paper from #2 even though I entered instructions on the control panel on the printer.

    If you haven't done so already, try resetting the printing system.
    Reset Printing System

Maybe you are looking for

  • Can multiple devices share the same library?

    I was under the impression they could not. I had originally had iTunes installed with my 5th generation iPod. Several months back my wife got an iPhone 4. We were under the impression we had to set up a library exclusive to her device, so we did. I h

  • No data for Parent-child hierarchy column in Pivot table view

    Hi all, I used OBIEE 11.1.1.6.2 Version. I drag one Parent-child hierarchy column and one measure and show result with a pivot table view. But when I click "+" icon to show detail level data, It messaged that: "*the layout of this view combined with

  • Apple care registration

    Hi! I have bought a Macbook in New York on september 22. I have Apple Care for it. The instruction says, that I have to register it via internet to activate. Go to apple.com, etc...Select the link Register your apple care agreement. Entering my Apple

  • Problem with Installation of Lion OS X. Error message contains mzm.ajzbytae.pkg

    Hi There, Trying to install Lion OS X on my MacBook 4,1 - Core 2 Duo, 4GB Memory. I keep getting an error message after 75% downloaded advising that the "mzm.ajzbytae.pkg" failed. Have tried numerous options. Has anyone else experienced this?

  • Line connection between PCI-6527 card and instrument

    Sorry for my foolish. My poor electronic knowledge prevent me from fully understanding what you explained in your last reply and need more help. In fact, we plan to control two instrument switchs, one is for the Magnetic_Suspension_Control(MSC) , ano