Re: [SMARTY] include_php file with paramters?
| From: | Kai-Uwe Beyer | Date: | Thu, 07 Nov 2002 07:31:45 +0000 |
| Subject: | Re: [SMARTY] include_php file with paramters? | ||
| References: | 1 2 3 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-6347@lists.php.net to get a copy of this message | ||
"André Rabold" schrieb:
>
> That's right. For this reason I have implemented a forward functions which
> makes it possible
> to include php scripts with additional parameters:
>
>
> forward('http://www.example.com/mypage.php?myparam1=1&myparam2=2');
quite good idea :)
>
> It includes the page "mypage.php" and then modifies the $_POST, $_GET and
> $_REQUEST
> variables so the script will recognize the parameters.
Why your script does modify the $_POST and $_GET parameters? I don't
understand the meaning of this.
ksi