Page is a not externally linkable
- Code, Content, and Presentation
-- PHP Server Side Scripting
---- Upload image and create thumbnail
cameraman - 6:04 pm on Sep 22, 2008 (gmt 0)Thread source:: http://www.webmasterworld.com/php/3749240.htm
Your function returns false if the file extension doesn't match any of your ifs, but doesn't return anything otherwise. So
$thumbnail = img_resize(...
is going to be empty if everything went ok.
Brought to you by WebmasterWorld: http://www.webmasterworld.com