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?
Link to comment
Share on other sites

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.
Link to comment
Share on other sites

[!--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.
Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.