Page 1 of 1

{PHP} replacement tag parameters

Posted: Fri 10. Feb 2006, 00:24
by ramone
hello is it possible to pass parameters to a php script using the {PHP} replacement tag, like this {PHP:script.php?var=value}

thank you

Posted: Fri 10. Feb 2006, 22:45
by kiwix
Hello,

no i don't think, 'cause ?var=value will only worl on web pages.

but if you want to to put some parameters you can do the following stuff:

Code: Select all

[PHP]
global $var;
$var=value;
include_once( script.php );
[/PHP]
Cheers
KiWiX