Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

I just installed php 5.3.1 in my linux server and now my old
work which i used to write with tags is not working at all..

Please help me out.. How can i resolve this??

Answer Posted / rekha_sri


Short tags are disabled by default.
If you want to enable short tags enable the short_open_tag
in the php.ini file. If it is off we need to give On for
enabling the short tags.
But you should use the full length tags <?php ?>.

Reasons for why we should not use the short tags,

* If you want to make your application portable, it may be
short open tags are not allowed on another server and hence
your application is not working.

* It will be removed in PHP 6.

Is This Answer Correct ?    5 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the name of the scripting engine that powers PHP?

1285


Why print_r is used in php?

998


Is python easier than php?

1055


What is in a cookie?

1009


Is set in php?

1027


What language is php based on?

1015


What is the difference between die () and exit () in php?

1025


What is a namespace in php?

1007


How to convert a json string to an array in php?

1127


Why do we use csrf token?

1000


What is the default session time in php?

1081


How to get a total number of rows available in the table?

1051


How do I run php?

1032


Is php session id unique?

1020


Is json a string php?

1025