help with unlink and checkbox

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • David

    help with unlink and checkbox

    Hi all..

    I need a web page who can delete some files into a web server directory with
    a form and checkbox..

    can somebody forward me in a right web page ( I look into php.net without
    success..) where can study these php features?

    cheers.


  • ZeldorBlat

    #2
    Re: help with unlink and checkbox



    unlink() takes a string as an argument, and deletes the file at that
    path. For example, to delete /usr/local/foo/bar.txt, just call:

    unlink("/usr/local/foo/bar.txt");

    Of course this assumes that permissions are set correctly. You'll
    probably need write permissions on the file or directory for the user
    account that your webserver runs under.

    Comment

    Working...