Re: Get Parameters in Includes?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxx> 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


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux