PHP question

Nathan Meyers nmeyers at javalinux.net
Fri Mar 30 11:44:19 EDT 2007


Jerry Feldman wrote:
> On Fri, 30 Mar 2007 10:54:23 -0400
> Mark Richards <mark.richards at massmicro.com> wrote:
> 
>> You could stick a call to PrintGetPostRequestVars() (below) at the top 
>> of your script to see what has been sent.
>>
>> Offhand I recall there's significant changes going to php 5 and among 
>> them principally are a change to the behaviour of "register_globals". 
>> That may play into your issues.

As I vaguely recall, some variables access patterns changed for security
reasons - you could no longer request them by their naked property names
but instead as elements of a properties hash. There is probably a global
PHP configuration flag to reenable the old behavior for pages that are
written to rely on it.

Nathan


> Thanks. I'll check that out. The real issue is that I don't do a lot of
> web work, so I don't see a lot of these changes. 
> 
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> Discuss mailing list
> Discuss at blu.org
> http://lists.blu.org/mailman/listinfo/discuss


-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.




More information about the Discuss mailing list