Gossamer Forum
Home : General : Perl Programming :

php scripts being run via SSI?

Quote Reply
php scripts being run via SSI?
I've had a look around to see if this is possible, but can't find any definative documents on it. Is it possible to use a SSI call (most likely a virtual one) for a PHP script?

Thanks

Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Quote Reply
Re: [Andy.] php scripts being run via SSI? In reply to
Why not try it?

<!--include virtual="/scripts/foo.php" -->
Quote Reply
Re: [Paul] php scripts being run via SSI? In reply to
There's no reason why that shouldn't work. With includes, you can even pass variables along to your script.

- wil
Quote Reply
Re: [Wil] php scripts being run via SSI? In reply to
Ooops, yes there is - I missed a # Wink

Last edited by:

Paul: Apr 15, 2002, 6:11 AM
Quote Reply
Re: [Andy.] php scripts being run via SSI? In reply to
Try
Code:
<?php virtual("/cgi-bin/myscript.cgi?do=something_useful")>

Ivan
-----
Iyengar Yoga Resources / GT Plugins
Quote Reply
Re: [yogi] php scripts being run via SSI? In reply to
Thanks Yogi...I was refering to Perl SSI (i.e .shtml extensions)...

PHP includes are easy :)

Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!

Last edited by:

Andy.: Apr 15, 2002, 1:21 PM
Quote Reply
Re: [Andy.] php scripts being run via SSI? In reply to
>>Perl SSI <<

>>I have a PHP script, that needs to be run by SSI :( <<

So which is it :)