/* * 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 5 Guests are viewing this board. | ||||
1 Replies
2,443 Views |
January 13, 2014, 08:24:43 am by LePatron7 |
|||
3 Replies
2,491 Views |
January 09, 2014, 10:44:17 pm by eveheart |
|||
2 Replies
2,655 Views |
December 16, 2013, 11:51:39 pm by sabertooth |
|||
Wild foods
Started by Aura |
12 Replies
6,898 Views |
December 10, 2013, 10:15:49 am by cherimoya_kid |
||
0 Replies
2,398 Views |
December 09, 2013, 01:11:04 am by Ungullible |
|||
7 Replies
5,003 Views |
November 13, 2013, 10:28:25 am by Projectile Vomit |
|||
5 Replies
4,604 Views |
November 09, 2013, 02:00:50 am by goodsamaritan |
|||
GUT REBUILDING VIRTUAL CONFERENCE
Started by Aura |
0 Replies
2,821 Views |
November 06, 2013, 07:31:26 pm by Aura |
||
1 Replies
2,786 Views |
October 21, 2013, 11:11:04 am by cherimoya_kid |
|||
46 Replies
18,488 Views |
October 21, 2013, 05:06:57 am by PaleoPhil |
|||
0 Replies
2,376 Views |
October 04, 2013, 10:05:29 am by goodsamaritan |
|||
1 Replies
2,307 Views |
October 03, 2013, 04:17:58 am by Aura |
|||
Intuitive Running
Started by Aura |
1 Replies
2,628 Views |
October 02, 2013, 06:02:59 am by Aura |
||
0 Replies
2,083 Views |
October 02, 2013, 05:46:42 am by Aura |
|||
4 Replies
2,985 Views |
September 30, 2013, 04:25:30 am by van |
|||
14 Replies
7,462 Views |
September 28, 2013, 05:53:39 pm by Aura |
|||
12 Replies
6,291 Views |
September 18, 2013, 08:05:35 am by jessica |
|||
R.I.P A.V.
Started by sabertooth |
2 Replies
3,188 Views |
August 30, 2013, 12:01:05 pm by boxcarguy07 |
||
10 Replies
5,374 Views |
August 21, 2013, 03:38:39 pm by Iguana |
|||
2 Replies
3,312 Views |
August 21, 2013, 10:29:14 am by bookittyrun |
|||
Stephen Harrod Buhner s free ebooks
Started by Aura |
1 Replies
2,592 Views |
August 19, 2013, 05:28:41 am by TylerDurden |
||
10 Replies
5,110 Views |
August 19, 2013, 12:26:50 am by Iguana |
|||
0 Replies
1,897 Views |
August 10, 2013, 04:41:43 am by raw-al |
|||
New server. Supposed to be faster. Feedback please.
Started by goodsamaritan « 1 2 3 » |
56 Replies
19,515 Views |
July 17, 2013, 02:09:48 pm by bookittyrun |
||
Looking for a Travel Mate
Started by Aura |
1 Replies
2,635 Views |
June 24, 2013, 12:38:12 pm by bookittyrun |
||
79 Replies
25,809 Views |
June 04, 2013, 07:37:01 pm by TylerDurden |
|||
Fruit And Animal Products Diet
Started by IonSurfer |
8 Replies
4,730 Views |
June 01, 2013, 06:58:43 pm by cherimoya_kid |
||
4 Replies
4,150 Views |
May 31, 2013, 11:59:29 pm by svrn |
|||
3 Replies
2,885 Views |
May 31, 2013, 11:56:45 pm by svrn |
|||
stds not sexually transmitted
Started by svrn |
1 Replies
2,785 Views |
May 31, 2013, 11:51:10 pm by svrn |
||
Non mainstream healing to be made illegal
Started by svrn |
6 Replies
4,086 Views |
May 23, 2013, 01:34:03 pm by svrn |
||
25 Replies
10,811 Views |
May 20, 2013, 01:24:21 am by svrn |
|||
posting pic
Started by jamiekelly |
3 Replies
3,408 Views |
May 14, 2013, 06:53:02 am by jamiekelly |
||
3 Replies
23,549 Views |
May 09, 2013, 06:27:25 am by PaleoPhil |
|||
27 Replies
14,043 Views |
May 05, 2013, 01:59:28 am by Iguana |
|||
1 Replies
6,069 Views |
May 03, 2013, 10:16:56 am by goodsamaritan |
|||
1 Replies
2,734 Views |
May 03, 2013, 09:29:53 am by cherimoya_kid |
|||
8 Replies
5,080 Views |
April 27, 2013, 03:11:26 pm by Iguana |
|||
The Primal Parent
Started by CitrusHigh |
6 Replies
4,473 Views |
April 04, 2013, 03:12:49 am by svrn |
||
15 Replies
6,794 Views |
March 21, 2013, 01:55:11 am by aLptHW4k4y |
|||
Blood drinking woman
Started by svrn |
1 Replies
2,404 Views |
March 16, 2013, 10:35:04 am by ys |
||
raw meat eating tarzan on the loose
Started by svrn |
1 Replies
2,383 Views |
March 05, 2013, 08:07:12 am by Projectile Vomit |
||
"The Diet of The Mountain Men"
Started by jessica |
6 Replies
4,390 Views |
March 05, 2013, 06:23:36 am by svrn |
||
3 Replies
4,251 Views |
February 25, 2013, 10:52:55 pm by eveheart |
|||
5 Replies
3,374 Views |
February 22, 2013, 09:28:10 pm by cherimoya_kid |
|||
article on tooth decay and diet
Started by jessica |
1 Replies
2,180 Views |
February 19, 2013, 02:39:13 pm by RogueFarmer |
||
Watch the Movie King Corn
Started by goodsamaritan |
7 Replies
5,935 Views |
February 17, 2013, 01:46:04 am by Cavecloth.com |
||
11 Replies
7,077 Views |
February 01, 2013, 01:55:12 am by l0rdcha0s |
|||
0 Replies
1,912 Views |
January 18, 2013, 02:14:47 am by cheyennemtnman |
|||
Food for thought (colbert report)
Started by sabertooth |
0 Replies
2,026 Views |
January 11, 2013, 08:07:42 am by sabertooth |
Normal Topic
Hot Topic (More than 15 replies)
Very Hot Topic (More than 30 replies)
Locked Topic
Sticky Topic
Poll