Problem with file upload

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

Problem with file upload

Postby t0ny » 12. September 2008 10:21

Greetings,
I have made a fileupload script in php, but i can't make it work on my xampp. I know the script should work cause several friends tried it on their servers and it worked fine(one eve use xampp!). All configs is standard value after the installation, but aint working.

As far as i can see it does'nt even create a temp file in the temp directory when i try to upload my file. And $_FILES['userfile'] does'nt have any data stored, compleatly empty.

My site project has been delayed a couple of week due this problem now, please someone help me!.

//Tony
t0ny
 
Posts: 1
Joined: 12. September 2008 10:10

Postby glitzi85 » 19. September 2008 10:07

Hi,

could you please post the PHP-File here? Also you should try to put this two lines at the beginning of the file and then try again:

Code: Select all
<?php
print_r($_POST);
print_r($_FILES);
[...]


In $_POST you should see where the Temp-File is created!

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

Postby Nobbie » 19. September 2008 12:13

And please, also show us the source of the HTML Form which triggers the upload.
Nobbie
 
Posts: 13170
Joined: 09. March 2008 13:04


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 101 guests