[thelist] How do I delete uploaded files in PHP?

Anthony Baratta anthony at baratta.com
Mon Nov 12 15:32:28 CST 2007


Two quick questions:

What are the permissions being set or defaulted to when the file is moved to it's final destination by the code example below?

e.g. what is the value of:  $this->file_perm

And if you "print file_exists($full_destination_path_and_name_to_remove);" What do you get?


-----Original message-----
From: "Nan Harbison" nan at nanharbison.com
Date: Mon, 12 Nov 2007 13:20:09 -0800
To: "'Anthony Baratta'" anthony at baratta.com, thelist at lists.evolt.org
Subject: RE: [thelist] How do I delete uploaded files in PHP?

> Anthony,
> 
> I tried this ftp method as a stupid wild stab at something that might work,
> I found it on a website explaining how to delete files. Resumes are uploaded
> using PHP file upload functions, mainly using this function, written by
> Marcos Thiago <fabismt at yahoo.com.br>:




More information about the thelist mailing list