Re: Get Parameters in Includes?
| From: | mike | Date: | Thu, 10 Jan 2008 02:44:09 +0000 |
| Subject: | Re: Get Parameters in Includes? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-266993@lists.php.net to get a copy of this message | ||
that is a horrible method.
it works in zeus and apache, but not lighttpd, from my experience.
it's just not a good idea. technically that should only be file paths,
and i would expect it to load a file named "x.cgi?want=ssilinks"
although fopen wrappers can confuse that further...
in my opinion i would say "redesign it properly."
On 1/9/08, Liam <dawmail333@gmail.com> wrote:
> How do I use a get parameter in a include?
>
> e.g.
> <?php include('x.cgi?want=ssilinks') ?>
>
> I can't modify the cgi file though, and HTML includes don't work on my
> server.
>
> Thanks in advance.
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>