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 |
when we submit any string in single inverted comma('abc') with get or post method,we will get exact string with single inverted comma('abc')by using $_REQUEST[]. But it is giving (\'abc\'). so anybody please help me to remove that slash,therefore i will get exact string...
How to check whether cookies are disbled or not in the browser ? If that is the case how do you handle the sessions ?
Explain how can we increase the execution time of a php script?
Is it more secure to use cookies to transfer session ids?
What are the method available in form submitting?
How are cookies created?
Explain me soundex() and metaphone()?
How does header() work . What do they tell the server same question for SESSIONS
Write a program in php to check whether a number is prime or not?
What is difference between count or sizeof function in php?
What is url encoding and decoding in php?
How should a model be structured in mvc?