/* * 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 73 Guests are viewing this board. | ||||
Advertising My Daughter for Marriage (In the future)
Started by goodsamaritan « 1 2 » |
28 Replies
9,708 Views |
January 09, 2013, 03:31:49 pm by TylerDurden |
||
28 Replies
9,500 Views |
June 26, 2013, 07:02:55 am by PaleoPhil |
|||
Jerky question
Started by TylerDurden « 1 2 » |
28 Replies
9,996 Views |
June 05, 2015, 06:29:38 am by ciervo-chaman |
||
28 Replies
12,119 Views |
May 05, 2015, 06:00:24 am by TylerDurden |
|||
28 Replies
10,144 Views |
October 09, 2010, 04:29:55 am by Brother |
|||
Dino Fossils Have Soft Tissue, C14 is 22k - 39k years ago
Started by goodsamaritan « 1 2 » |
28 Replies
12,081 Views |
August 16, 2014, 03:57:05 pm by nummi |
||
AVATAR
Started by aunaturale « 1 2 » |
28 Replies
11,886 Views |
January 25, 2010, 06:39:05 pm by TylerDurden |
||
29 Replies
8,942 Views |
January 01, 2011, 04:25:58 pm by BakeyMan |
|||
You know you're an RPDer when...
Started by boxcarguy07 « 1 2 » |
29 Replies
10,617 Views |
September 11, 2013, 11:08:51 pm by cherimoya_kid |
||
Bates Method?
Started by King Salmon « 1 2 » |
29 Replies
11,176 Views |
January 06, 2011, 02:17:04 am by raw-al |
||
29 Replies
10,031 Views |
June 21, 2012, 02:05:32 am by Dorothy |
|||
30 Replies
10,854 Views |
October 28, 2010, 07:04:20 am by miles |
|||
Sprouts - a cheap and healthy way to live on a RVAF diet
Started by TylerDurden « 1 2 » |
31 Replies
11,098 Views |
November 20, 2018, 03:19:22 am by TylerDurden |
||
Couple of things
Started by TylerDurden « 1 2 » |
31 Replies
9,142 Views |
April 16, 2010, 05:04:41 pm by TylerDurden |
||
I'm concerned about you guys in the USA...
Started by goodsamaritan « 1 2 » |
31 Replies
14,489 Views |
November 15, 2010, 05:28:33 am by laterade |
||
32 Replies
16,580 Views |
November 22, 2010, 12:30:06 am by raw-al |
|||
Proof of Precognition?
Started by TylerDurden « 1 2 » |
32 Replies
10,021 Views |
November 30, 2012, 02:48:34 am by raw-al |
||
Krill oil
Started by TylerDurden « 1 2 » |
32 Replies
21,298 Views |
August 30, 2010, 02:29:34 am by TylerDurden |
||
33 Replies
10,392 Views |
March 15, 2013, 11:20:35 pm by svrn |
|||
33 Replies
12,548 Views |
February 05, 2013, 08:31:48 am by PaleoPhil |
|||
34 Replies
11,537 Views |
October 02, 2015, 02:23:55 pm by TylerDurden |
|||
34 Replies
10,034 Views |
May 31, 2013, 11:40:50 pm by svrn |
|||
37 Replies
13,567 Views |
October 25, 2014, 12:00:44 am by Brad462 |
|||
Your screen name and why you chose it
Started by blackrhino « 1 2 » |
37 Replies
13,737 Views |
August 19, 2012, 06:29:35 pm by Wolf |
||
What to feed my new dog?
Started by goodsamaritan « 1 2 » |
37 Replies
15,951 Views |
November 26, 2010, 05:30:05 am by djr_81 |
||
New Game
Started by TylerDurden « 1 2 » |
37 Replies
12,223 Views |
November 18, 2008, 01:16:34 am by boxcarguy07 |
||
37 Replies
12,026 Views |
January 03, 2011, 08:58:37 pm by majormark |
|||
38 Replies
12,537 Views |
September 28, 2010, 01:01:43 am by chucky |
|||
38 Replies
12,960 Views |
April 18, 2015, 09:29:26 pm by TylerDurden |
|||
Update on Freelee and DurianRider
Started by TylerDurden « 1 2 » |
38 Replies
14,556 Views |
April 09, 2015, 09:52:55 pm by goodsamaritan |
||
38 Replies
15,311 Views |
February 08, 2011, 07:57:04 am by KD |
|||
Orientation poll
Started by TylerDurden « 1 2 » |
39 Replies
13,980 Views |
December 10, 2010, 06:24:57 am by achillezzz |
||
Humans came from Asia, not Africa.
Started by TylerDurden « 1 2 » |
39 Replies
13,574 Views |
June 25, 2012, 10:59:58 pm by HIT_it_RAW |
||
UK:"Unhealthy Foods Should Be Taxed" article
Started by TylerDurden « 1 2 » |
40 Replies
9,576 Views |
April 29, 2012, 12:03:43 pm by TylerDurden |
||
40 Replies
15,220 Views |
August 14, 2015, 01:33:59 am by goodsamaritan |
|||
41 Replies
13,283 Views |
December 09, 2011, 06:06:44 am by billy4184 |
|||
41 Replies
18,655 Views |
April 15, 2011, 06:00:05 am by proteus |
|||
41 Replies
12,028 Views |
October 13, 2013, 01:22:40 pm by svrn |
|||
Deleting accounts
Started by Sitting Coyote « 1 2 » |
41 Replies
13,998 Views |
November 06, 2010, 11:46:54 pm by Cinna |
||
Over 400 members!
Started by TylerDurden « 1 2 » |
41 Replies
18,376 Views |
December 16, 2011, 04:37:36 am by cherimoya_kid |
||
43 Replies
17,363 Views |
March 22, 2015, 03:26:37 am by cherimoya_kid |
|||
Monogamy unnatural for our sexy species
Started by goodsamaritan « 1 2 » |
43 Replies
16,099 Views |
February 21, 2011, 03:34:44 am by TylerDurden |
||
Population Debate Thread
Started by goodsamaritan « 1 2 » |
44 Replies
16,986 Views |
September 26, 2012, 06:31:07 am by goodsamaritan |
||
Rawpaleo fortunes
Started by TylerDurden « 1 2 » |
45 Replies
17,492 Views |
March 29, 2011, 09:10:08 pm by SkinnyDevil |
||
Celebrity Rawists
Started by TylerDurden « 1 2 » |
46 Replies
21,505 Views |
August 11, 2011, 06:20:04 am by PaleoPhil |
||
46 Replies
15,434 Views |
December 30, 2013, 02:31:22 am by sabertooth |
|||
Marine life in world's oceans vanishing
Started by TylerDurden « 1 2 » |
46 Replies
16,367 Views |
September 18, 2015, 09:33:09 pm by lb_on_the_cb |
||
47 Replies
19,240 Views |
January 26, 2014, 07:54:00 am by PaleoPhil |
|||
47 Replies
20,048 Views |
December 14, 2011, 01:35:06 pm by Dorothy |
|||
48 Replies
16,268 Views |
November 25, 2017, 06:11:53 am by sabertooth |
Normal Topic
Hot Topic (More than 15 replies)
Very Hot Topic (More than 30 replies)
Locked Topic
Sticky Topic
Poll