Jump to content

Need help with php or mysql, something's wrong...


amigaeager

Recommended Posts

I have downloaded a highscore php script that I tried to install on my server which has php 4.3 and mysql 4.x... well, all stuff on my system is ok and everything works, I can install any other php scripts.. these script work on [a href=\"http://www.egoant.com/tutorials/tut1.php\" target=\"_blank\"]http://www.egoant.com/tutorials/tut1.php[/a] , there's a link to it there.

This scrip works on lycos.com and they have the same version of php as I do....

What could be wrong?? maybe I need to change something in my php.ini file?
The link you left doesn't work (for me).

Best guess is that the script works when register_globals is ON (bad practice). The best solution would be to recode the script to run with register_globals OFF (the more secure setting). The sloppy solution would be to look at the extract() function to retrieve form or URL-passed variables around your scripts. The awful solution would be to change the setting of register_globals.

All that's assuming that register_globals really is the problem, of course.
[!--quoteo(post=353981:date=Mar 11 2006, 02:28 PM:name=AndyB)--][div class=\'quotetop\']QUOTE(AndyB @ Mar 11 2006, 02:28 PM) [snapback]353981[/snapback][/div][div class=\'quotemain\'][!--quotec--]
The link you left doesn't work (for me).

Best guess is that the script works when register_globals is ON (bad practice). The best solution would be to recode the script to run with register_globals OFF (the more secure setting). The sloppy solution would be to look at the extract() function to retrieve form or URL-passed variables around your scripts. The awful solution would be to change the setting of register_globals.

All that's assuming that register_globals really is the problem, of course.
[/quote]

yepp, thats was the problem, is it hard to make script working with register_globals off?

here are a link to the source I'm using:

[a href=\"http://www.egoant.com/tutorials/files/tutorial_1.zip\" target=\"_blank\"]http://www.egoant.com/tutorials/files/tutorial_1.zip[/a]

please help, Im a total noob on php.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.