View Full Version : Please i need html help!

07-09-2005, 12:57 AM
I just finished my page, and i need a Form which ask the user for its member name and password. Then i need a link where if the person has to register to get logon. Id like his regristration info to goto my email. But do i need a data base which stores all the email and account info???? Please help on the simplist free way to do this........

07-09-2005, 02:07 AM
This would actually work better in a server-side implementation (so long as your service provider supports it)... I'm forwarding this to the PHP forum...


07-09-2005, 02:56 AM
Well, registering users in PHP is pretty simple. You can use a database, though it's not entirely necessary, you could store the user details in a flat-file on the server file system (so long as you have some way to secure this file, either storing it outside the website document root or using a .htaccess file. To be honest, though, a database is definitely the better way to handle this and if you have the means I'd highly recommend you go with that option.

Also, what exactly does registration enable for your users? I'm assuming it either gives them access to pages other users can't see or the ability to download files other users can't access - a database would help you implement these things (again you could use flat files but you'd be creating a mountain of work for yourself).

The first thing you need to do is determine exactly what you need your website to do. Then work out what technology you need to do what you want.

You say the simplest free method? Well, the beauty of PHP is that it's open source nature means much of the technology is free or very reasonably priced in comparison to other technologies. It's probably worth investing a little money in getting some decent hosting with PHP and MySQL that doesn't plaster your site with ugly banners, you can get hosting like this for next to nothing these days.

Once you've worked all this out you can decide where to go next, whether you want to build your own code or look for a ready-made solution. I'm assuming from your post that you are a HTML newcomer without PHP experience? If that's the case you might want to look for a ready-made content management solution, there are plenty of open source options for this, too.