Preserved Topic: Perl script to printSHTML? (Page 1 of 1) |
|
---|---|
Maniac (V) Mad Scientist From: Jacks raging bile duct.... |
posted 06-15-2000 17:03
I'm hacking up a bulletin board script and I want to use a SSI in part of the script. Is that possible? I can't rename the script forum.shtml cuz then the CGI wouldn't run it right? Here's the snippet of code I'd like to add the SSI to: |
Maniac (V) Mad Scientist From: Jacks raging bile duct.... |
posted 06-15-2000 17:21
for the mean time I achieved the date request with javascript.... |
Maniac (V) Mad Scientist From: Jacks raging bile duct.... |
posted 06-15-2000 17:23
I still would like to be able to use SSI in a Perl script though. Has anyone else been able to??? |
Maniac (V) Mad Scientist From: Jacks raging bile duct.... |
posted 06-15-2000 18:11
Is it possible to do to actions with a form submit? |
Maniac (V) Mad Scientist From: Jacks raging bile duct.... |
posted 06-15-2000 19:27
Is this the correct syntax?: |
Maniac (V) Mad Scientist From: Jacks raging bile duct.... |
posted 06-15-2000 22:43
Anyone? Anyone? Bueller? Bueller? |
Maniac (V) Mad Scientist From: 100101010011 <-- right about here |
posted 06-15-2000 23:49
Ok I think I answered (or tried to) the question about the 2 actions in the foam CGI post (http://www.ozones.com/forum/Forum2/HTML/000073.html) |
Maniac (V) Mad Scientist From: 100101010011 <-- right about here |
posted 06-16-2000 00:29
Ok I think I answered (or tried to) the question about the 2 actions in the foam CGI post (http://www.ozones.com/forum/Forum2/HTML/000073.html) |
Maniac (V) Lord Mad Scientist Sovereign of all the lands Ozone and just beyond that little green line over there... From: Stockholm, Sweden |
posted 06-16-2000 01:24
Hmm, will that work, or will it just output the HTML and SSI as a comment? Seems to me it'd miss the part where the server got to process it. PERL has a date function you can access, the same one as the UNIX SSI one I belive. I'm not 100% on this, but it seems to me you should be able to just access it as the variable $DATE_LOCAL - the cgi script is already in the process of being processed, so to speak, the variable should be available. Check it out. |