-
advanced php?
What I am trying to do - not sure if it's possible - is be able to go to a page, type in a # and it will find the file and delete it off a server.
For instance, if I type in 45 it will go find the file
d:\mcs\dev\TT45.DDF
and delete it.
D is a mapped network drive on the webserver that maps to the file server.
-
http://uk.php.net/manual/en/function.unlink.php
As long as the user that the web server runs as has permissions to delete files it's easy.
-
SitePoint Enthusiast
If you're going to write this yourself, make sure it has WATERTIGHT security, you don't want people being able to mess with uplink().
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
Bookmarks