I've googled the question and found no answer that has fixed my
problem. I also searched this list to try and find the answer to no
avail.

My problem is that after my form submits data to another script the
$_FILES global returns nothing but "array()" when I try to "print_r()"
it. I coppied the scripts directly from one server to another. Here is
a sample of my form:
[snippet]

<form action="dbt.php" method="post" name="form1" id="form1"
enctype="multipart/form-data">

<input type="file" name="file">

<input type="submit" name="Submit" value="Upload">
<input name="upload" type="hidden" id="upload" value="true">

</form>

[/snippet]
All I could find was some posts saying that some php.ini settings
needed to be set correctly, and I believe they are on the server I'm
trying to run my script on.

file_uploads=On
max_execution_time=90
max_input_time=-1
memory_limit=8M
post_max_size=10M
register_globals=On
upload_max_filesize=10M
upload_tmp_dir=/tmp

NOTE: I got all those values off my phpinfo().

I have had this problem before but do not know how it got fixed, any
help would be much appreciated,

-- 
<<--------------------------------------------------------
Jasper Howard - Database Administration
ApexEleven.com
530 559 0107
------------------------------------------------------->>

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

Reply via email to