hi,
I use a general php file in all of my projects(that I included general functions in it) and the last time I used it sometimes in some scripts I get this warning :
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
The thing that wonder me is that after refreshing the script this warning disappear
I wondered!
Moderator: General Moderators
- Christopher
- Site Administrator
- Posts: 13596
- Joined: Wed Aug 25, 2004 7:54 pm
- Location: New York, NY, US
-
persiangulf
- Forum Commoner
- Posts: 30
- Joined: Tue Jan 29, 2008 12:04 pm
Re: I wondered!
Thanks,after dealing with the code I understood where the problem comes from.The problem was that I used cookies before initializing it.
Last edited by persiangulf on Tue Feb 12, 2008 2:08 am, edited 1 time in total.
- RobertGonzalez
- Site Administrator
- Posts: 14293
- Joined: Tue Sep 09, 2003 6:04 pm
- Location: Fremont, CA, USA
Re: I wondered!
Thanks for posting that warning message. I have never seen that before.