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 #172412 is a reply to message #172411] Wed, 16 February 2011 23:40 Go to previous messageGo to previous message
Tim Streater is currently offline  Tim Streater
Messages: 328
Registered: September 2010
Karma:
Senior Member
In article <MPG(dot)27c6093958c05cfe9896a9(at)news(dot)eternal-september(dot)org>,
mrc2323(at)cox(dot)net (Mike Copeland) wrote:

> 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<{{

OK. You can say your page stopped working and have they made any changes
to their PHP configuration.

As (I think I got this right) Jerry said, if that's what's happened
you'll need to make changes to the PHP parts of the code as described.
It's better practice anyway.

By the way, don't forget to let us know what is was once you're sorted.

--
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: Sat Nov 23 04:04:32 GMT 2024

Total time taken to generate the page: 0.03591 seconds