Topic: no closing php tag after installation for config.php

After installation it gives some things to copy in a file named config.php, but what I got was without the closing ?>.

Re: no closing php tag after installation for config.php

its intentional, its not needed and it only causes problems

3

Re: no closing php tag after installation for config.php

Just curious what sort of problems it causes? I've never heard of omitting ?> before...

4 (edited by Smartys 2005-11-13 17:43)

Re: no closing php tag after installation for config.php

People putting extra whitespace after it
It messes up the headers that get sent out (and spits out quite a few ugly error messages)

5

Re: no closing php tag after installation for config.php

Fair enough... I'm sure after a 24 hours have passed I'll have adjusted to a world where PHP scripts don't end in ?> wink

Re: no closing php tag after installation for config.php

Hi,

I fully understand why ?> are omitted but I'm wondering something : Is it actually valid PHP ?

Re: no closing php tag after installation for config.php

Yes.

"Programming is like sex: one mistake and you have to support it for the rest of your life."

Re: no closing php tag after installation for config.php

Ok, thank you.