Form Upload Question

liunx

Guest
I have a feedback form on a client web site. The client build custom drag racing cars. i would like to add on the form a field for prospective clients to upload pictures of their car. how do I do this?<!--content-->In the form you use this type of an input tag:<br />
<br />
<form method="POST" enctype="multipart/form-data" action="yourscript.pl"><br />
<br />
But that will not check to make sure the file is a valid image file or limit the size of the file nor will it know what type of OS the file is coming from (Windows, MAC, other).<br />
<br />
This website <!-- m --><a class="postlink" href="http://webhome.cyberscript.net/free/">http://webhome.cyberscript.net/free/</a><!-- m --><br />
has a free script you should be able to modify for your own use.<br />
<br />
Regards,<br />
Kevin<!--content-->Thanks Kevin,<br />
<br />
I'll check it out in the morning. Now I need to get some ZZZZZ's.<!--content-->Oh yeah, how do you get the Browse button/function?<!--content-->Here you go Kman,<br />
<br />
<input type="file"><!--content-->Thanks Dr.Web,<br />
<br />
I left out that one small detail :)<br />
<br />
Kevin<!--content-->
 
Back
Top