Your Daily Source for Apache News and Information |
Breaking News | Preferences | Contribute | Triggers | Link Us | Search | About |
|
"In the last exciting episode of the PHP Phanatics, we explored the inner workings of PHP's unique $GLOBALS array. Several sharp-eyed readers pointed out a bug in the script dumping the contents of the $GLOBALS array. If an array element was itself an array, the display listed that fact rather than the contents of the component array. The displayed line looked like: $GLOBALS[HTTP_GET_VARS]=Array "In my defense I plead confusion. There were elements on both sides of the array. In addition, the vertical alignment was less than perfect. It was very difficult determining which array component a pointer was addressing." "A generalized array-dumping function is discussed at the end of this article. The developed function displays any one- or two-dimensional array." "In this episode we'll continue our exploration of PHP forms, becoming more aggressive and bolder as we go." Complete Story Related Stories: |
|
No talkbacks posted. |
About Triggers | Media Kit | Security | Triggers | Login |
All times are recorded in UTC. Linux is a trademark of Linus Torvalds. Powered by Linux 2.4, Apache 1.3, and PHP 4 Legal Notices, Licensing, Reprints, & Permissions, Privacy Policy. |