You are here: Re: Parsing a php include (which also contains php code) - or "Reparsing" the php file « PHP Language « IT news, forums, messages
Re: Parsing a php include (which also contains php code) - or "Reparsing" the php file

Posted by Michael Fesser on 06/21/07 13:31

..oO(Jerry Stuckle)

>Interesting, because I've seen this before, and others have commented on
>it, also. Maybe it was a bug in an older version of PHP - it's been a
>while ago. But I had one local cohort who was using php includes (not
>SSI), and his files were not being parsed when they had .inc extensions.

Either a bug or something heavily wrong on the server. As mentioned in
another post -- PHP includes have _nothing_ to do with the web server,
they are entirely handled by the interpreter. Since you explicitly write
their name in the include statement, you can call them whatever you
like:

require_once 'foo.bar';
require_once '42';
require_once '.o0o.';

All valid.

Micha

 

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

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