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 <[EMAIL PROTECTED]> 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
>
>

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to