This topic is locked

upload field

10/5/2010 8:42:34 AM
PHPRunner General questions
D
deddyindra author

hi im trying to upload the application using the php runner and when i runing in my local webserver it's totaly work well but when i try to upload to the server it's didn't work . here the error: Technical information

Error type 2

Error description move_uploaded_file(files/deddy.pdf) [function.move-uploaded-file]: failed to open stream: Permission denied

URL www.kjrihk.com/database/upload_edit.php?

Error file /var/www/html/kjri/database/upload_edit.php

Error line 238

SQL query update mr_ec set file='deddy.pdf', date_upload='2010-10-05 00:00:00' where mr_ec.id=4
please reply me as soon as possible

thanks

A
ann 10/6/2010

Hi,
make sure web server user has write permissions on the folder where you decided to store uploaded files.