Reply to Re: Very newbie question (including other php files)

Your name:

Reply:


Posted by Dan on 11/10/05 16:23

> It is something simple. The problem is in the way you include your header
> file. You did it by providing URL, not path to the file. This way the
> header file got interpreted (executed) in separate HTTP request (so
> no variable value was there) and the interpretation result (pure
> HTML) got included into the index file. You should use local path (in terms
> of PHP server local path) when including files. In this case (when included
> file is in the same folder as the scirpt including it) you can simply
> give included file name without any path information:


Ah - that works now! :o) Thanks for your help. Greatly appreciated!

Regards,
Dan.

[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

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