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

Sessions Value Not Saved
Hi,

Im making a login form and im using this code:
Code: if($login=="true"){

Floating Point Precision Loss
I'm writing a program to draw a three-dimensional cube (with a corner cut off) without using any 3D

include function being weird?
I have a very simple system to grab an IP outputted by a PHP file.. (for a project I have) but it ou

generating all possible random letters
hi'

how can i randomize the letters a,b,c,d,e all possible ways, and i want to print the res

Hit counter updating once per IP - IP HIT COUNTER
I have a hit counter, for the amount of views on a tutorial.
It'll do the query and then do..

Keeping track of php uploads
Hello all.

I was looking at the way PHP handles file uploads.
It seems that PHP uses a tem

Grids not displaying decimals, and behaving differently on different PCs?
Hello,

I coded a relatively simple MII application that allows data from a form to be add

Check Date/Time in PHP
What I need the code to check is that $reQuest is 24 hours in the past then return a time based on h

Results from Db outputted twice
Hey guys.. for come reason my data is outputted twise shown in the image below and i cant figure out

Help If user voted, block them
On my Prayer request site, i let users Click a button to Pray for somone that has posted a pray, i g

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