Click to See Complete Forum and Search --> : Email Confirmation


rbudj
08-07-2003, 06:03 PM
I am a bit new to php but I am beginning to understand it. He He :)

Here is the deal..

I have a web page where I will provide links to download certain files. The user can only get to this page by entering a valid username and password. Im not sure how I am going to do this yet, maybe with a simple javascript or if I can with PHP. That is project number one... to require a username and password to access a page on my site.

Project number two will be to have php email me the username of the person who downloads a file along with the day and time.

After playing with php a while and my basic understanding of variables, constants, and other programming stuff I imagine this as being fairley simple but if I was sure, I would not be posting here right? :)

Can anyone point me in the right direction to get started or do you have some ideas on the actual coding.

I thank you in advance for your time.

brendandonhue
08-07-2003, 10:57 PM
Here is a simple login protection script
http://forums.webdeveloper.com/showthread.php?s=&threadid=9950

And you might want to look up the PHP functions date() and mail().

rbudj
08-08-2003, 07:09 AM
Thanks for your reply. I think this will help greatly and I will look up the mail() function.

Thanks again!

brendandonhue
08-08-2003, 07:15 AM
Welcome :)
Will this script need to accept registrations as well? The one I posted doesn't, its just a simple login. Oh and heres the documentation for mail()
http://www.php.net/mail

rbudj
08-17-2003, 06:27 AM
thanks again, i will be checking this out.

rbudj
08-17-2003, 06:29 AM
no, just the simple logon is all I need.... I got the mail to work... THANKS AGAIN !!! :-)

brendandonhue
08-17-2003, 08:24 PM
You're Welcome :)