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??



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

Answer / 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

More PHP Interview Questions

for image work which library?

0 Answers  


What is the differences between $a != $B and $a !== $B?

0 Answers  


What is the latest version of php?

0 Answers  


What does $_env means?

0 Answers  


How can we destroy the cookie in php?

0 Answers  






How to generate pdf file in php?

1 Answers  


How to find datatype of variable in php?

0 Answers  


What is strcmp () in php?

0 Answers  


hi! i am tushar. i am trying to insert digital signature in a pdf file using PHP. i create a digital signature jpg image using imagecreatefromjpeg() function, but whenever i trying to insert it into my pdf file it shown this error. "FPDF error: Not a JPEG file: signature.jpg". could some one help me? how can i insert a digital signature in a pdf file using PHP?

1 Answers  


How to count all the lines of code in a directory and sub folder?

0 Answers  


What are the php variables?

0 Answers  


Explain what does the expression exception::__tostring means?

0 Answers  


Categories