Page 1 of 1
Php4 to Php5 Conversion
Posted: Sun Jan 04, 2009 5:22 am
by stoggafu
Fixed thanks
Re: Php4 to Php5 Conversion
Posted: Sun Jan 04, 2009 5:29 am
by requinix
Ugh. You try to figure it out first, okay?
Turn up error_reporting all the way, turn on display_errors, and see if you get any messages.
Code: Select all
// top of the script:
error_reporting(E_ALL|E_STRICT);
ini_set("display_errors", 1);
Re: Php4 to Php5 Conversion
Posted: Sun Jan 04, 2009 5:45 am
by Chris Corbyn
Almost certainly register_globals I'd say. I don't see a single use of a superglobal in the script
http://au2.php.net/register_globals
Re: Php4 to Php5 Conversion
Posted: Fri Jan 30, 2009 4:34 pm
by wkuzma
I tested your script on my server and got it to work by changing the port from 28941 to 28960
Re: Php4 to Php5 Conversion
Posted: Fri Jan 30, 2009 4:38 pm
by Benjamin
It's also using short tags

Re: Php4 to Php5 Conversion
Posted: Fri Jan 30, 2009 7:13 pm
by Citizen
Just as a tip to add on to what others are saying, perhaps try to use some switches instead of long elseif statements. Not that that has anything to do with compatibility
