Help - Search - Members - Calendar
Full Version: php
BrainMeta.com Forum > Science > Computer Science & Coding > PHP, Python, Perl, Ruby
RiK
hey well i wanna make a sign up page for my site and i dunno where to find out how to. i also want to find a sign in thing for it. so could ne 1 either give me a gud link or give me the codin so i can edity it to how i want. thnx biggrin.gif biggrin.gif
Unknown
for sign up page, you'll have to create a form that updates a database table or text file. I would recommend MySQL, though it's probably easier if you've never done this stuff before to write to a text file. For writing to a text file, have the form action perform a php action that writes to the text file (or updates the MySQL database table). For the specifics, I'm sure there's lots of that out there so I won't repost. But just try searching around on Google for 'php form submit' (assuming you plan on doing this in php and not asp).

The sign-in page is a little trickier in that you'll have to use cookies or sessions. I would recommend cookies. That is, when visitor enters login info, validate it and check it against the MySQL database table entries. Once you confirm the login info is correct, then write cookie variables (maybe encrypt them) indicating the person's logged in.
Again, I'd recommend searching around on Google for the exact code snippets.

Good luck.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.


Home     |     About     |    Research     |    Forum     |    Feedback  


Copyright © BrainMeta. All rights reserved.
Terms of Use  |  Last Modified Tue Jan 17 2006 12:39 am