I am receiving the following warning message on the initial display of a particular web form page:
"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"
Can anyone advise as to the cause of this message or, at least, how to avoid it ...
Weird Warning Notice!
Moderator: General Moderators
- Kieran Huggins
- DevNet Master
- Posts: 3635
- Joined: Wed Dec 06, 2006 4:14 pm
- Location: Toronto, Canada
- Contact:
Re: Weird Warning Notice!
Only use $_POST[], $_GET[] and $_SESSION[] as your inputs.
check out http://ca.php.net/manual/en/language.va ... efined.php
check out http://ca.php.net/manual/en/language.va ... efined.php
Re: Weird Warning Notice!
OT: You think it's wierd? Try this:
Code: Select all
<?php :: ?>Re: Weird Warning Notice!
Weird? Everyone knows what paamayim nekudotayim is.Mordred wrote:OT: You think it's wierd? Try this:
Re: Weird Warning Notice!
Yeah, but the question is would anyone expect it to be unexpected...Weirdan wrote:Weird? Everyone knows what paamayim nekudotayim is.Mordred wrote:OT: You think it's wierd? Try this:
Re: Weird Warning Notice!
I, for sure, would be unexpecting expected p.n.Mordred wrote:Yeah, but the question is would anyone expect it to be unexpected...