Click to See Complete Forum and Search --> : Members area code...
GHOST
09-06-2003, 01:25 PM
I need a code that lets the visitors in my site register and become a member of my site. Their info is sent to a database only I have accsess to, it could be password protected, so I can send out my newsletter or delete a member. Later on they can login by typing in their e-mail address and their chosen user name. But, no visitors can access my source code because I will disable right click, just to let you know. Can you help...?:(
I think Pyro can help you more with this but I thought I would just let you know that you do not have to worrie about disabling right-click because the user can never see your source when you use php. Php only displays the output of your php script. That is why it is secure unlike JavaScript. :)
GHOST
09-06-2003, 02:06 PM
How can I contact Pyro?:confused:
Khalid Ali
09-06-2003, 02:18 PM
I don't think sucha thing will be available ready made,since it requires creating a database as well.
Pyro must hav seen this already by now..:D
GHOST
09-06-2003, 02:23 PM
Is there anything close to my desired script that you know of?:confused:
GavinPearce
09-06-2003, 02:42 PM
http://www.hotscripts.com has a few similar to what you need, it's a great source for ready made scripts.
I believe it has one for what your after, I've seen it there before.
Was gone all day, so I didn't see the thread until now... ;)
First of all, disableing the rightclick doesn't do much to protect your source -- mostly just annoys the visitors. There are many ways to get the source, other than right-clicking.
About the PHP script...
I don't have anything pre-written to do this, but if you need help along the way, or have more specific questions, I'd be happy to help. Take a look around the site the gavinnet linked to, and also http://php.resourceindex.com to see if there is something pre-built to do what you need. If you can't find anything, you'll have to read up on querying a database (http://us2.php.net/manual/en/ref.mysql.php) (I'd suggest [ulr=http://www.mysql.com]mySQL[/url]), crypt (http://us2.php.net/manual/en/function.crypt.php) or something similar to encrypt the passwords, and sessions (http://us2.php.net/session) or cookies (http://us2.php.net/setcookie) to know when the user is logged in...