Reply to Re: [PHP] security/sql issues with php

Your name:

Reply:


Posted by Mikey on 09/22/05 02:13

> Checking data types can be very misleading. I've seen many examples
> (even recently in a book) that use is_int() to check to see whether
> something in $_GET or $_POST is an integer. Because everything in
> $_GET and $_POST is a string, this check always fails.
>
> Chris
>
I have found that adding 0 and then running is_int() usually works.

Mikey

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация