Re: [PHP-DB] unlink problems

[email protected] (Chris)
Newsgroups php.db
Message-ID <[email protected]>
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/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.