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

Will this protect from mysql injection?
I do not want anything like DROP TABLE to work or any type of coding..

Heres my code.. is it

Simple AND question
Hello,

I've got following code:

Code: if(strpos($row[13],"http://")

PHP FTP connect doesn't work with correct login
Hi!

i am working on this test code:
Quote<?php

$ftp_ser

2 decima places & How to reload my page
Hello There,

How do i put full-stop (.) after second figure from behind? ie if i have 123456

I need to increse 6hours more, and i don't know how???
I need to increse 6hours more, and i don't know how???
<tr>
<t

need help with php get
i have a option box that gets filled with dates, but how do i get once the option value has been cli

isset undefined variable
Hi all,

Hope someone can point out the obvious. I've a log in script, if you dont enter a use

Why doesn't this work? (SSH2)
This is my script:

Code: <?php
$connection = ssh2_connect('213.251.167.109', 22);

highlighting search terms
well, I started this in the regular PHP section, but it no longer fits there. Suffice it to say, I'm

text box alphanumeric caracters only
hi all!

I have search on google on how to enter in a test box only caracters A-Z,a-z,0-9 usi

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