> 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."

This works:

echo "Thanks.. I'm deleting this page";
unlink(basename($_SERVER['PHP_SELF']));

Have fun!

---John Holmes...

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to