NevadaSam
New Member
- Joined
- Apr 28, 2006
- Messages
- 9
- Reaction score
- 0
Jump to a sub Function from a link????
http://mysite.com/cgi-bin/myscript.cgi (Jump to sub function)
Is there a way this can be done (either from a link, a JavaScript or the address window) that you can perform a desired user defined function within a subscript. I am using the
if ($ENV{'REQUEST_METHOD'} eq "POST")
method in the script to have it to perform two functions already depending on if a "submit" button was clicked in a form or if a direct link to the cgi scrip was clicked. Is there a way to have more control of which function the script will perform from outside the script.
Thanks for any replies.
Samantha
http://mysite.com/cgi-bin/myscript.cgi (Jump to sub function)
Is there a way this can be done (either from a link, a JavaScript or the address window) that you can perform a desired user defined function within a subscript. I am using the
if ($ENV{'REQUEST_METHOD'} eq "POST")
method in the script to have it to perform two functions already depending on if a "submit" button was clicked in a form or if a direct link to the cgi scrip was clicked. Is there a way to have more control of which function the script will perform from outside the script.
Thanks for any replies.
Samantha