View Full Version : Hey y'all, I have a problem that I cannot remove......

Silver Sun
01-30-2003, 06:59 PM
...I have a form, which contains two fields, a name and a password field.

When the form is submitted it writes a file called $name $password .txt

The thing is that the file is created ok, I just cannot delete it via ftp from my host.

Anyone know how to fix it?

01-30-2003, 08:55 PM
Permissions. chmod() the file to 666, and then try again. When you create the file with PHP, the file is owned by the PHP process. You could use the unlink() function to delete it via script if you wanted to.