For Programmers: Free Programming Magazines  


Home > Archive > PHP Language > June 2007 > Re: Parsing a php include (which also contains php code) - or "Reparsing" t









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Re: Parsing a php include (which also contains php code) - or "Reparsing" t
jussist@gmail.com

2007-06-23, 10:01 pm

On Jun 23, 4:46 am, macca <ptmcna...@googlemail.com> wrote:
> you can even leave off the ?> in the include file if you like - as
> long as you have the <? at the start


You can leave it out in any php-file, whether it is included or not.
As long as there isn't any output after that. However, I would not
recommend this, as it can be considered as sloppy coding practise.

--
Jussi

Guy calls a government office, and proclaims "I want to be instated as
the president!" He gets the reply "Are you an idiot, or just mentally
ill?" The guy goes "Yes, yes! And I'm old, too!"

disczero.com
naamio.net
hoffburger.com


Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com