| PHP, MySQL General PHP questions. Or go to our PHPsuexec Forum >> |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread |
|
|
#10 (permalink) |
|
Registered User
Super #1
Joined in Mar 2005
Lives in Washougal, WA
1,302 posts
Gave thanks: 23
Thanked 39 times
|
Did you get all sorted out, it appears you have, downloaded one of them and number went up.
|
|
|
|
| This user thanks wgm for this great post! | SharonQ27 (November 10th, 2007) |
|
|
#11 (permalink) |
|
Registered User
Fresh Surpasser
Joined in Oct 2007
17 posts
Gave thanks: 3
Thanked 0 times
|
Yeah! it just started working again for some reason, I'm not sure if it was something I did that fixed it or it was something on the server that was causing the problem and it got fixed.
I still don't know how to change my login script though so it's not dependant on register globals being turned on. |
|
|
|
|
|
#12 (permalink) |
|
Registered User
Super #1
Joined in Mar 2005
Lives in Washougal, WA
1,302 posts
Gave thanks: 23
Thanked 39 times
|
I could try to modify it, feel free to PM me the code or post here it in the code tag.
I am no professional coder, learning PHP, may even help me more to learn more. |
|
|
|
|
|
#13 (permalink) |
|
Race Surpass
Super #1
Joined in Jul 2006
Lives in Oklahoma City, OK
Hosted on sh102
1,218 posts
Gave thanks: 18
Thanked 86 times
|
Without seeing the code, it's hard to provide specific suggestions... generally the solution when register_globals is off is that form variables need be to referenced as $_POST['varname'] instead of $varname and variables passed via the URL (seen in address bar) need to be referenced as $_GET['varname'] instead of $varname
$_REQUEST['varname'] may also work as well. Hope that helps some. ![]()
__________________
|
|
|
|
|
|
#14 (permalink) |
|
after g, before i
Resident.
Joined in Jul 2004
Hosted on Gojira
8,027 posts
Gave thanks: 48
Thanked 129 times
|
Note: $_REQUEST should only only be used if you're expecting the variable to be setable from multiple sources (eg: post and get).
A decent explaination at one reason is here: http://www.governmentsecurity.org/fo...howtopic=19207 |
|
|
|