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

Help with file_get_html
The following code gives the expected results:

<html>
<head&g

A little help needed passing hidden values to next page
I have a page that has hidden values in a form.

example
Code: <input name='signupID

Login Script Issues
I am using a script I got from http://phpsense.com/php/php-login-script.html in order to allow peopl

preg_replace question
Hello!!

I hope someone can help me with preg_replace.

I load two tables from an extern

How can use this array as a key?
Say I have this array for example:


print_r($array);

Prints:
Code: [Select]Array

Why does my php page download images over and over
Can anybody please explain to me why my php page keeps downloading the images and other items every

Staff Induction System - No idea where to go from here!!!
Hi there, I'm pretty new to PHP and Mysql so could really do with being pointed in the right directi

help with mysql_error()
Hi,

I am trying to insert data into a table, but I am not able to insert it. I wanted to see

frame help
on the bottom frame is menu.html

Code: <body><form action='link.php' met

newbie error
what is wrong with this code ?

<html>
<body>

<?

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