|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Hello...
Is there a way to have a perl script call another perl script to run, without having to incorporate a refresh meta-tag into the HTML? I am creating a log-in page, and I would like for a script to check for access, and then call another script (that prints the HTML). Thanks! Josh http://www.datera.com |
|
#2
|
|||
|
|||
|
The easiest way to do this is to use SSI (server-side-includes). Assuming your ISP supports this, you're going to have to rename your index.html to index.shtml, so that the web server knows that this file is a SSI html file.
Then you can call your perl function using this syntax: <BLOCKQUOTE><font size="1" face="Verdana,Arial,Helvetica">code:</font><HR><pre> <!--#exec cgi="/cgi-bin/yourscript.pl"--> [/code] If this doesn't answer your question, feel free to e-mail me. ------------------ dr. cyclops |
|
#3
|
|||
|
|||
|
<big hmmmmmm>
maybe with: system, exec or open. perldoc -f those. Imo |
![]() |
| Viewing: Dev Shed Forums > Programming Languages > Perl Programming > Get one script to call another to run? |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|