Welcome Guest, Not a member yet? Register   Sign In
weird php5 behaviour
#4

[eluser]Michael Wales[/eluser]
Add the following line to php.ini as well:
Code:
php_flag short_open_tag on

The error that is occurring is your server isn't sending your code to the PHP process (that's why it's just echoing it out).

Another thing you could try is turn on short tag rewrite (or something like that) in config.php - CI should dynamically rewrite those short tags for you then.

Finally, you could go back through your code and manually remove any short tags and change them to the longer form.


Messages In This Thread
weird php5 behaviour - by El Forum - 06-07-2008, 12:45 PM
weird php5 behaviour - by El Forum - 06-07-2008, 06:03 PM
weird php5 behaviour - by El Forum - 06-08-2008, 12:10 AM
weird php5 behaviour - by El Forum - 06-08-2008, 02:37 AM
weird php5 behaviour - by El Forum - 06-08-2008, 07:22 AM
weird php5 behaviour - by El Forum - 06-08-2008, 07:39 AM
weird php5 behaviour - by El Forum - 06-08-2008, 12:29 PM
weird php5 behaviour - by El Forum - 06-08-2008, 10:33 PM



Theme © iAndrew 2016 - Forum software by © MyBB