SolveITProblems is a project of intellectual club

SolveITProblems это проект интеллектуального клуба

вторник, 14 сентября 2010 г.

PHP File Upload Problem (failed to open stream: Permission denied in)

[function.move-uploaded-file]: failed to open stream: Permission denied in

Yeah... Cool problem. I have some hours to finish my program, and i cant upload files.
At xampp on my Windows everything works fine, but at Linux with HTTPD service a get this error. The problem is in version of PHP.
Before i had:


and since i've found that

"In PHP versions earlier than 4.1.0, $HTTP_POST_FILES should be used
instead of $_FILES."

i use

and everyhing works fine :)

P.S. sory for my english :) ...


here the whole code of saving image:

Комментариев нет:

Отправка комментария