|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Get inside! Sample the range of functionality easily built with JMSL Library for Time Series Data Analysis, Heat Maps, Portfolio Optimization, Monte Carlo Simulation, Stock Price Charting and more. Download Now! |
|
#1
|
|||
|
|||
|
I am using server side includes on a site and also have forms that post information to a perl script which then returns HTML content.
I believe that in order to maintain the use of SSIs for the page's layout, I would have to use <!--#include virtual="scriptname.cgi" --> Now if I want to send values to the script, is there a better way than to use the get method and send the query string to the perl script? Thanks, Ryan |
|
#2
|
|||
|
|||
|
>>is there a better way than to use the get method and send the query string to the perl script?
When using SSI to call up your script, it's always GET method. You either have to predefined all the subroutines for the tasks that the script should do or you may pass query string (thru SSI) to your script. Examples: 1) <!--#include virtual="scriptname.cgi?file=foobar&ext=html"--> This won't work 2) <!--#include virtual="scriptname.cgi?file=foobar& amp; ext=html"--> (without spaces) Note, the & character needs to convert to "& amp;" (without spaces) in order to work [This message has been edited by freebsd (edited July 09, 2000).] |
|
#3
|
|||
|
|||
|
Wow, I'd been wondering that for a while.
|
![]() |
| Viewing: Dev Shed Forums > Programming Languages > Perl Programming > What is the best way to combine a Perl script that does input/output with SSIs? |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|