Welcome Guest, Not a member yet? Register   Sign In
I can not get <?= to work on one of my servers, any ideas why ?
#2

[eluser]Philo01[/eluser]
In order to make short tags you work you have to enable it in your configuration file php.ini

Code:
short_open_tag "0"

Should be turned into:

Code:
short_open_tag "1"

My advice is to not use php short tags in your php applications that you are going to install on different servers.
Since not all servers support it or the hosting company doesn't allow it.

Quote from the web:
Quote:Note: Using short tags should be avoided when developing applications or libraries that are meant for redistribution, or deployment on PHP servers which are not under your control, because short tags may not be supported on the target server. For portable, redistributable code, be sure not to use short tags.


Messages In This Thread
I can not get <?= to work on one of my servers, any ideas why ? - by El Forum - 09-22-2009, 01:39 PM



Theme © iAndrew 2016 - Forum software by © MyBB