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 kjohnson on 03/04/05 21:47

"Brian A. Anderson" <listread@arielpremium.com> 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

 

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

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