File isn't uploaded to temp directory

Problems with the Windows version of XAMPP, questions, comments, and anything related.

File isn't uploaded to temp directory

Postby MissDemeanor » 16. August 2008 05:34

I'm trying to create an upload file script, but it never makes it to the upload directory. I verified that within apache/bin/php.ini, these lines exist:

After playing with it, it appears that the destination directory isn't writeable, and I'm not sure how to change that. The directory is not set to read only, but as it's windows, I don't know how to chmod on it.
MissDemeanor
 
Posts: 4
Joined: 29. July 2008 13:50

Re: File isn't uploaded to temp directory

Postby glitzi85 » 17. August 2008 23:37

MissDemeanor wrote:I verified that within apache/bin/php.ini, these lines exist:

What lines?

MissDemeanor wrote:After playing with it, it appears that the destination directory isn't writeable, and I'm not sure how to change that. The directory is not set to read only, but as it's windows, I don't know how to chmod on it.

Under Windows there is no chmod. You do not have to set any rights as all, unless you changed something.

Additional you should have a look on the open_basedir setting in your php.ini as the upload folder must be located inside this folder.

glitzi
User avatar
glitzi85
 
Posts: 1920
Joined: 05. March 2004 23:26
Location: Dahoim


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 148 guests