Re: pathname for unlink()

From: Date: Sun, 25 Jun 2000 08:05:56 +0000
Subject: Re: pathname for unlink()
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-2957@lists.php.net to get a copy of this message
use full path: ../deletedir/deletename.mmm where ../ is the server root. if needed, use ../../../../../...... and so on. moshe Lawrence Blades wrote: > Searched archives; no help. > > I am trying to delete a file located in ANOTHER DIRECTORY than the page > with my script on it. > Of course I get the error message "Warning: Unlink failed (No such file > or directory) in blah, blah blah - the path to the script's directory > > Do I use fopen()? opendir()? > > If so, what do I put after it to connect the pathname with the unlink function? > A while statement? How? > > Thanks in advance.... > -- > Lawrence Blades > Digital Technologies > P.O. Box 673 > Clarksdale, MS 38614 > Hm: 662-627-9539 > Office: 662-624-6586 > Cell: 662-902-3092 > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net > For additional commands, e-mail: php-general-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net

« previous php.general (#2957) next »