Gary Williams
10-21-2005, 11:55 AM
Hi All,
I have a vbs script that (thanks to NancyJ) actually works. The script, when run on the server, creates 3 asp files, stores them in a subdirectory and sends an email to my customer. The variable (cusref) is hardcoded in the vbs script at present. So far, so good.
Now, I want to place a simple form (like below) on my web site into which I can enter the 4 digit cusref and when I hit submit, the vbs script is executed using the cusref just entered.
How do I pass (parse?) the variable cusref to the vbs script and cause the vbs script to execute?
Regards
Gary
-----------------------------------
<form name="cusfiles" method="get" action="../CreateCUSfiles.vbs">
Customer Reference <input type="text" value="">
<input type="submit" value="Create Files">
</form>
I have a vbs script that (thanks to NancyJ) actually works. The script, when run on the server, creates 3 asp files, stores them in a subdirectory and sends an email to my customer. The variable (cusref) is hardcoded in the vbs script at present. So far, so good.
Now, I want to place a simple form (like below) on my web site into which I can enter the 4 digit cusref and when I hit submit, the vbs script is executed using the cusref just entered.
How do I pass (parse?) the variable cusref to the vbs script and cause the vbs script to execute?
Regards
Gary
-----------------------------------
<form name="cusfiles" method="get" action="../CreateCUSfiles.vbs">
Customer Reference <input type="text" value="">
<input type="submit" value="Create Files">
</form>