Perl Programming
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsProgramming LanguagesPerl Programming

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
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  
Old July 8th, 2000, 07:38 PM
RyanP
Guest
Dev Shed Newbie (0 - 499 posts)
 
Posts: n/a  
Time spent in forums:
Reputation Power:
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

Reply With Quote
  #2  
Old July 9th, 2000, 01:00 PM
freebsd
Guest
Dev Shed Newbie (0 - 499 posts)
 
Posts: n/a  
Time spent in forums:
Reputation Power:
>>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).]

Reply With Quote
  #3  
Old July 9th, 2000, 01:50 PM
ledjon
Guest
Dev Shed Newbie (0 - 499 posts)
 
Posts: n/a  
Time spent in forums:
Reputation Power:
Wow, I'd been wondering that for a while.

Reply With Quote
Reply

Viewing: Dev Shed ForumsProgramming LanguagesPerl Programming > What is the best way to combine a Perl script that does input/output with SSIs?


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 1 hosted by Hostway