NYCPHP Meetup

NYPHP.org

[nycphp-talk] A Cautionary Tale & then a question...

Chris Snyder csnyder at chxo.com
Fri Sep 5 12:10:01 EDT 2003


Jeff Knight wrote:

> On Friday, September 5, 2003, at 11:30  AM, Chris Snyder wrote:
>
>> What if the version of PHP on the new server didn't support 
>> $_REQUEST? And had register_globals turned on?
>> I think you might get those results, then, eh?
>>
Hmmm, the results aren't -exactly- the same, but tantalizingly close. 
Very curious.

original behavior: 
http://dev.nyphp.org/~csnyder/jktest.php?to=FFFFFF&from=4563456
new? behavior: 
http://dev.nyphp.org/~csnyder/jktest.php?to=FFFFFF&from=4563456&port=1

> When I moved the code to a new server, the results were:
>     to: FFFFFF
>     to[rgb]: F
>     from: 4563456
>     from[rgb]: 4 






More information about the talk mailing list