include_php file with paramters?
| From: | Kai-Uwe Beyer | Date: | Wed, 06 Nov 2002 15:34:38 +0000 |
| Subject: | include_php file with paramters? | ||
| Groups: | php.smarty.general | ||
| Request: | Send a blank email to php-smarty-general+get-6333@lists.php.net to get a copy of this message | ||
Hi,
i want to rebuild my page with smarty templates.
I have a big problem with including external scripts, which need
parameters.
They get their parameters from the own script.
The function
{include_php file=$news}
where
$news = news.php?style_id=1&action=view$newsid=3;
The smarty enginge gives a error:
'file:/home/web/smarty/docs/news.php?style_id=1&action=view$newsid=3'
is not readable
How i can include external scripts with passing parameters thru this
scripts?
Thx ksi