Very weird problem

 
Post new topic   Reply to topic    Aprelium Forum Index -> PHP
View previous topic :: View next topic  
Author Message
mach2jh
-


Joined: 26 Jun 2004
Posts: 2

PostPosted: Mon Mar 31, 2008 12:09 am    Post subject: Very weird problem Reply with quote

This has happened on of my computers using PHP5 and abyss. For some reason, any variable put into the URL (?name=var) or through GET on a form will work for a while. and then suddenly they wont work anymore. The script will run as if theres no GET variables are there. Has anyone else experienced this or know any way to fix it/test for problems
?
Back to top View user's profile Send private message
NuccatheWarrior
-


Joined: 18 Oct 2007
Posts: 82

PostPosted: Mon Mar 31, 2008 7:13 pm    Post subject: Reply with quote

No, I never had that problem. Do you have the Custom Environment Variables with

Code:
Name: REDIRECT_STATUS
Value: 200
with your php?
_________________
Site Administrator of Nucca The Warrior's Website

http://nuccathewarrior.kicks-ass.org
Back to top View user's profile Send private message Visit poster's website
mach2jh
-


Joined: 26 Jun 2004
Posts: 2

PostPosted: Wed Apr 02, 2008 9:27 pm    Post subject: Reply with quote

I figured it out. For some reason, even though the code worked before, Register_Globals was turned off. I don't know why the code used to work and then suddenly stopped, but adding the appropriate prefixes to the variables made them work. I guess turning globals on would have made it work too. But still, weird.
Back to top View user's profile Send private message
rrinc
-


Joined: 24 Feb 2006
Posts: 725
Location: Arkansas, USA

PostPosted: Wed Apr 02, 2008 10:10 pm    Post subject: Reply with quote

You shouldn't use register globals because it can be a security risk and it is being removed in PHP 6.
_________________
-Blake | New Server :D
SaveTheInternet
Soy hispanohablante. Puedes contactarme por mensajes privados.
Back to top View user's profile Send private message Visit poster's website Yahoo Messenger MSN Messenger
NuccatheWarrior
-


Joined: 18 Oct 2007
Posts: 82

PostPosted: Fri Apr 04, 2008 12:30 am    Post subject: Reply with quote

Yep
_________________
Site Administrator of Nucca The Warrior's Website

http://nuccathewarrior.kicks-ass.org
Back to top View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    Aprelium Forum Index -> PHP All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB phpBB Group