icon Get the most out of Surmunity, read our tips here! Need an interesting blog to read? You've got to read the Surpass Blog! | Welcome! Please register to access all of our features.

» Surpass Web Hosting Forums » Discussions » PHP, MySQL » Need help fixing my php script!

PHP, MySQL General PHP questions. Or go to our PHPsuexec Forum >>

Reply
 
LinkBack Thread Tools Search this Thread Rate Thread
Old November 10th, 2007, 11:00 PM   #10 (permalink)
wgm
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.
wgm is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
This user thanks wgm for this great post!
SharonQ27 (November 10th, 2007)
Old November 10th, 2007, 11:37 PM   #11 (permalink)
Registered User
Fresh Surpasser
 
SharonQ27's Avatar
 
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.
SharonQ27 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old November 10th, 2007, 11:54 PM   #12 (permalink)
wgm
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.
wgm is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old November 11th, 2007, 12:29 AM   #13 (permalink)
Race Surpass
Super #1
 
MarkRH's Avatar
 
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.
MarkRH is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old November 11th, 2007, 3:21 AM   #14 (permalink)
H
after g, before i
Resident.
 
H's Avatar
 
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
H is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On