Reply to Re: [PHP] Problems including a url with query string variables

Your name:

Reply:


Posted by Brian A. Anderson on 03/04/05 22:02

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


Yes it includes a "?".
I am thinking it might be a problem with the order of processing. Includes
first , then everything else....
Is there any way to include a file only after a conditional?

-Brian

[Back to original 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

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