Categories
Categories
[PHP2.14] How do I use short open tags in my php scripts?
Short open tags are turned off in php5 scripts by default.
To get your php5 scripts to work you should change all your opening tags from "<?" to "<?php".
If you do not want to edit all your scripts an alternative but not recommended solution is to add the following line to your php5.ini file:-
short_open_tag=1
We do not recommend this solution as the short tags can cause problems within some scripts.
Was this answer helpful?
Also Read
Use the following outline to connect and begin querying the MySQL server from within your PHP...
As a general rule, the permissions of a PHP file should take one of two sets of values, either...
PHP runs as a cgi at Hosting cPanel – this is because it is more secure than running it as an...
Protecting PHP IncludesIn order to create a PHP file that is inaccessible from the WWW, please...
Does Hosting cPanel support Image::Magick?