How can I auto fill a value in an HTML form using PHP?

  • Thread starter Thread starter MacKniven
  • Start date Start date
M

MacKniven

Guest
Hi,

I have the following HTML form being used in a PHP upload script.

<form enctype="multipart/form-data" action="myupload.php" method="POST">
Click "Upload" to proceed: <input name="uploaded" type="file" /><br />
<input type="submit" value="Upload" />

This gives me a "browse" box were I can choose the filepath of the file I want to upload. I always want to upload the file"C:/myfile.jpg".

Is there any way I can automatically have that filepath pre-built into the form instead of having to browse every time?

Thanks! :)
 
Back
Top