I did a search on this, but I got a bunch of topics that didnt apply to me, so if this is out there, im sorry.
I got this error when running the following script.
Code:
My error
I posted this in the php section, but im now thinking this has somethign to do with the hosting itself.
Last edited by m-productions on Thu Jun 14, 2007 2:16 am; edited 1 time in total
I got this error when running the following script.
Code:
| Code: |
| <?php
//create the directory if doesn't exists (should have write permissons) if(!is_dir("./files")) mkdir("./files", 0777); //move the uploaded file move_uploaded_file($_FILES['Filedata']['tmp_name'], "./files/".$_FILES['Filedata']['name']); chmod("./files/".$_FILES['Filedata']['name'], 0777); ?> |
My error
| Code: |
| Warning: chmod() [function.chmod]: Operation not permitted in /home/mproduct/domains/m-productions.us/public_html/beta/upload.php on line 6 |
I posted this in the php section, but im now thinking this has somethign to do with the hosting itself.
Last edited by m-productions on Thu Jun 14, 2007 2:16 am; edited 1 time in total
