Hi,
You probably would need to add a new field via Database > Category > Properties > Add Field
Name: PHP_Script
Type: CHAR
Size: 255
Form Size: 10
Then, add a new global - called exec_php, with this:
return `php $_[0]`;
}
The, in your category.html add something like this:
<%exec_php($PHP_Script)%>
<%endif%>
..wherever you want the output to go.
For each of the categories, put a value in the PHP_Script field, like:
/ful//path/to/script.php
Hope that helps.
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!
You probably would need to add a new field via Database > Category > Properties > Add Field
Name: PHP_Script
Type: CHAR
Size: 255
Form Size: 10
Then, add a new global - called exec_php, with this:
Code:
sub { return `php $_[0]`;
}
The, in your category.html add something like this:
Code:
<%if PHP_Script%> <%exec_php($PHP_Script)%>
<%endif%>
..wherever you want the output to go.
For each of the categories, put a value in the PHP_Script field, like:
/ful//path/to/script.php
Hope that helps.
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!