Creating a login page in php for login to certain pages in the website

I need to create a login page where I would assign user a password and when they input the password it would take them to pages only accesabile by that password. Can someone lead me to some good articles on how to do this? Everyting I have found so far doesn't seem to make sense or the coding doesn't work right when I input it into my html and php pages.
Thank you.

The simplest method is to add .htaccess and .htpasswd text files to the protected folder of your site.
http://www.javascriptkit.com/howto/htaccess3.shtml
http://www.panix.com/web/faq/htaccess.html
Nancy O.
Alt-Web Design & Publishing
Web | Graphics | Print | Media  Specialists 
http://alt-web.com/
http://twitter.com/altweb

Similar Messages

  • How to Create a "FAQ" page where the top of page has all the Hyperlinks

    Hi,
    On iWeb, how do I Create a "FAQ" page where the top of page has all the Questions as Hyperlinks.
    The hyperlinks would not actually link to a separate page, but would automatically scroll the page to the spot where the question is answered.
    An good example is below:
    http://www.cardrunners.com/members/index.php?option=com_content&task=view&id=102 &Itemid=2
    Thanks for your help!

    Sarah,
    As is pointed out what you would like to do is old fashioned Anchors, real easy on a conventional site but not so easy in iWeb.
    I made an FAQ by just making questions followed by answers and increasing font size and using bold to make the questions stand out so it is easy to use.
    Much more work for you but will approximate what you are trying to achieve is this: On the FAQ page make your list of questions each of which you will make into a hyperlink to go to another page. For every question add a blank page to write the answer on. Uncheck the relevant box so that that page does not appear in the navigation bar. Write your answer on that page then under it make a hyperlink back to the FAQ page. The page would also by default have the normal navigation menu at the top, but adding a "Close Window" or "Back To FAQ" link that is actually just a hyperlink to the FAQ page is helpful for site visitors.
    While a lot of work to make the extra pages it should work well and solve your problem.
    The simplicity of iWeb soon provides problems as soon as you want to do more than the basics offered.

  • HT201263 When my ipod touch is in recovery mode, when i try to restore it, the itunes page says the website has timed out so it won't recover. Can anyone please help me?

    When my ipod touch is in recovery mode (when I try to re-store it) the itunes page sayes the website has been timed out and so it won't re-store. There is a limited time, whilst restoring the ipod, it lasts for approx 5 mins, then asks to start again all over again. Can anyone please help me?

    This device is not eligible for the requested build (Also sometimes displayed as an "error 3194")
    Update to the latest version of iTunes. Mac OS X 10.5.8 (Leopard) users may need to download iTunes 10.6.3.
    Third-party security software or router security settings can also cause this issue. To resolve this, followTroubleshooting security software issues.
    Downgrading to a previous version of iOS is not supported. If you have installed software to performunauthorized modifications to your iOS device, that software may have redirected connections to the update server (gs.apple.com) within the Hosts file. Uninstall the unauthorized modification software from the computer.
    Edit out the "gs.apple.com" redirect from your hosts file, and then restart the computer for the host file changes to take affect. For steps to edit the Hosts file and allow iTunes to communicate with the update server, see iTunes: Troubleshooting iTunes Store on your computer, iPhone, iPad, or iPod—follow steps under the heading Blocked by configuration (Mac OS X / Windows) > Rebuild network information > The hosts file may also be blocking the iTunes Store. If you do not uninstall the unauthorized modification software prior to editing the hosts file, that software may automatically modify the hosts file again on restart.
    Avoid using an older or modified .ipsw file. Try moving the current .ipsw file (see Advanced Steps > Rename, move, or delete the iOS software file (.ipsw) below for file locations), or try restoring in a new user to ensure that iTunes downloads a new .ipsw.

  • Why can't I set up POP/IMAP emails for my Muse website in Business Catalyst? I don't have the option 'use this service for email as well as hosting the website' under Advanced options

    Why can't I set up POP/IMAP emails for my Muse website in Business Catalyst? I don't have the option 'use this service for email as well as hosting the website' under Advanced options.
    Is this due to my Hosting Plan? Appreciate any answers.

    Your site is a CCM site which is on a WebBasics plan (This plan does not provide hosted emails on Business Catalyst).
    If you want to create email addresses on this site, you would need to setup your email server elsewhere and configure the MX records on your site to point to that external mail server.
    If you want to use Business Catalyst's hosted email services you would need to use a WebBasics+ or higher siteplan. To upgrade your CCM free site, Access your site's admin area  -> Site Management -> Upgrade Now -> choose the desired site plan and billing frequency -> Add personal and credit card details -> Submit.
    Please refer this article about setting up email accounts on your BC site: http://docs.businesscatalyst.com/user-manual#!/site-settings/email-users
    For setting up records to point to external mail server, check out http://docs.businesscatalyst.com/user-manual#!/site-settings/email-users/creating-inboxes- for-your-users
    Regards,
    Surjeet

  • Colors of the pages in the website listing in iweb 09

    When I open iweb 09 and look at the list of the pages in the website folder, some of the pages are red in color while the rest are blue. What does it mean when the pages are listed in red?
    Thanks,
    Mary

    It means that you have made changes to these pages. When you publish your website, by selecting File/Publish Site Changes, these page names will turn blue.

  • Avoid Creating a Blank Page in the PDF Output for conditional request

    Hello BI Masters
    I have a Conditional request on my Last page of the data it checks the number of rows in the first page then it prints the excess rows in the last page and everything is working fine but when i use the conditional request its generating a blank page at the end of the report and i doant want to display balnk page
    My Conditinal format is like this
    <?if:number(SEC3_COUNT)>2?><?if:number(SEC4_COUNT)>2?>
    <?if:number(SEC5_COUNT)>2?><?if:number(SEC6_COUNT)>8?>
    <?initial-page-number:”1”?>
    Form FDA 1572 – Statement of Investigator Continued
    Protocol: <?SEC7_NAME?> <?SEC7_TITLE?>      
    Investigator(s): <?for-each:GET_SECTION_1_DETAILS_ROW?><?SEC1_FULL_NAME?><?end for-each?>
    <?end if?><?end if?>
    <?end if?><?end if?>
    I dont want the Balnk Page to be Displayed , Please help me out
    ~Srix

    Hi Everyone ,
    I have faced the same problem,The first if condition may not effect ,If any if condition immidiately following the for loop then it will crates the problem.
    -----------------May be your problem because of this---------------------------------
    | <?FOR LOOP ?> <?IF CONDITION?><?END FOR EACH?>|
    SOLUTION :<?FOR LOOP?><?IF @SECTION:CONDITION?>?>
    <?END FOR EACH?>|

  • Can I create a Desktop page on the wiki ?

    Hi there,
    I was using Arch since 1 or 2 weeks now, and I am still in the 'tune the system to get a working desktop' phase.
    On the way, I took extensive notes about everything I installed and set-up.
    So I was thinking about creating a wiki page (that could be named something like : "Desktop Arch : Zero2Heaven") that list every step to get a working desktop configuration.
    The idea is to provide a guide to set up a workstation easily for a non-guru arch new user like me.
    Before doing anything, I just wanted to be sure creating this kind of page isn't against some wiki protocol (I don't think so but better safe than sorry ).
    See you around
    Tereva

    karol wrote:
    axel668 wrote:Which desktop ? There is no such thing as THE desktop in Arch or even in Linux in general, so the only useful content of a desktop page might be a couple of links to other Wiki pages, maybe about Xorg and the most popular DEs (Gnome, KDE, XFCE, LXDE, Openbox, Enlightenment, ...)
    That's why OP's personal preferences should go to his user page and not as a regular article.
    I've seen wiki user pages that listed some configs that their authors found useful, nothing wrong with that.
    I think there is something missing in the documentation / wiki : How to mount 'quickly' a usable desktop configuration.
    The idea was to hook false beginner / 'young' intermediate Linux user, that want to give Arch a try, but don't have the knowledge/experience to sort all the info available in the wiki to install a desktop config.
    IMO this could help expand the user base.
    Tereva
    PS :  I was going for LXDE + java + audio/video codex + usb auto-mounting + some fonts...
    Of course I don't pretend this is THE ultimate desktop experience (everyone has his own preferences).
    But at least by following the guide I was thinking about, someone can have a -fast- usable desktop in 10 / 15 min.

  • How to create multiple cover pages following the text

    Hello everyone,
    I have a such difficult problem on pages : I would like to create multiple cover pages, and I want these pages to follow the text. I will to explain this a little better.
    I have to write a really long report. I need to divide it in some "sections" (I'm not sure that's the same meaning that in the software) and each section would start by a kind of cover page with a fullpage photo and a title in textbox. Let's see it with a capture :
    My problem is that I would like this page to follow the text. Because on the previous page, I have a table of contents which is evolving and taking more and pages each time. And the problem is that my "cover page" isnot moving to stay after the table of contents, it's the table which is continuing after it. So I have a first part before the cover page and a second part after the cover page. I would like all the text to stay before.
    Thank you in advance for any replies
    Evan Peuvergne, Hetic

    Use anchored images at the beginning of each section.
    You will need to initially make it smaller so you can position the image and the TextBox (make this second so it is higher in the stack) set a page break, then enlarge the image and Textbox to suit.
    If they are anchored (Move with Text) they will maintain ther position in the document.
    Turn off Text wrap on both your image and the Title. Insert a Page Break after the Title Textbox anchor on the page to move the following text to the next page of the section.
    Peter

  • Creating a HTML page from the J2ME application

    Hi,
    I am developingan application in J2ME. Can anyone of you out there, help me whether there is any way I can generate a HTML page from the application.
    I have the data but I don't know ho to create a HTML page from a J2ME application.
    Any document or any code will prove handy.
    Thanking in anticipation.
    Ashish

    When you say that "you have the data" you mean that you have HTML code data(<html><body>Hello World</body></html>)? If yes you should create an algorithm that "read" html tag and display text in the appropriate layout/font/size/color...
    A solution could be simplify your HTML code (server side), so you can easly "decode" and display text.
    Giovanni
    Italy

  • A page on a website will not open. Most everything else will excpet this one page on the website.

    The page sits and tells me it is loading and never does. The webpage has other places that work fine.

    HAVE had similar experiences:
    1. doubt it is a firefox issue. 2. The server could be having problems finding the page (whose name is valid, thus no 404), but un-retrievable due to OS or hardware problems (infinite search loop). 3. Waiting for a display tool like Adobe Acrobat Reader to be loaded for PDF files; start Acrobat and check your downloads and click on the list item wanted; usually it is automatic unless you turned off the linkage relationship. 4. Same applies to DOC/docx, png/jpg and mp3/mp4 files. WAYS to figure out the problem: 1. drop the last section from the URL, go there and look for a newer link to the file you want. 2. check whois.net to make sure the website is a safe place to visit (some mal-sites fake a stalling search in order to download malware in the backgound). 3. google the same information you want and seek it at another URL. good luck.

  • I Had 4 more Months Left for My One to One but the Website is all of the Sudden...

    Hello-
    I purchased the One to One after the first year was over because I received an email asking if I wanted to purchasee another year. all was good, I was using it mostly for my MBP and I would go to the website for the Apple Store near me, sign in and reserve a time for a One to One appointment.  I recently saw that the local apple Store had changed their website around, and I did not attend a One to One for about 4 months. I purchased an iPhone 5 and went to the Apple Store to purchae Applecare for the new iphone.  I was curious so I asked the sales guy to check how much I had left for the One to One.  he said about 4 months. when I came home I tried to sign in on the website I used before and it keeps saying 'this apple ID does not have any One to One sessions left.  I looked at my receipt and I should have about 4 months left.  I have no idea who to contact. I called the store and the person who answered the phone told me they cannot take care of this at the store level.  he did not know who to send me to.  Does anybody have any idea who I can call to get help with trying to get the 4 months back?  when I did get the iPhone 5 recently, I did have trouble getting to sign into iCloud, but I went to the website and signed in twice there and that did something that allowed me to sign in to icloud on my iPhone.  I do not know if that had anything to do with it, but it is the same Apple ID and password.
    thanks for any help you can give me.

    May be your carrier but try a reset:
    Hold the Sleep/Wake and Home buttons until the screen goes dark and the Apple logo appears

  • What's going on with the products page in the website????

    Im trying to find accesories for my iphone and the website is not working... When i can see the products in the website??? neither in the US, ESPAñA website, why? what happen? when is fixed?

    Welcome to the Support Communities. If you're sure that the problem isn't in your browser, you can send feedback to Apple here:
    http://www.apple.com/es/contact/feedback.html
    http://www.apple.com/contact/feedback.html
    There's also this:
    http://www.downforeveryoneorjustme.com

  • How do I create a new page with the existing layout of the one I've already created?

    Okay, I'm extremely new to DreamWeaver, just an FYI. I've been commisioned to develop a site for a company. There will be like 10 pages total on the site. I've created the home page, and I'm now attempting to make the second one. But I don't know how I can take the basic layout I created in the home page so I can add information for the other pages later. I tried saving as template, but I had to create editable regions and those got in the way. I even tried copying all the code from the original, but then the Spry menus won't work properly. I hope I conveyed my problem correctly. Any assistance will be more than helpful.
    Thanks.

    There are basicly two methods, firstly the template method you have already tried, and secondly the "includes" method. Some people use one or the other, some people mix the two. I use only the includes method.
    The includes method can be done in several ways. The PHP language has it's own method of doing includes. That's what I ususally use. You can also use the SHTML method. With the SHTML method, the material you wish to include is put in a normal HTML file, then in the file where the include will be put, it is done like this:
    <!--#include virtual="../includes/banner.html" -->
    . . .and the pages/files must have the shtml suffix, not html. That informs the server that yo are using server script in the file.
    I don't use Spry menus (or spry anything) so I can't suggest a reason you encountered a problem with it.

  • Problem with switch the pages inside the Website

    Whenever I change the page, it loads for a short time to the next page, how can I prevent this?
    the problem is the display is than for a short time (0.2s) white.
    Thank you for your help
    http://versuchtuag.businesscatalyst.com/

    Hi Srikanth,
    In the second page you can insert a command to set it to goto page 3,and an additional event in the command (only after the end of main window).
    As soon as the main window ends in the second page...u will get the third and rest of the pages.
    Keep the goto next page in PAge 1 as Page2
    and in Page 2 as Page 2.

  • Website will load but can't get to other pages in the website?

    Am using a bank site for paying credit card bill, etc. Initial site will open after entering username, password, etc. but cannot continue on to other pages. Receive this message "This page is temporarily unavailable. Please try again later. " and have tried later but with same result. Have went to add ons and disabled, re-enabled and tried to update but this hasn't helped. Recently updated to Firefox Version 22 (Mac) and this problem showed up after doing that. Can still do what I need to on Safari (haven't tried Chrome) but would like to get back to using Firefox so don't have to go to different browser to complete certain tasks. Thanks for any help.

    Hello,
    '''Try Firefox Safe Mode''' to see if the problem goes away. Safe Mode is a troubleshooting mode, which disables most add-ons.
    ''(If you're not using it, switch to the Default theme.)''
    * You can open Firefox 4.0+ in Safe Mode by holding the '''Shift''' key when you open the Firefox desktop or Start menu shortcut.
    * Or open the Help menu and click on the '''Restart with Add-ons Disabled...''' menu item while Firefox is running.
    ''Once you get the pop-up, just select "'Start in Safe Mode"''
    '''''If the issue is not present in Firefox Safe Mode''''', your problem is probably caused by an extension, and you need to figure out which one. Please follow the [[Troubleshooting extensions and themes]] article for that.
    ''To exit the Firefox Safe Mode, just close Firefox and wait a few seconds before opening Firefox for normal use again.''
    ''When you figure out what's causing your issues, please let us know. It might help other users who have the same problem.''
    Thank you.

Maybe you are looking for