On Thursday 27 February 2003 01:32, Paul wrote: > I have a confirmation of "membership" page a user would arrive at after > clicking on a URL in an email. After they click on a link in this page I > want to delete the page itself so it will only exist for this one use. > The URL in the page does go to another "Welcome" page which is on > another server. Do I need to include something in the second page that > will do the deleting, or can I delete it from within the script for the > first page that deletes as of the click on the URL. Haven't written any > code yet for this, but I'm thinking "unlink."
Seems like a cumbersome way of doing things. Presumably you would have stored membership details in a database? When someone signs up, store a unique value token in your membership table. Then people would access your membership-confirmation page using something like: http://www.example.com/membership.php?token=something Then delete token from your db and redirect to welcome page. -- Jason Wong -> Gremlins Associates -> www.gremlins.biz Open Source Software Systems Integrators * Web Design & Hosting * Internet & Intranet Applications Development * ------------------------------------------ Search the list archives before you post http://marc.theaimsgroup.com/?l=php-general ------------------------------------------ /* To err is human, to moo bovine. */ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php