Re: Problems including a url with query string variables

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

 



"Brian A. Anderson" <listread@xxxxxxxxxxxxxxxx> wrote on 03/04/2005 
12:37:29 PM:

> The below example works:
> ----------------------------------
> 
> ob_start();
> include("http:/-.-.-.-/datachange.asp");
> $message = ob_get_clean();
> 
> 
> The below example does not work:
> ----------------------------------
>  $URL = "http:/-.-.-.-/datachange.asp$queryString";
> ob_start();
> include("$URL");
> $message = ob_get_clean();


Does $queryString contain the leading '?', or do you need to add it, as 
below:

$URL = "http:/-.-.-.-/datachange.asp?$queryString";

Kirk

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