/* * Patch for filter_var() */ if(!function_exists('filter_var')){ define('FILTER_VALIDATE_IP', 'ip'); define('FILTER_FLAG_IPV4', 'ipv4'); define('FILTER_FLAG_IPV6', 'ipv6'); define('FILTER_VALIDATE_EMAIL', 'email'); define('FILTER_FLAG_EMAIL_UNICODE', 'unicode'); function filter_var($variable, $filter, $option = false){ if($filter == 'ip'){ if($option == 'ipv4'){ if(preg_match("/(\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3})/", $variable, $matches)){ $variable = $matches[1]; return $variable; } } if($option == 'ipv6'){ if(preg_match("/\s*(([:.]{0,7}[0-9a-fA-F]{0,4}){1,8})\s*/", $variable, $matches)){ $variable = $matches[1]; return $variable; } } } if($filter == 'email'){ if($option == 'unicode' || $option == false){ if(preg_match("/\s*(\S*@\S*\.\S*)\s*/", $variable, $matches)){ $variable = $matches[1]; return $variable; } } } } }
Visit our website: www.rawpaleodiet.com
Join our Yahoo Group: RawPaleoDiet
RSS Feed Latest 50 Posts
Subject / Started by | Replies / Views | Last post | ||
---|---|---|---|---|
0 Members and 2 Guests are viewing this board. | ||||
1 Replies
1,023 Views |
June 23, 2015, 05:23:36 pm by goodsamaritan |
|||
1 Replies
1,165 Views |
April 27, 2015, 10:21:39 pm by goodsamaritan |
|||
Mammoth meat???
Started by A_Tribe_Called_Paleo |
1 Replies
1,058 Views |
April 25, 2015, 10:24:18 am by cherimoya_kid |
||
1 Replies
1,103 Views |
August 07, 2014, 12:08:12 pm by sabertooth |
|||
Palaeo man ate wild mushrooms
Started by TylerDurden |
1 Replies
880 Views |
April 22, 2015, 04:08:35 am by sabertooth |
||
Neanderthal body found in cave
Started by TylerDurden |
1 Replies
892 Views |
April 20, 2015, 10:20:55 pm by cherimoya_kid |
||
Study on ancient americans
Started by TylerDurden |
1 Replies
1,092 Views |
May 21, 2014, 11:36:19 pm by cherimoya_kid |
||
1 Replies
1,054 Views |
January 26, 2017, 09:00:21 am by goodsamaritan |
|||
Amusing unscientific claim
Started by TylerDurden |
1 Replies
985 Views |
December 21, 2016, 06:54:35 am by sabertooth |
||
1 Replies
1,161 Views |
April 29, 2014, 09:43:16 am by goodsamaritan |
|||
1 Replies
895 Views |
January 12, 2015, 10:56:52 am by goodsamaritan |
|||
1 Replies
1,250 Views |
April 28, 2017, 03:35:11 pm by TylerDurden |
|||
1 Replies
1,397 Views |
April 13, 2017, 10:03:54 am by goodsamaritan |
|||
1 Replies
1,072 Views |
August 29, 2015, 04:22:40 am by Satya |
|||
1 Replies
1,529 Views |
July 23, 2017, 01:57:28 am by surfsteve |
|||
Neanderthal Diet
Started by TylerDurden |
1 Replies
976 Views |
June 26, 2014, 04:36:10 pm by goodsamaritan |
||
1 Replies
1,504 Views |
July 19, 2017, 01:39:32 am by surfsteve |
|||
1 Replies
2,380 Views |
February 16, 2018, 03:15:02 am by dair |
|||
Homo Erectus cleverer than thought...
Started by TylerDurden |
1 Replies
2,485 Views |
February 21, 2018, 10:49:29 am by a_real_man |
||
1 Replies
1,667 Views |
August 09, 2017, 01:40:53 am by surfsteve |
|||
Smoking pot harms the foetus
Started by TylerDurden |
1 Replies
1,409 Views |
April 29, 2017, 07:20:47 am by sabertooth |
||
Baby wipes are fuelling allergies
Started by TylerDurden |
1 Replies
4,450 Views |
April 07, 2018, 01:40:51 am by a_real_man |
||
Intricate palaeo tool use
Started by TylerDurden |
1 Replies
1,014 Views |
May 08, 2015, 05:11:49 am by PaleoPhil |
||
1 Replies
4,534 Views |
April 17, 2018, 08:35:58 am by PaganGoy |
|||
1 Replies
1,457 Views |
May 13, 2017, 05:37:15 pm by goodsamaritan |
|||
HGs and Palaeo tribes intermixing....
Started by TylerDurden |
1 Replies
1,519 Views |
May 26, 2017, 11:10:32 am by goodsamaritan |
||
Yet another mammoth extinction theory
Started by TylerDurden |
1 Replies
877 Views |
April 03, 2015, 03:47:20 am by cherimoya_kid |
||
1 Replies
3,527 Views |
March 28, 2018, 12:34:39 am by PaganGoy |
|||
1 Replies
1,012 Views |
December 26, 2015, 07:59:46 pm by cherimoya_kid |
|||
1 Replies
885 Views |
March 03, 2015, 05:38:31 am by cherimoya_kid |
|||
1 Replies
1,728 Views |
August 10, 2017, 01:55:16 am by TylerDurden |
|||
1 Replies
1,026 Views |
December 15, 2016, 04:48:24 am by goodsamaritan |
|||
1 Replies
928 Views |
December 14, 2014, 08:00:12 am by cherimoya_kid |
|||
1 Replies
1,008 Views |
December 13, 2016, 04:33:21 am by goodsamaritan |
|||
New reason for start of Neolithic era
Started by TylerDurden |
1 Replies
1,256 Views |
December 22, 2013, 01:22:45 am by Iguana |
||
1 Replies
2,061 Views |
January 26, 2018, 12:03:46 am by tding |
|||
1 Replies
1,165 Views |
December 24, 2016, 05:46:59 am by TylerDurden |
|||
1 Replies
1,028 Views |
December 26, 2015, 07:48:04 pm by cherimoya_kid |
|||
1 Replies
1,001 Views |
December 17, 2014, 10:56:23 am by PaleoPhil |
|||
1 Replies
1,278 Views |
April 11, 2014, 02:37:15 pm by TylerDurden |
|||
1 Replies
1,087 Views |
January 01, 2016, 07:50:15 pm by cherimoya_kid |
|||
1 Replies
1,245 Views |
March 06, 2014, 12:20:10 am by van |
|||
Article on earlier human diet
Started by TylerDurden |
1 Replies
893 Views |
January 23, 2015, 11:29:09 pm by JeuneKoq |
||
1 Replies
924 Views |
April 18, 2015, 04:54:15 pm by JeuneKoq |
|||
More mammoth cloning hype
Started by TylerDurden |
1 Replies
963 Views |
July 30, 2016, 06:20:06 am by cherimoya_kid |
||
1 Replies
855 Views |
January 29, 2015, 05:53:18 am by TylerDurden |
|||
1 Replies
1,026 Views |
January 26, 2017, 07:54:12 am by goodsamaritan |
|||
1 Replies
1,103 Views |
March 16, 2017, 10:23:40 am by dariorpl |
|||
2 Replies
2,358 Views |
January 02, 2018, 08:56:49 pm by TylerDurden |
|||
2 Replies
1,121 Views |
August 13, 2016, 07:45:15 pm by svrn |
Normal Topic
Hot Topic (More than 15 replies)
Very Hot Topic (More than 30 replies)
Locked Topic
Sticky Topic
Poll