Posted by Chris Hope on 09/21/06 02:28
Jay Binns wrote:
> I don't have <?php in the beginning of my scripts I just have <?. Now
> the scripts wont run after I upgraded to php 5.1.6. How can I work
> around the fact that all my scripts have <? in the beginning rather
> than <?php ?
You have three options as I see it:
1) switch short_open_tags on in your php.ini file
2) as above but in an .htaccess file (if using Apache)
3) change all instances of <? to <?php
--
Chris Hope | www.electrictoolbox.com | www.linuxcdmall.com
Navigation:
[Reply to this message]
|