You are here: Re: [PHP] Problems including a url with query string variables « PHP « IT news, forums, messages
Re: [PHP] Problems including a url with query string variables

Posted by Richard Lynch on 03/04/05 22:29

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

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация