- - Code, Content, and Presentation
- -- PHP Server Side Scripting
- ---- Resizing image problem won't work after turning registers globals
coopster - 11:44 am on Jun 1, 2009 (gmt 0)
Register globals would put any global variable, such as the name part of the name/value pair of a QUERY_STRING, into the global scope automatically. In the following url,
both $name and $size would be defined and ready for use in the PHP script with their values already assigned. This created security nightmares as you can imagine.
Your $size field looks to be undefined in your script and therefore failing. You need to define it by assigning it the appropriate value.
Thread source: http://www.webmasterworld.com/php/3923783.htm
Brought to you by WebmasterWorld: http://www.webmasterworld.com