This may be very easy, but I'm still fairly new to this .php scripting stuff. I'm trying to write a page on my website that when the user types in a username, they are sent to another page in which they select via paypal how long they want their advertisment to run for on my banner network. Once they pay, they are instantly emailed a link with a temporary password that will expire in 24 hours and their username that they entered. This will give them access to my upload page for my banner network.
My question is: What is the easiest way to set something like this up using .php and can the (Mail()) script handle this type of option? Please help.
I tried using sessions, but when the user is passed through paypal, somehow the session is killed.
Thanks,
Kyle