[FX.php List] Annoying PHP warning

Bob Patin bob at patin.com
Sun Sep 7 15:04:27 MDT 2008


It's a form that uses the GET_ variable, if that's what you meant, but  
why should that cause a problem? I can prevent error displays, but I  
wanted to fix the problem rather than just turn off error_reporting.

Thanks,

BP


On Sep 7, 2008, at 2:29 AM, Gjermund Gusland Thorsen wrote:

> Do you use _GET and _POST prefixes in variables?
>
> ggt
>
> 2008/9/7 Bob Patin <bob at patin.com>:
>> I'm getting this warning, and I *think* it's because I have an  
>> undeclared
>> variable, but if that's the case I can't find it.
>> Can anyone tell me the most common cause for this error?
>> ERROR MSG:
>> Warning: Unknown(): Your script possibly relies on a session side- 
>> effect
>> which existed until PHP 4.2.3. Please be advised that the session  
>> extension
>> does not consider global variables as a source of data, unless
>> register_globals is enabled. You can disable this functionality and  
>> this
>> warning by setting session.bug_compat_42 or session.bug_compat_warn  
>> to off,
>> respectively. in Unknown on line 0
>> Thanks,
>> Bob Patin
>> Longterm Solutions
>> bob at longtermsolutions.com
>> 615-333-6858
>> http://www.longtermsolutions.com
>> iChat: bobpatin
>> AIM: longterm1954
>> FileMaker 9 Certified Developer
>> Member of FileMaker Business Alliance and FileMaker TechNet
>> --------------------------
>> FileMaker hosting and consulting for all versions of FileMaker
>> PHP • Full email services • Free DNS hosting • Colocation •  
>> Consulting
>>
>> _______________________________________________
>> FX.php_List mailing list
>> FX.php_List at mail.iviking.org
>> http://www.iviking.org/mailman/listinfo/fx.php_list
>>
>>
> _______________________________________________
> FX.php_List mailing list
> FX.php_List at mail.iviking.org
> http://www.iviking.org/mailman/listinfo/fx.php_list



More information about the FX.php_List mailing list