CGI/Perl Guide | Learning Center | Forums | Advertise | Login
Site Search: in

  Main Index MAIN
INDEX
Search Posts SEARCH
POSTS
Who's Online WHO'S
ONLINE
Log in LOG
IN

Home: Perl Programming Help: Beginner:
Call a perl script from html

 



labrune
Deleted

Feb 20, 2001, 2:21 AM

Post #1 of 4 (274 views)
Call a perl script from html Can't Post

Would like to know how to call a working script uploaded in CGI BIN directory from HTML pages.Our server is Windows 2000 supporting SSI. We have tried the 'Include Virtual' line of code but its still not working. Can anybody help us???????????



pu_nk
journeyman

Feb 20, 2001, 3:28 AM

Post #2 of 4 (272 views)
Re: Call a perl script from html [In reply to] Can't Post

WHat does your SSI tag look like ?
Just to make sure...





muinatit
Deleted

Feb 20, 2001, 1:40 PM

Post #3 of 4 (261 views)
Re: Call a perl script from html [In reply to] Can't Post


Code
< !--#exec cgi="cgi-bin/whatever.pl"-- >

Jeffrey "muinatit" Lamoureux
muinatit@hotpop.com


Jasmine
Administrator / Moderator

Feb 21, 2001, 1:32 AM

Post #4 of 4 (257 views)
Re: Call a perl script from html [In reply to] Can't Post

That code assumes that the calling page is in a directory "one level up", as in your main www directory.

Try using

< !--#exec cgi="/cgi-bin/whatever.pl"-- >

(remove the space between the < and the !)


 
 


Search for (options) Powered by Gossamer Forum v.1.2.0

Web Applications & Managed Hosting Powered by Gossamer Threads
Visit our Mailing List Archives