PHP4 to PHP5 Conversion


Posted on 16th Feb 2014 07:03 pm by admin

Hi Everyone,

I am working on a site that is built up on PHP4 and each page is being started from <? instead of <?php as of PHP5.

Did you know?Explore Trending and Topic pages for more stories like this.
I want to convert this <? to <?php on every page so that I can render the page properly in the browser. I am using WAMP Server 2.0 and it is creating problem to display the page in the browser if <? is there in the php file.

Please suggest...
No comments posted yet

Your Answer:

Login to answer
197 Like 28 Dislike
Previous forums Next forums
Other forums

Display thumbnails as square while retaining aspect ratio
I am trying to figure out a way to make an image display as a square, for example 80x80 pixels, when

PHP Display Telephone Number On Referrer
I have used the php below to show a different telephone number in the header of the site depending u

Must be a string? Huh, what? HELP?
with the following script, I get
Fatal error: Property name must be a string in /home/content/e/

help with database debug pls
Parse error: syntax error, unexpected T_ELSE in /home/content/m/e/s/mesick/html/students/05/php/chec

my login script page is not working on remote computers
hi my login is working on my computer, but when i tried 2 computers from 2 different locations, they

a multi dimensional array with for each
hi, I have been asked to write an array, I have Zone 2,3,4,5,6,7,8 each zone has 3 sections of weigh

How to add functionality to a simple php calender?
Hello everyone,

I have just finished creating a simple php calander. Can someone point

need good snippet manager
Hi. as i am coding and learning more, it is becoming difficult to manage code snippets. how you mana

RadioButtonList item spacing
I have a RadioButtonList and I can't put any spacing between the items. They are arranged verticall

How to assign a textbox value to PHP variable??
Hi ! Can any one help me out as quickly as possible. As I m new to PHP.
Plz tell me how to assign

Sign up to write
Sign up now if you have flare of writing..
Login   |   Register
Follow Us
Indyaspeak @ Facebook Indyaspeak @ Twitter Indyaspeak @ Pinterest RSS



Play Free Quiz and Win Cash