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.

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

Members Only
Hi all, for my website i have a members area only which on members can veiw, but at the moment anyon

file_put_contents and createimagefromjpeg
All,
I do somethings and then I have the following code:
file_put_contents('./test/'.$filename

Multiple forms on the same page (safari)
Hello everyone,

I have 3 forms on the same page, that opens in a new window and submits to a

Coefficient of a Restitution Hints
Hello. I was wondering if anyone can give me hints on how to write this program...

The coeffi

Pulling out some result data from MYSQL
Hey Guys,

I've built a PHP page that has a for just imagine something like registration form

PHP Array quick help
I need

$_SESSION{'username'} to be like this:


if $_SESSION['username'] = "gay

radio button reamains checked
Hello i'm trying to keep the state off my radio buttons so it shows which ones where clicked after t

rookie looking for help coding a CSS form with PHP
I'm trying to figure out how to add PHP code to my xhtml form so that it is a working form embedded

help retrieiving results and doing pagination
Having some trouble trying to get the results to show on more than just one page.

What is ha

line breaks in between fetched file names
Hi,

I have this code:
Code: <?php
if($dir = opendir('files')){
while (($f

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