Skip to main content
Participant
July 24, 2010
Question

how to add login to homepage

  • July 24, 2010
  • 3 replies
  • 656 views

okay, so i use adobe dreamweaver cs3, and im creating a website for art sharing (photos, music, games, and video sharing) where members are able to register and submit there own art to the site (forums). my basic layout so far, is a template that controls all the main pages, such as "about us", "privacy policy" etc., and then the home page that isn't connected to any templates. now my question is, how would i create a login and put it on the home page? i've read a few tutorials and all of them are on creating a separate login page which isn't what i want. yes, i want a login successful page separate but i want the login on the homepage.

my next question is, how do i test the php codes on my website without having to upload the site to a paid webhosting website? do i just open it up in internet explorer? i have apache, mysql, and php working on my computer btw

This topic has been closed for replies.

3 replies

Webmosphere_co_uk
Participant
July 30, 2010

If you have php, mysql and apache then you should be able to test locally- just make sure you defined your local root folder properly.

I would suggest you use xampp-see: http://www.apachefriends.org/en/xampp.html  it might make your life a lot easier.

>>>

for the log in issue, you'd be better off investing time in reading a couple of chapters in David Powers' Essential Guide to Dreamweaver CS4- Chapter 14 and 15...i recommend reading 16 and 17 as well.

PS the CS4 instructions will largely help with CS3.

Lon_Winters
Inspiring
July 26, 2010

Have you set up your database and registration system and just want to know how to add the login function, or do you need to do all of it?

Participating Frequently
July 24, 2010

>how would i create a login and put it on the home page?

I don't understand. Adding a login to the homepage is just the same as addding a login to any page. Are you using server behaviors for this? If so, just use the Log In server behavior. If I'm not understanding your question correctly, please clarify.

>my next question is, how do i test the php codes on

>my website without having to upload the site to a paid

>webhosting website?

Define your testing server as you local server.