How to submit a form that has a file included ?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

I want to have a form with text fields and a "browse field" for
uploading a file.

Let's say i have a form with just two fields:

<form name="form1" method="post" action="action.php">
  <tr>
   <td>
    Employee:<br />
    Name: <input name="name" type="text" id="name" size="50">
   </td>
  </tr>

 Employee File (a .doc):
  Now, i want here a browse button, so users when clicking on it trigers
the os "File Open" box to choose the file to upload.

</form>

My question is: what is the code i need in the form ?
And the <form> tag, is it allright like it is ?

Thank you in advance.

Warm regards,
Mário Gamito

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


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux