Afficher un message
Vieux 21/06/2007, 14h31   #6
Michael Fesser
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Parsing a php include (which also contains php code) - or "Reparsing" the php file

..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
  Réponse avec citation
 
Page generated in 0,04150 seconds with 9 queries