Hi, I hope you can help me!
I created a form with your beautiful tool, I choose the database option.
But when I send the form I got these errors:
"Warning: move_uploaded_file(./files/file_4_12380206052009.jpg) [function.move-uploaded-file]: failed to open stream: Permission denied in /public_html/mysite/processor.php on line 10
Warning: move_uploaded_file() [function.move-uploaded-file]: Unable to move '/tmp/phpvdV9iF' to './files/file_4_12380206052009.jpg' in /public_html/mysite/processor.php on line 10
File photo1.jpg was not uploaded."
Can you please explain me?
the line 10 of processor.php is:
if(!move_uploaded_file($_FILES['field_4']['tmp_name'], "./files/".$field_4_filename)){
(I also tried to make a config.inc.php file (it wasn't in the folder but I see in the processor.php this "include("config.inc.php");" so I created with my db data).
Please, can you help me to solve this problem?
thank you so much!
ciao :-)
Augusta
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi, I hope you can help me!
I created a form with your beautiful tool, I choose the database option.
But when I send the form I got these errors:
"Warning: move_uploaded_file(./files/file_4_12380206052009.jpg) [function.move-uploaded-file]: failed to open stream: Permission denied in /public_html/mysite/processor.php on line 10
Warning: move_uploaded_file() [function.move-uploaded-file]: Unable to move '/tmp/phpvdV9iF' to './files/file_4_12380206052009.jpg' in /public_html/mysite/processor.php on line 10
File photo1.jpg was not uploaded."
Can you please explain me?
the line 10 of processor.php is:
if(!move_uploaded_file($_FILES['field_4']['tmp_name'], "./files/".$field_4_filename)){
(I also tried to make a config.inc.php file (it wasn't in the folder but I see in the processor.php this "include("config.inc.php");" so I created with my db data).
Please, can you help me to solve this problem?
thank you so much!
ciao :-)
Augusta
The failure to move files is likely a folder permissions error. Make sure the files folder has permissions of 777.