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

Need understanding of this bit of code
Code: <?php
// WHERE clause filters
$arrSQLFilters = array();

//

Help on query replacing the date
Hi Pals,

i want to replace the current date in a column to some value say C or D or any n

Move array index to end
Hey guys,
Quick question:

I have an array that looks like this:
Code: [Select]$var =

Struct/union and scope problem!
HI all , I have
Code: in header.h typedef struct Node Link; /* ---------

php/xmlrpc class issue
I am working on xml-rpc in php to start with.

I have a class that only has variables defined

Why do I get this error
Parse error: syntax error, unexpected T_STRING, expecting ',' or ';' in /home/a5488351/public_html/b

Install page
How do I make it so when a user submits information on the Install page, it'll right it into the cor

Table trouble
i have been reading the forum for a few weeks and decided to join. i like the format and the advice

http to https
Hi,

Is there any specific method/condition to move an http:// page to https:// ?

ereg_replace()
Basically what i need to do is

$title = "This Suck's"

$striped = ereg_repl

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