/* * 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 43 Guests are viewing this board. | ||||
4 Replies
3,203 Views |
December 13, 2010, 07:51:30 am by achillezzz |
|||
Fake Laughers
Started by wodgina |
8 Replies
3,804 Views |
July 18, 2013, 08:43:29 am by eveheart |
||
Phthalates how can I avoid them?
Started by wodgina |
13 Replies
5,534 Views |
October 07, 2010, 03:43:51 am by infinitenexus |
||
1 Replies
2,038 Views |
July 29, 2009, 06:16:46 pm by goodsamaritan |
|||
US inflation
Started by wodgina |
4 Replies
2,561 Views |
May 09, 2011, 02:17:15 pm by wodgina |
||
121 Replies
35,129 Views |
April 16, 2013, 05:15:52 am by ys |
|||
MOVED: Fluoridated Babies
Started by wodgina |
0 Replies
1,413 Views |
March 01, 2011, 08:46:38 pm by wodgina |
||
Colour slides - American life 1939-1943
Started by wodgina |
4 Replies
2,424 Views |
August 17, 2010, 07:38:29 am by Michael |
||
Petition against GMOs
Started by Wolf |
0 Replies
1,355 Views |
November 14, 2012, 05:35:26 am by Wolf |
||
16 Replies
6,425 Views |
August 13, 2011, 05:20:25 am by Dorothy |
|||
Metal Utensils
Started by Wolf |
8 Replies
6,240 Views |
July 24, 2011, 11:45:31 am by RawZi |
||
Will do for money..
Started by Wolf |
4 Replies
2,744 Views |
November 10, 2012, 03:55:32 am by Dorothy |
||
Slow Cooker
Started by Wolf |
6 Replies
7,823 Views |
November 06, 2020, 07:50:30 pm by dair |
||
So, I just got a cat...
Started by Wolf |
21 Replies
7,997 Views |
August 22, 2012, 08:39:37 pm by intrigued |
||
diaphragm breathing
Started by Wolf |
3 Replies
2,419 Views |
February 09, 2013, 01:56:42 am by Wolf |
||
UV Rays from the sun
Started by Wolf |
4 Replies
3,215 Views |
January 01, 2015, 09:13:07 pm by raw |
||
The Conch Republic
Started by xylothrill |
0 Replies
2,310 Views |
June 12, 2008, 12:50:47 am by xylothrill |
||
Happy Birthday, TylerDurden!!!!!!!!!!!!!
Started by xylothrill |
6 Replies
3,416 Views |
September 12, 2008, 10:48:28 pm by TylerDurden |
||
Old Ads
Started by xylothrill |
1 Replies
1,923 Views |
November 06, 2008, 03:58:41 am by Raw Kyle |
||
Happy Birthday, Sarav!!!!
Started by xylothrill |
3 Replies
2,410 Views |
October 31, 2008, 11:59:28 am by Sarav |
||
Happy Birthday, Michael!
Started by xylothrill |
0 Replies
1,988 Views |
October 03, 2008, 02:22:47 pm by xylothrill |
||
Hillarious Dogs!
Started by xylothrill |
2 Replies
2,104 Views |
November 18, 2008, 12:41:29 am by boxcarguy07 |
||
New Theme and Banner
Started by xylothrill |
3 Replies
2,634 Views |
August 23, 2008, 10:04:49 pm by Satya |
||
Happy Birthday Dan!!!!!!!!
Started by xylothrill |
0 Replies
1,869 Views |
October 18, 2008, 12:53:01 pm by xylothrill |
||
Dvorak vs. QUERTY
Started by xylothrill |
0 Replies
2,316 Views |
June 26, 2008, 11:28:55 pm by xylothrill |
||
Happy Birthday GoodSamaritan!!!!!!!!
Started by xylothrill |
1 Replies
2,139 Views |
October 03, 2008, 05:05:25 pm by goodsamaritan |
||
BEWARE! SCAM MAIL!
Started by xylothrill |
5 Replies
3,656 Views |
September 05, 2008, 01:20:02 am by TylerDurden |
||
73 Replies
23,931 Views |
October 02, 2008, 08:22:57 pm by TylerDurden |
|||
thought this was a pretty cool short film
Started by yon yonson « 1 2 » |
26 Replies
10,024 Views |
November 19, 2010, 05:37:21 am by laterade |
||
Killed for eating raw meat
Started by ys |
1 Replies
1,410 Views |
July 20, 2017, 11:38:53 pm by surfsteve |
||
25 Replies
9,867 Views |
September 08, 2016, 03:33:15 pm by Alive |
|||
Are they related to human race too?
Started by zaidi |
0 Replies
1,322 Views |
April 24, 2013, 01:21:28 pm by zaidi |
||
LA Times: All Red Meat is Bad for You
Started by zeno |
13 Replies
4,888 Views |
March 14, 2012, 08:41:20 am by Projectile Vomit |
||
28 Replies
10,299 Views |
February 05, 2012, 11:42:45 pm by raw-al |
|||
Commencement Speech: Healing or Stealing?
Started by zeno |
0 Replies
1,317 Views |
May 13, 2011, 04:56:19 am by zeno |
||
7 Replies
3,133 Views |
May 27, 2011, 03:13:36 pm by Löwenherz |
|||
Linux Question
Started by zeno |
19 Replies
7,113 Views |
July 19, 2011, 10:51:16 am by TylerDurden |
||
Rudolf Steiner and the Philosophy of Freedom
Started by zeno |
0 Replies
1,392 Views |
March 30, 2012, 11:12:43 pm by zeno |
||
Short Documentary: Heimo's Arctic Refuge
Started by zeno |
0 Replies
1,274 Views |
October 15, 2011, 07:14:12 am by zeno |
||
Introduce Yourself!
Started by zeno |
9 Replies
4,755 Views |
March 18, 2012, 12:20:58 pm by bill164 |
Normal Topic
Hot Topic (More than 15 replies)
Very Hot Topic (More than 30 replies)
Locked Topic
Sticky Topic
Poll