Page 1 of 1
PHP Include?
Posted: Wed Jul 19, 2006 6:50 pm
by nation-x
How do I add a php include (for tracking traffic exchanges via toplist) and get s9y to execute the php?
Posted: Wed Jul 19, 2006 11:41 pm
by judebert
Perhaps what you need is the serendipity_event_externalphp / External PHP Application plugin. You could just write a quick PHP snippet (or use a provided one), save it as a file, and include it your pages with this plugin.
You could also enable Smarty templating, then put a config.inc.php in your template directory with the PHP snippet. You could include the snippet in your template that way.