Go Back   EQEmulator Home > EQEmulator Forums > Archives > Archive::Misc > Archive::Off Topic

Archive::Off Topic Archive area for Off Topic's posts that were moved here after an inactivity period of 90 days.

Reply
 
Thread Tools Display Modes
  #1  
Old 04-24-2002, 01:33 PM
Trumpcard
Demi-God
 
Join Date: Jan 2002
Location: Charlotte, NC
Posts: 2,614
Default Php 4.2.0

For anyone that updates to php 4.2.0 and notices some of their scripts not working right...

They changed it so that env data isnt scoped globally anymore

External variables (from the environment, the HTTP request, cookies or the web server) are no longer registered in the global scope by default

This means that all the good ol' POST's you did with 4.1.x and friends won't work anymore unless you do 1 of 2 things... Redefine your code to use there new superarray way of doing things, or modify your /etc/php.ini file to cut register_globals = On


Hope this saves someone some time... Updated to 4.2.0 tonight and noticed I could still read from my php database frontends, but couldnt write, so cut up tracing and noticed none of my POST'd values were getting passed from page to page anymore...

I'll probably go back and rewrite it correctly later, but right now, South Park's about to come on
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

   

All times are GMT -4. The time now is 07:14 PM.


 

Everquest is a registered trademark of Daybreak Game Company LLC.
EQEmulator is not associated or affiliated in any way with Daybreak Game Company LLC.
Except where otherwise noted, this site is licensed under a Creative Commons License.
       
Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3