Ok, I created a browse button and upload area in a quote form on my site. Where do I get the custom cgi script so my site can process the incoming files?
Ok, I created a browse button and upload area in a quote form on my site. Where do I get the custom cgi script so my site can process the incoming files?
Uhhhh, what?(sorry, I kid)
Which cgi script do you mean? Assuming it's just a perl script, just open it up in a text editor(NOT NOTEPAD OR WORD) and look for the part that mentions <input type=submit name=submit> and change it to say <input type="image" src="images/submit.jpg" value="Submit" alt="Submit">
The src= section needs to point to the location of the files, obviously.
Jef S.
WHB Support
1.800.252.1887 x 501
AIM and MSN in profile
The easiest thing would be to use the text editor or code editor in the file manager in cPanel.
Jef S.
WHB Support
1.800.252.1887 x 501
AIM and MSN in profile
I'll search the net for some more info on this.
www.sewhotthreads.com
I created the quote form in notepad. Here is what I just added to the form to get the Browse button and text box. According to what I read, I need to add the perl script after the sewhotthreads.com/ where the cgibin portion is. The rest of the form makes it to my email fine.
<form method="post" enctype="multipart/form-data" action="http://www.sewhotthreads.com/cgibin/">
<h2>What file would you like to send?</h2>
<p><input type="file" name="title" size="30"/>