Re: unlink problems
| From: | Chris | Date: | Thu, 26 Nov 2009 04:58:54 +0000 |
| Subject: | Re: unlink problems | ||
| References: | 1 2 3 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-46660@lists.php.net to get a copy of this message | ||
Gunawan Wibisono wrote:
kesavan is right !! i see the problem in link.. u type "./blabla.pdf" the main problem is in the "./" remove the "./" unless the file you want to remove are in the root./ means the current directory. take that out - you still reference the current directory. $ touch abc $ ls ./abc ./abc $ ls abc abc they are the same file. Using a full path is the best because you always know what it will be referencing. -- Postgresql & php tutorials http://www.designmagick.com/