November 30, 200520 yr comment_1993 so much learning to get... What is the best way to turn off register globals? I see at the PHP site that one can put a flag or entry in .htaccess stating "php_flag register_globals off". or should I do this in php.ini. I'm using the php.ini included in UniS3.2a. or should I do both? or something completely different...? I get the warning in the setup for jinzora and this appears to be a serious issue everywhere else except, maybe, in a development env. I'm trying to set up the server to serve a few pages from a walled garden on my local network to go with my ZoneCD setup and/or to run jinzora and I don't want to screw anything up (anymore). I'm using uniserver 3.2a on winXP pro sp2. Thanks, curly Report
November 30, 200520 yr comment_1994 Though it is not really needed for you to turn it Off when using Jinzora, as i also do with it On and have no problems, the best way to do it is to turn it Off in the php.ini file. If you need it else where but want it off in Jinzora, then turn it Off using the .htaccess method. Thanks. Best Regards Olajide Olaolorun The Uniform Server Development Team Report
November 30, 200520 yr Author comment_1997 WOW! I get it! Dude, you are the BEST! I'm gonna get another imaginary nurse just so she can come live with you permanently. curly Report
December 1, 200520 yr comment_1998 //fantasies, lol Best Regards Olajide Olaolorun The Uniform Server Development Team Report
March 15, 200817 yr comment_6317 switching register globals to Off restarting the server stops uniform server working properly with the error Warning: gethostbyaddr() [function.gethostbyaddr]: Address is not in a.b.c.d form in W:\home\admin\www\includes\config.inc.php on line 18 it didnt seem to do it before when i changed it. I ideally want to mirror my server config, and this has it set to Off thanks http://www.landed.at - a travel forum, please come along and post something about a destination you know. Report
March 16, 200817 yr comment_6321 I have never come across any code in US 3.5 that requires register globals to be On hence switching it Off is not a problem, US 3.5 works fine. The message you receive is only a warning; it looks like that code (line 18) is no longer used try commenting out the line. You state “stops uniform server working properly” is it just the warning you are concerned with or does it really stop US working correctly? (Known bug)The only bug I have ever found in 3.5 is in config.inc.php on line 26 while you are in this page change the line from:$drive="$pathArray[0]/$pathArray[1]"; to$drive="$pathArray[0]"; This code is executed only when using a virtual drive letter other than the default “W” hence majority of users will never see a problem. All the bestRic Report
March 16, 200817 yr comment_6322 Thanks, maybe this will go away in the next release ? I guess in the sense that I couldnt get to the admin panel or phpmyadmin, was why it wasnt working. I have left Globals on for now, but will try commenting that line out as suggested. Doing that now actually to save me finding this post later so far commenting that line out works.. thanks http://www.landed.at - a travel forum, please come along and post something about a destination you know. Report
July 3, 200817 yr comment_6575 Well quick dirty fixes always come back to haunt. This is no exception I think the combined bug fix see Wiki will resolve this: http://wiki.uniformserver.com/index.php/Bu..._config_inc_php All the bestRic Report
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.