Page 1 of 1

difference between php4 and php5(versions)

Posted: Wed May 03, 2006 2:23 am
by madhu
hi to all........

i have problem with PHP vesion....

plz solve my problem....

recently i installed PHP5, b4 am using PHP4.

but in that PHP5, some fetures of my project r not working , which r absolutely working in PHP4....

plz tell me the reason urgently....(plzzzzzzzzzzz it is very urgent)

is it sessions problem????

thanks in advance
madhu

Re: difference between php4 and php5(versions)

Posted: Wed May 03, 2006 2:34 am
by feyd
via aol translation, madhu wrote:hi to all........

i have problem with PHP vesion....

please solve my problem....

recently i installed PHP5, before am using PHP4.

but in that PHP5, some fetures of my project are not working , which are absolutely working in PHP4....

please tell me the reason urgently....(please it is very urgent)

is it sessions problem????

thanks in advance
madhu
It's hard to say what the problem is if you don't post your code or some errors that are being logged/shown at least.

difference between php4 and php5(versions)

Posted: Wed May 03, 2006 2:44 am
by madhu
hi

here am giving the site url, plz c that.....


http://www.bsepaper.com/bsepaper/login.php(NOT WORKING)
http://203.199.211.212/thehindu/login.php(WORKING)

FOR BOTH SITES:
----------------
username:h@yahoo.com
password:12345678

n bsepaper, i installed php5,in hindu it is php4.

now problem is when u login, it will open the site, inthat click on that page which contains some articles.click on any article,in bsepaper it is not showing that article and it hindu it is displaying that article.

plz c n reply to me ASAP....

thanks in advance
madhu

Posted: Wed May 03, 2006 3:04 am
by Maugrim_The_Reaper
Use full english sentences please - I can't read the aol language.

We are unable to provide specifics of what is wrong - you need to post code. No code, no solution. You should also check for some common settings - is register_globals, magic_quotes_gpc settings the same for each version?

Re: difference between php4 and php5(versions)

Posted: Wed May 03, 2006 3:06 am
by Chris Corbyn
madhu wrote:hi

here am giving the site url, plz c that.....


http://www.bsepaper.com/bsepaper/login.php(NOT WORKING)
http://203.199.211.212/thehindu/login.php(WORKING)

FOR BOTH SITES:
----------------
username:h@yahoo.com
password:12345678

n bsepaper, i installed php5,in hindu it is php4.

now problem is when u login, it will open the site, inthat click on that page which contains some articles.click on any article,in bsepaper it is not showing that article and it hindu it is displaying that article.

plz c n reply to me ASAP....

thanks in advance
madhu
Please can you stop using the AOLspeak? A good portion of our visitors are not native english speakers and it's hard to read. It certainly takes me twice as long to read, makes me think you're lazy and puts me off answering your thread constructively.

difference between php4 and php5(versions)

Posted: Wed May 03, 2006 3:13 am
by madhu
i dont know what u didnt understand in that message.............

any how, plz login to that sites.

then click on that pages...........

it is not working in bsepaper and it is working in hindu.

i think am clear in this issue.

plz give reply if u didnt understand

Posted: Wed May 03, 2006 3:23 am
by Maugrim_The_Reaper
plz is not an english word. Check a dictionary - the spelling is "please".

Try to understand - I cannot access your first link, it times out for me as a network error. In the absence of any other way of finding a problem, we need to see the source code. It is difficult if not impossible to find problems without source code, or at a minimum the details of any and all error messages.

Two links is not enough.

Re: difference between php4 and php5(versions)

Posted: Wed May 03, 2006 5:23 am
by Chris Corbyn
madhu wrote:i dont know what u didnt understand in that message.............

any how, plz login to that sites.

then click on that pages...........

it is not working in bsepaper and it is working in hindu.

i think am clear in this issue.

plz give reply if u didnt understand
Seriously... stop using the AOLspeak... By that I mean: u, r, plz, cuz, hlp, n, b4.... Take this as a polite warning.

Posted: Wed May 03, 2006 12:59 pm
by coolaid
hahaha, aolspeak...


one of the very common problems in swithing from 4 to 5 is the auto globals.

thats means go through your documents and replace $HTTP_SERVER_VARS with $_SERVER


if your using post data, dont use $input field, use $_POST['inputfield'

same with url variables, dont just use $url_var, use: $_GET['url_var']

Posted: Wed May 03, 2006 1:27 pm
by timvw
My guess would be that the mysql extension isn't loaded in the PHP5 version.. But untill we get to see some code (and eventual errors/warnings) i'll return ENOCRYSTALBALL.