You are here: Re: remote include doesn't work with class « All PHP « IT news, forums, messages
Re: remote include doesn't work with class

Posted by charliefortune on 08/01/07 18:13

On 1 Aug, 18:50, NC <n...@iname.com> wrote:
> On Aug 1, 9:04 am, charliefortune <goo...@charliefortune.com> wrote:
>
>
>
> > I have been including local .php files in a script succesfully for a
> > while. But now I want it to be a remote include
>
> And I want to build a perpetual motion engine. Neither is likely to
> happen. If you include() a remote PHP file and the remote server has
> PHP enabled, you are including the output, not the code.
>
> > do I have to declare it global or anything ?
>
> No, you have to have the file being included on your local machine.
>
> Cheers,
>NC

Well I did it as a .inc, which works, but now my code gets output to
the browser if you visit the url. Is CVS the solution ?

 

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

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