; Whether to enable the ability to force arguments to be passed by reference
; at function call time. This method is deprecated and is likely to be
; unsupported in future versions of PHP/Zend. The encouraged method of
; specifying which arguments should be passed by reference is in the function
; declaration. You’re encouraged to try and turn this option Off and make
; sure your scripts work properly with it in order to ensure they will work
; with future versions of the language (you will receive a warning each time
; you use this feature, and the argument will be passed by value instead of by
; reference).
allow_call_time_pass_reference = On
ฝากถึงคนที่ศึกษา php ครัีบ ควรเขียน script ให้รองรับ register global off เสมอ
ส่วนพวกที่เขียน php จริงจัง ใช้เป็นอาชีพ หรือเขียนขาย ถ้าสมัยนี้ยังไม่รองรับ register global off ก็ควรรีบปรับตัวได้แล้วครับ
cms ดังๆรองรับมานานแล้วครับไม่ว่าจะเป็น phpnuke postnuke runcms xoops phpbb ipb yabbse …
มี osCommerce กำลังจะรองรับในเวอร์ชั่นต่อไป
ปล. >80% ของช่องโหว่ที่พบใน script ต่างๆ มักต้องอาศัย register global on ในการเจาะ หากเป็น off จะไม่สามารถใช้ช่องโหว่นั้นได้
แต่การที่มีลูกค้าใช้งานอยู่เยอะๆแล้วอยู่ๆไปตั้งเป็น off ก็คงไม่ได้หรอกครับ
ต้องมีการแจ้งล่วงหน้าและถามความเห็นแต่ละรายว่าพร้อมหรือไม่ มีใครไม่รองรับบ้างและจะแก้ไขอย่างไร