Image Uploader and false images!
Posted: Tue Jun 27, 2006 6:28 pm
feyd | Please use
Code: Select all
,Code: Select all
and [syntax="..."] tags where appropriate when posting code. Your post has been edited to reflect how we'd like it posted. Please read: [url=http://forums.devnetwork.net/viewtopic.php?t=21171]Posting Code in the Forums[/url] to learn how to do it too.[/color]
Hello,
I've a script to use for my image uploader and it works great, but if you change ext. for a php file (for example) to jpg it doesn't reconized that the file acctually is not an image file. I'm worry about the security of my site and appreciate if some one here could help me to make some changes to it.
Here is my upload.php file:
Best Regards.
[color=red][b]feyd[/b] | Please useCode: Select all
,Code: Select all
and [syntax="..."] tags where appropriate when posting code. Your post has been edited to reflect how we'd like it posted. Please read: [url=http://forums.devnetwork.net/viewtopic.php?t=21171]Posting Code in the Forums[/url] to learn how to do it too.[/color]