php-general Digest 20 Sep 2012 17:54:40 - Issue 7972
Topics (messages 319154 through 319165):
about PHP's filter_var function
319154 by: lx
319155 by: Vikash Kumar
319156 by: Sebastian Krebs
319159 by: Jim Lucas
319160 by: Maciek Sokolewicz
Hello:
I want to use filter_var function by this way:
$ip = 192.168.0.1;
if( !filter_var($ip, FILTER_VALIDATE_IP) )
{
echo IP is not valid;
}
else
{
You can use regex to check the
format: /^\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}$/
You can also explode $ip on . and check if every part is numeric and less
than 255.
On 20 September 2012 14:44, lx lxlenovos...@gmail.com wrote:
Hello:
I want to use filter_var function by this way:
Plaseplease update... 5.1.6 is from 2006! I read the it's required,
but I can't imagine _anything_ that it's worth it to use such an
extremely outdated, unsupported and therefore insecure and inefficient
version... You know: There are 3 (!) new minor versions available right
now (5.2, 5.3 and
Hi,
I host a flash painting tool on my site, and wanted to add ability for the
users to add a background image from a given url, but I have to make sure
the url they add truely refers to a real jpg file, and not something else.
I found a methoed with exif_imagetype() that worked except my
On 20-09-2012 13:48, Rango wrote:
Hi,
I host a flash painting tool on my site, and wanted to add ability for the
users to add a background image from a given url, but I have to make sure
the url they add truely refers to a real jpg file, and not something else.
I found a methoed with
On 09/20/2012 02:35 AM, Sebastian Krebs wrote:
Plaseplease update... 5.1.6 is from 2006! I read the it's required,
but I can't imagine _anything_ that it's worth it to use such an
extremely outdated, unsupported and therefore insecure and inefficient
version... You know: There are 3 (!) new
On 20-09-2012 18:03, Jim Lucas wrote:
On 09/20/2012 02:35 AM, Sebastian Krebs wrote:
Plaseplease update... 5.1.6 is from 2006! I read the it's required,
but I can't imagine _anything_ that it's worth it to use such an
extremely outdated, unsupported and therefore insecure and inefficient
Am 20.09.2012 18:03, schrieb Jim Lucas:
On 09/20/2012 02:35 AM, Sebastian Krebs wrote:
Plaseplease update... 5.1.6 is from 2006! I read the it's required,
but I can't imagine _anything_ that it's worth it to use such an
extremely outdated, unsupported and therefore insecure and inefficient
On Thu, Sep 20, 2012 at 6:03 PM, Jim Lucas li...@cmsws.com wrote:
On 09/20/2012 02:35 AM, Sebastian Krebs wrote:
Plaseplease update... 5.1.6 is from 2006! I read the it's required,
but I can't imagine _anything_ that it's worth it to use such an
extremely outdated, unsupported and therefore
Am 20.09.2012 18:17, schrieb Maciek Sokolewicz:
On 20-09-2012 18:03, Jim Lucas wrote:
On 09/20/2012 02:35 AM, Sebastian Krebs wrote:
Plaseplease update... 5.1.6 is from 2006! I read the it's required,
but I can't imagine _anything_ that it's worth it to use such an
extremely outdated,
On 09/20/2012 10:00 AM, Matijn Woudt wrote:
On Thu, Sep 20, 2012 at 6:03 PM, Jim Lucasli...@cmsws.com wrote:
On 09/20/2012 02:35 AM, Sebastian Krebs wrote:
Plaseplease update... 5.1.6 is from 2006! I read the it's required,
but I can't imagine _anything_ that it's worth it to use such an
Hi, good evening!
I'm working with an database from and older application (Firebird 1.5) and
I need some help to implement the PDO:Firebird in our projects at work. If
anybody could give me some light in this case, I would be very happy to
implement PDO with Firebird from now on.
Until last
13 matches
Mail list logo