Global all variables?
| From: | Pablo Fischer | Date: | Sun, 27 Apr 2003 14:56:37 +0000 |
| Subject: | Global all variables? | ||
| References: | 1 2 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-9394@lists.php.net to get a copy of this message | ||
Hi all!
Finally I finish my project, but I have a little problem: In my CMS Im
using a poll system (sympoll), So im including it with the template
{include_php="poll/booth.php"}
The problem here is: Sympoll dont couldnt find the variables (database
user, host, password, etc) inside the call of include_php. So.. exists a
way to include a phpfile with Smarty but at the same time, globalizing
all the variables that the .php file has?.
Thanks!
Pablo Fischer.
--
Pablo Fischer <exilion@yifan.net>