Re: unlink problems

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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/


--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [PHP Users]     [Postgresql Discussion]     [Kernel Newbies]     [Postgresql]     [Yosemite News]

  Powered by Linux