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 #172411 is a reply to message #172394] Wed, 16 February 2011 23:18 Go to previous messageGo to previous message
mrc2323 is currently offline  mrc2323
Messages: 12
Registered: February 2011
Karma:
Junior Member
In article <timstreater-D23DFC(dot)10292816022011(at)news(dot)individual(dot)net>,
timstreater(at)waitrose(dot)com says...
> 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.

I did, and it continues to fail (bummer...). The server is
godaddy.com, and while I'm only maintaining the code, I'll have to work
with the site's owner to look at this. 8<{{
[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:51:37 GMT 2024

Total time taken to generate the page: 0.03832 seconds