While was working on staging server (Global On) everythign was working ok:
<form ENCTYPE=multipart/form-data action="<?php echo $PHP_SELF; ?>" name=qmform method=post>
Product name: <input name=prod_name value="<?php echo $_POST[prod_name]; ?>" type=text size=30>
Product Ser.#:<input name=img_name value="<?php echo $_POST[img_name]; ?>" type=text size=30>
Upload 1st image: <input name=var1 type=file size=30>
Upload 2nd image: <input name=var2 type=file size=30>
Upload 3rd image: <input name=var3 type=file size=30>
<INPUT type=hidden name=MAX_FILE_SIZE value="<?php echo $my_max_file_size; ?>">
<input type=submit name=SubmitAdd value="Upload!"></td>
</form>


But, pushing to other server (Global Off) - can't read variables $var1, $var2, $var3, actually $POST[var1], $POST[var3], $POST[var3].
Even, listing by:


while(list($key, $value) = each($HTTP_POST_VARS))
echo"$key: $value<br>";

can see just prod_name, MAX_FILE_SIZE i SubmitAdd variables.

Need $var1, $var2 and $var3 to validate uploaded files - have to be only jpg format.

Any idea?

Afan


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



Reply via email to