Mar 11, 2005 #1 chitownclone Programmer Joined Mar 30, 2004 Messages 22 Location US What do I have to do, to run a perl program from a folder inside the cgi-Bin. (cgi-bin/program_a_folder/program_a.pl) Thanks
What do I have to do, to run a perl program from a folder inside the cgi-Bin. (cgi-bin/program_a_folder/program_a.pl) Thanks
Mar 11, 2005 #2 Stiddy IS-IT--Management Joined Dec 5, 2001 Messages 781 Location US add a path to perl.exe within your script. You first line should be #!\perl\bin\perl Unless someone else has another suggestion. Upvote 0 Downvote
add a path to perl.exe within your script. You first line should be #!\perl\bin\perl Unless someone else has another suggestion.
Mar 11, 2005 #3 PaulTEG Technical User Joined Sep 26, 2002 Messages 4,469 Location IE On linux/unix #!/path/to/perl examples #!/usr/bin/perl #!/usr/sbin/perl #!/bin/perl #!/opt/bin/perl You can find your path to perl by typing on the command line Code: which perl in your html Code: <form method="post" action="/cgi-bin/program_a_folder/proga.pl" name="myform"> <input type="text" name="fielda"> <input type="submit" value="SubmitMe"> </form> HTH --Paul cigless ... Upvote 0 Downvote
On linux/unix #!/path/to/perl examples #!/usr/bin/perl #!/usr/sbin/perl #!/bin/perl #!/opt/bin/perl You can find your path to perl by typing on the command line Code: which perl in your html Code: <form method="post" action="/cgi-bin/program_a_folder/proga.pl" name="myform"> <input type="text" name="fielda"> <input type="submit" value="SubmitMe"> </form> HTH --Paul cigless ...