FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » Imported messages » comp.lang.php » Code Stops Working
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: Code Stops Working [message #172394 is a reply to message #172389] Wed, 16 February 2011 10:29 Go to previous messageGo to previous message
Tim Streater is currently offline  Tim Streater
Messages: 328
Registered: September 2010
Karma:
Senior Member
In article <ijfeuf$q72$1(at)news(dot)eternal-september(dot)org>,
Jerry Stuckle <jstucklex(at)attglobal(dot)net> wrote:

> On 2/15/2011 8:16 PM, Mike Copeland wrote:
>> In article<ijf7t3$u6h$1(at)news(dot)eternal-september(dot)org>,
>> jstucklex(at)attglobal(dot)net says...
>>> On 2/15/2011 7:36 PM, Mike Copeland wrote:
>>>> if(isset($submt_btn)) {
>>>
>>> Unless you have register_globals enabled (which it should NOT be), this
>>> value will not be set. You need to use $_GET['submt_btn'] instead (and
>>> the same is true for the other form fields).
>>>
>>> If this were a POST request in the form (which it really should be),
>>> then you would use $_POST['submt_btn'], etc.
>>
>> Hmmmm...I don't know about this "register_globals" thing. How do I
>> determine (and change) this?
>
> http://www.lmgtfy.com/?q=register_globals

:-)

You may not be in a position to change it. Where is the web site hosted?
If you are not in control of the host, whoever *is* in control may have
switched register_globals off as a matter of policy.

As has been suggested, revert your change and see if it still fails.

--
Tim

"That excessive bail ought not to be required, nor excessive fines imposed,
nor cruel and unusual punishments inflicted" -- Bill of Rights 1689
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: about memory usage with php application
Next Topic: PHP currency converter with XML feed
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Mon Nov 25 23:33:10 GMT 2024

Total time taken to generate the page: 0.04445 seconds