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 / 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 |
for image work which library?
What is the differences between $a != $B and $a !== $B?
What is the latest version of php?
What does $_env means?
How can we destroy the cookie in php?
How to generate pdf file in php?
How to find datatype of variable in php?
What is strcmp () in php?
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?
How to count all the lines of code in a directory and sub folder?
What are the php variables?
Explain what does the expression exception::__tostring means?