Creating a log in/registration page

Reply

Join Date: Apr 2005
Posts: 1
Reputation: mrkumar is an unknown quantity at this point 
Solved Threads: 0
mrkumar mrkumar is offline Offline
Newbie Poster

Creating a log in/registration page

 
0
  #1
Apr 23rd, 2005
I need to create a log in page for new customers, where in they provide their address in the US based on the zipcode. Essentially, if a user fills in a zip code, it should automatically populate the city and state.

For some situations, I also want to create a customised table of addresses like if a user gives its company's name then I want to provide 'valid' additional list of values for the company's floor and cube numbers.

Any guidance on writing this code or ready made available code for this would be welcome.

Thanks
Reply With Quote Quick reply to this message  
Join Date: Mar 2004
Posts: 765
Reputation: Phaelax is on a distinguished road 
Solved Threads: 38
Phaelax Phaelax is offline Offline
Master Poster

Re: Creating a log in/registration page

 
0
  #2
Apr 24th, 2005
you'll need a record of all zip codes with their associated city and state. There's a lot. If customers don't have a password or anything to log in with and this just keeps track of them temporarily like a shopping cart or something, then look into sessions. Good tutorials on phpfreaks.com
Reply With Quote Quick reply to this message  
Join Date: Apr 2005
Posts: 12
Reputation: robbyd is an unknown quantity at this point 
Solved Threads: 0
robbyd robbyd is offline Offline
Newbie Poster

Re: Creating a log in/registration page

 
0
  #3
Apr 30th, 2005
It sounds like from what you want to do, the best way to go about this is storing info in a database (like MySQL) and you'll need to have all the data entered, and possibly use JOINs to match zipcodes with cities and businesses and such.
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:



Similar Threads
Other Threads in the PHP Forum
Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC