I hope somebody could help me with a problem I have with the $_FILES 

  I'm trying to make a PHP script which could have access to an uploaded 
remote file. The piece of HTML is:


<form action="ll.php" method="post" enctype="multipart/form-data">
  <input name="userfile" size=48 type="file">
  <input type="submit" name="attach" value="Add"><br>


and the ll.php script is:

  printf("file=(%s)<br>", $_FILES['userfile']['name']);

but the variable $_FILES is not set at all, because the printf doesn't 
print the name of the uploaded file nor the second line, the print_r() 
print anything for that array variable. 
So the question is: what could be happening that the variable $_FILES is 
not set?

The phpinfo() function returns PHP 4.2.3, and I compiled it with the 
following configure line:

'./configure' '--with-mysql' 
'--with-apxs=/server/www/apache-1.3.26/bin/apxs' '--with-imap' 
'--with-imap-ssl' '--enable-track-vars' '--enable-dbase' 

over an apache 1.3.26.

Any help will be very appreciated.

Thanks in advance.

     "Don't listen to what I say; listen to what I mean!" --Feynman
Salvador Ramirez Flandes        PROFC, Universidad de Concepcion, CHILE 
http://www.profc.udec.cl/~sram                mailto:sram@;profc.udec.cl

PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to