You are here: file delete issues « PHP Language « IT news, forums, messages
file delete issues

Posted by Jon on 12/21/05 17:16

All,

I'm trying to use the unlink function to delete a file from the server, and
am running into issues. Basically, I want to know how I can delete files
from a directory the file is NOT in. For example - I have a form in
"/application/", and I want to delete a file in "../filesToDelete/" when the
form is activated.

I tried using a function sitting on an include file in the
"../filesToDelete/" directory and calling the function from "/application/",
but it says the file cannot be found. I'm able to delete the file if I run
the unlink function from the "../filesToDelete/" directory.

Any help?

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация