Deleting a page
Posted: Tue Aug 16, 2005 8:18 am
How does one go about creating a "delete this page" link which will delete the page a viewer has just been looking at? The viewed page would be a simple php message page, dynamically created and intended to be deleteable by the user.
I'm guessing that you would link to a "delete.php" page which knows the http referrer and uses it in a variable which is then handled by the unlink function, I just don't know how to write it, being a fresher to this and all!"
Help always appreciated... thanks in advance!
I'm guessing that you would link to a "delete.php" page which knows the http referrer and uses it in a variable which is then handled by the unlink function, I just don't know how to write it, being a fresher to this and all!"
Help always appreciated... thanks in advance!