Re: Problems including a url with query string variables

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

 



Brian A. Anderson wrote:
> I am having a difficulty including a url and passing it to an include
> statement between it. The problem is when I have a plain url it works, but
> if I try to pass it something to the query string it does not. Is there
> some
> way to format the string differently before including it?

What is in $queryString?

Are you urlencoding the VALUES of $queryString?

Won't work:
$URL = "http://example.com/foo=this is a test";

Should work:
$URL = "http://example.com/foo=this+is+a+test";;

-- 
Like Music?
http://l-i-e.com/artists.htm

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