[PHP] Warning at PDO:Firebird driver manual page removed.

2012-09-20 Thread Davi Marcondes Moreira
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 month

Re: [PHP] about PHP's filter_var function

2012-09-20 Thread Jim Lucas
On 09/20/2012 10:00 AM, Matijn Woudt wrote: On Thu, Sep 20, 2012 at 6:03 PM, 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 outdate

Re: [PHP] about PHP's filter_var function

2012-09-20 Thread Sebastian Krebs
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, unsuppo

Re: [PHP] about PHP's filter_var function

2012-09-20 Thread Matijn Woudt
On Thu, Sep 20, 2012 at 6:03 PM, 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 insecu

Re: [PHP] about PHP's filter_var function

2012-09-20 Thread Sebastian Krebs
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 ver

Re: [PHP] about PHP's filter_var function

2012-09-20 Thread 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, unsupported and therefore insecure and inefficient versi

Re: [PHP] about PHP's filter_var function

2012-09-20 Thread 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 version... You know: There are 3 (!) new min

[PHP] Re: CURL vs Exif_imagetype()

2012-09-20 Thread Maciek Sokolewicz
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 exif_image

[PHP] CURL vs Exif_imagetype()

2012-09-20 Thread Rango
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 webho

Re: [PHP] about PHP's filter_var function

2012-09-20 Thread Sebastian Krebs
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

Re: [PHP] about PHP's filter_var function

2012-09-20 Thread Vikash Kumar
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 wrote: > Hello: >I want to use filter_var function by this way: > > $ip = "1

[PHP] about PHP's filter_var function

2012-09-20 Thread lx
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 {