944,164 Members | Top Members by Rank

Ad:
  • PHP Discussion Thread
  • Unsolved
  • Views: 8899
  • PHP RSS
Apr 23rd, 2005
0

Creating a log in/registration page

Expand Post »
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
Similar Threads
Reputation Points: 10
Solved Threads: 0
Newbie Poster
mrkumar is offline Offline
1 posts
since Apr 2005
Apr 24th, 2005
0

Re: Creating a log in/registration page

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
Reputation Points: 92
Solved Threads: 51
Practically a Posting Shark
Phaelax is offline Offline
856 posts
since Mar 2004
Apr 30th, 2005
0

Re: Creating a log in/registration page

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.
Reputation Points: 10
Solved Threads: 0
Newbie Poster
robbyd is offline Offline
12 posts
since Apr 2005

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in PHP Forum Timeline: need help with php and images
Next Thread in PHP Forum Timeline: Netbpm





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC