I'd be a bit skeptical about the possibly of embedding PHP code inside a GIF file. Could you outline how he performed the task? On 1/22/06, jonathan <news_php@xxxxxxxxxxxx> wrote: > what is the best way to prevent malicious code from being uploaded > via a .gif file? A friend showed me how php could be embedded within > the .gif file. Does this problem also exist for .jpeg's? > > thanks, > > jon > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php