class.upload.php is a powerful and mature PHP class to manage uploaded files, and manipulate images in many ways. The script is available under a GPL license.
Appears this error when I try to upload through XMLHttpRequest: File not uploaded on the server Error: Can't create the temporary file. Can't carry on a process.
On PHP log: [12-Apr-2013 12:07:28 UTC] PHP Warning: file_put_contents(): open_basedir restriction in effect. File(C:\WINDOWS\TEMP\bcdd765572f242cb7595c5a0da88d0dd) is not within the allowed path(s): (D:\Ivo_trabalhos\1_PHP) in D:\Ivo_trabalhos\1_PHP\uteis\upload\class.upload.php on line 2737 [12-Apr-2013 12:07:28 UTC] PHP Warning: file_put_contents(C:\WINDOWS\TEMP\bcdd765572f242cb7595c5a0da88d0dd): failed to open stream: Operation not permitted in D:\Ivo_trabalhos\1_PHP\uteis\upload\class.upload.php on line 2737
File not uploaded on the server
Error: Can't create the temporary file. Can't carry on a process.
On PHP log:
[12-Apr-2013 12:07:28 UTC] PHP Warning: file_put_contents(): open_basedir restriction in effect. File(C:\WINDOWS\TEMP\bcdd765572f242cb7595c5a0da88d0dd) is not within the allowed path(s): (D:\Ivo_trabalhos\1_PHP) in D:\Ivo_trabalhos\1_PHP\uteis\upload\class.upload.php on line 2737
[12-Apr-2013 12:07:28 UTC] PHP Warning: file_put_contents(C:\WINDOWS\TEMP\bcdd765572f242cb7595c5a0da88d0dd): failed to open stream: Operation not permitted in D:\Ivo_trabalhos\1_PHP\uteis\upload\class.upload.php on line 2737
does anyone know what can be?
PHP Version 5.3.17
WinXP
IIS 5.1