note 104929 rejected from reserved.variables.files by danbrown
| From: | danbrown@php.net | Date: | Mon, 18 Jul 2011 17:06:12 +0000 |
| Subject: | note 104929 rejected from reserved.variables.files by danbrown | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-181665@lists.php.net to get a copy of this message | ||
Note Submitter: javad dot y1 at gmail dot com
----
I have an image in the main.php file :
<img src="..\images\image.gif" class="cur" onclick="imgWin();">
when I click on this image below function has called :
function imgWin()
{
imageWin=window.open("../pages/img.php","imageWin");
}
this function opens img.php in a new window
img.php file :
<FORM NAME="imgForm" method="get" action="#">
<INPUT type="file" name="imgUrl" size="50">
<INPUT type="text" name="description" size="50">
<input type="submit" value="sumbit">
</form>
I want to when I click on submit button in above form , data from imgUrl and description textboxes
send to main.php file.
How to I can do it ?