You are here: Re: <? and <?php directive « PHP Programming Language « IT news, forums, messages
Re: <? and <?php directive

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]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация