Re[2]: [SMARTY] include_php file with paramters?
| From: | guido | Date: | Thu, 07 Nov 2002 00:06:39 +0000 |
| Subject: | Re[2]: [SMARTY] include_php file with paramters? | ||
| References: | 1 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-6341@lists.php.net to get a copy of this message | ||
the problem is that this doesn't work in php either.
You can't use an include like:
include('http://url.of.thepage&your=query&string');
it has to be an actual page.
Wednesday, November 6, 2002, 5:26:34 PM, you wrote:
JJ> Then maybe you can just use: (untested!)
JJ> {include_php
JJ> file=http://url.of.thepage&your=query&string=}
JJ> I'm pretty sure {include_php} is just a wrapper for the standard php
JJ> function include(), and if your php environment allows it (it does by
JJ> default), you should be able to grab a remote url in the same manner.
JJ> Somebody correct me if I'm wrong, please! :)
JJ> -- Josh
JJ> -----Original Message-----
JJ> From: news [mailto:news@main.gmane.org] On Behalf Of ksi
JJ> Sent: Wednesday, November 06, 2002 5:20 PM
JJ> To: smarty-general@lists.php.net
JJ> Subject: Re: [SMARTY] include_php file with paramters?
JJ> Josh Johnson wrote:
>> So your not including a php file to execute, your trying to include a
>> remote file that will return something?
>>
JJ> The include file show the output of a newsticker. This include file
JJ> includes another .inc files etc.
JJ> The Newsticker you can see under www.ksile.de (without smarty :) )
JJ> cu ksi
JJ> --
JJ> Smarty General Mailing List (http://smarty.php.net/)
JJ> To unsubscribe, visit: http://www.php.net/unsub.php
--
Best regards,
guido mailto:sguido@rogers.com