{PHP} replacement tag parameters

Get help with installation and running phpwcms here. Please do not post bug reports or feature requests here.
Post Reply
ramone
Posts: 23
Joined: Sun 25. Dec 2005, 20:43

{PHP} replacement tag parameters

Post 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
kiwix
Posts: 65
Joined: Fri 25. Feb 2005, 09:40

Post 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
Post Reply