note 88388 deleted from features.file-upload by danbrown
| From: | danbrown@php.net | Date: | Sun, 23 Jan 2011 17:00:25 +0000 |
| Subject: | note 88388 deleted from features.file-upload by danbrown | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-176139@lists.php.net to get a copy of this message | ||
Note Submitter: C2theG
----
FYI: You can't upload a file in one form, inside of another form. This messed me up pretty
bad, for 5 hours.
Ie:
<?php
$html = '<form id="frm_save" name="frm_save"
action="'.$_SERVER['PHP_SELF'].'" method="post">
<form id="frm_SubmitImage" name="frm_SubmitImage"
action="'.$_SERVER['PHP_SELF'].'" method="post"
enctype="multipart/form-data">
<input name="txt_file" type="file" id="txt_file"
size="50" />
<input type="submit" name="SubmitFile" value="Upload File"
accesskey="ENTER" tabindex="4" />
</form>
</form>';
?>