Hi,
It depends what you are trying to run. If its a simple HTML output of PHP, you can just run a PHP script with a global:
exec_php
return `php $_[0]`
}
..or sometimes: (on some servers)
return system("php $_[0]");
}
Then just call with:
Cheers
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!
It depends what you are trying to run. If its a simple HTML output of PHP, you can just run a PHP script with a global:
exec_php
Code:
sub { return `php $_[0]`
}
..or sometimes: (on some servers)
Code:
sub { return system("php $_[0]");
}
Then just call with:
Code:
<%exec_php('/path/to/script.php')%>Cheers
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!