[PHP] undefined index: $_FILES || $HTTP_POST_FILES

2004-11-08 Thread Tobias Neumann
Hello! I have the same script on two webservers with php 4.3.9 and apache 2, both with the same php configurations. On one server I can not access $_FILES or $HTTP_POST_FILES, although a form with a file has been correctly submitted. apache_request_headers() contains: [Content-Type] =

Re: [PHP] undefined index: $_FILES || $HTTP_POST_FILES

2004-11-08 Thread Marek Kilimajer
Tobias Neumann wrote: Hello! I have the same script on two webservers with php 4.3.9 and apache 2, both with the same php configurations. On one server I can not access $_FILES or $HTTP_POST_FILES, although a form with a file has been correctly submitted. apache_request_headers() contains:

Re: [PHP] undefined index: $_FILES || $HTTP_POST_FILES

2004-11-08 Thread raditha dissanayake
Tobias Neumann wrote: Hello! I have the same script on two webservers with php 4.3.9 and apache 2, both with the same php configurations. On one server I can not access $_FILES or $HTTP_POST_FILES, although a form with a file has been correctly submitted. Quick question: is file uploads enabled

Re: [PHP] undefined index: $_FILES || $HTTP_POST_FILES

2004-11-08 Thread Jason Wong
On Monday 08 November 2004 09:07, Tobias Neumann wrote: I have the same script on two webservers with php 4.3.9 and apache 2, both with the same php configurations. On one server I can not access $_FILES or $HTTP_POST_FILES, although a form with a file has been correctly submitted. Are the

Re: [PHP] undefined index: $_FILES || $HTTP_POST_FILES

2004-11-08 Thread Tobias Neumann
On Mon, 08 Nov 2004 15:52:53 +0600, Raditha Dissanayake wrote: Quick question: is file uploads enabled on this server and is the temporary directory writable? Hmm. upload_tmp_dir was unset. The php.ini says that in this case the systems default tempoary directory is used. So I guessed it