@mike griffin.. thanks...... On Mon, Apr 2, 2012 at 4:46 PM, Mike Griffin <[email protected]> wrote:
> On Mon, Apr 2, 2012 at 12:09, LITTO CHACKO <[email protected]> wrote: > > This is a common problem. it is not related with cakephp alone.. > > It's not really related to cakephp at all. > > > so the problem is that if anyone created this type of file with a > > virus code in it... it will upload success as it is of corresponding > > formats. but when we view it it will execute in our browser and do > > harm.... so please anybody point out checking the picture file other > > than extensions??? > > > > pls anyone help...... > > You can use the PHP function finfo_file. > Have a look at http://php.net/manual/en/function.finfo-file.php for > more details. > > Mike > > -- > Our newest site for the community: CakePHP Video Tutorials > http://tv.cakephp.org > Check out the new CakePHP Questions site http://ask.cakephp.org and help > others with their CakePHP related questions. > > > To unsubscribe from this group, send email to > [email protected] For more options, visit this group > at http://groups.google.com/group/cake-php > -- Litto Chacko Axtec Softwares -- Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions. To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/cake-php
