![]() |
phpdigHttpVars - register_globals
What is phpdigHttpVars exactly doing?
Am I right, that it is circumventing the deactivation of register_globals? This is index.php: PHP Code:
|
PHP Code:
|
Quote:
I'll go on reading the code, and if I've further questions, I'll ask here again ;) . |
Quote:
|
Hi. When I test your code using ...search.php?test=test I receive the following output.
in the beginning: test after phpdigHttpVars - test: test |
Hi charter,
okay, then you have register_globals enabled. I have disabled it on my computer. I've also accessed index.php?test=test. Then the output-line in the beginning of the script is empty (that's okay, because register_globals is disabled). BUT the second line is "after phpdigHttpVars - test: test". Why that? Although $test isn't part of the array it's made global. That's what I didn't understand. Sorry, my comments in the code in my first posting were imprecise. I want to read the rest of the code of the search itself (the admin and spidering is not so interesting), but the search should also work with disabled register_globals. I think that's better for security-reasons. (Okay, maybe I'm a bit paranoid :rolleyes: ). Bye, Chris |
Hi. It's because of the following code found in the phpdigHttpVars function.
PHP Code:
|
Thank's a lot. I understood.
|
All times are GMT -8. The time now is 03:32 PM. |
Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright © 2001 - 2005, ThinkDing LLC. All Rights Reserved.