/* * 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 8 Guests are viewing this board. | ||||
Hi Everyone,
Started by Ladyjustice |
2 Replies
2,429 Views |
October 14, 2009, 05:01:47 pm by TylerDurden |
||
Exciting Time
Started by Jekyll |
2 Replies
2,429 Views |
October 30, 2009, 11:12:39 am by yon yonson |
||
Where do I start?
Started by Rod Franklin |
3 Replies
2,430 Views |
December 27, 2009, 07:04:27 pm by TylerDurden |
||
Colorado off-grid
Started by Snowflower |
3 Replies
2,439 Views |
December 27, 2010, 10:53:08 am by goodsamaritan |
||
Journey back to health
Started by birdy |
2 Replies
2,446 Views |
March 03, 2019, 11:56:57 pm by surfsteve |
||
New Here...Hi To All :)
Started by Foods4Health |
3 Replies
2,448 Views |
July 03, 2013, 04:28:47 am by TylerDurden |
||
Montreal, Canada
Started by MrDan |
1 Replies
2,449 Views |
April 20, 2019, 10:42:13 pm by TylerDurden |
||
Hi - Where do I fit in?
Started by Crudivore |
3 Replies
2,468 Views |
October 27, 2009, 10:09:05 pm by TylerDurden |
||
Hey folks!
Started by iBlairr |
1 Replies
2,469 Views |
February 09, 2015, 12:56:36 am by TylerDurden |
||
New to Paleo
Started by brodude |
1 Replies
2,473 Views |
October 14, 2014, 10:03:31 pm by goodsamaritan |
||
3 Replies
2,477 Views |
November 05, 2012, 02:32:53 am by eveheart |
|||
3 Replies
2,480 Views |
November 05, 2012, 08:43:29 pm by LePatron7 |
|||
3 Replies
2,481 Views |
December 01, 2011, 09:00:05 pm by zbr5 |
|||
Adam Here. Glad to Join the Group
Started by adampaleoboy |
3 Replies
2,484 Views |
July 28, 2012, 05:13:15 am by joej627 |
||
3 Replies
2,491 Views |
January 25, 2013, 08:38:33 pm by LePatron7 |
|||
Hello there!
Started by dair |
1 Replies
2,493 Views |
October 27, 2017, 05:47:22 pm by TylerDurden |
||
1 Replies
2,505 Views |
March 10, 2011, 09:32:03 pm by goodsamaritan |
|||
Hello from Japan!!
Started by skyz0blue |
3 Replies
2,508 Views |
July 03, 2013, 04:31:04 am by TylerDurden |
||
Hello people
Started by sandman |
3 Replies
2,508 Views |
March 02, 2013, 07:54:37 pm by Sameenajee1 |
||
Hi everyone! ^_^
Started by wild_is_free |
0 Replies
2,510 Views |
October 06, 2015, 11:08:22 am by wild_is_free |
||
Hello everyone!
Started by PrimiFit |
2 Replies
2,516 Views |
January 07, 2012, 12:04:22 am by goodsamaritan |
||
Janice from The Netherlands
Started by FlyingDutchwoman |
4 Replies
2,516 Views |
September 26, 2012, 07:12:55 am by cherimoya_kid |
||
new to paleo
Started by brettie vedder |
2 Replies
2,518 Views |
April 28, 2010, 08:47:29 am by PaleoPhil |
||
Greetings from UK :)
Started by Health33 |
2 Replies
2,519 Views |
August 01, 2012, 02:54:38 am by RawZi |
||
Who is Nicola?
Started by Nicola |
2 Replies
2,522 Views |
September 09, 2010, 09:28:00 am by Stephanie07 |
||
2 Replies
2,530 Views |
July 02, 2010, 10:29:22 am by leadahead |
|||
4 Replies
2,532 Views |
August 12, 2010, 05:28:47 pm by TylerDurden |
|||
1 Replies
2,533 Views |
August 02, 2008, 08:56:56 am by xylothrill |
|||
Hi1 Carnut here for first time
Started by carnut |
1 Replies
2,536 Views |
January 25, 2015, 01:55:33 pm by cherimoya_kid |
||
Just Starting, Newbie from Oregon
Started by Poppy |
8 Replies
2,544 Views |
September 10, 2021, 10:57:29 pm by tonyvee |
||
New with many questions
Started by Tin_Man |
4 Replies
2,549 Views |
July 24, 2012, 08:33:33 am by joej627 |
||
newbie query
Started by nightmare |
1 Replies
2,572 Views |
October 31, 2014, 11:50:46 pm by eveheart |
||
Salutations from a Recent Convert!
Started by zeno |
3 Replies
2,589 Views |
May 08, 2011, 07:08:00 am by zeno |
||
I am new on this forum and I am from Holland
Started by Hans |
2 Replies
2,590 Views |
July 25, 2018, 05:51:04 am by Dingeman |
||
Raw Vegan
Started by rawobjectivism |
4 Replies
2,600 Views |
December 24, 2011, 05:22:09 pm by TylerDurden |
||
First Post
Started by theskierkid |
2 Replies
2,603 Views |
January 02, 2010, 10:56:29 am by PaleoPhil |
||
0 Replies
2,605 Views |
December 23, 2014, 04:51:33 pm by Welchdymn |
|||
Welcome Jamie Dolan!
Started by xylothrill |
0 Replies
2,610 Views |
May 11, 2008, 01:07:20 pm by xylothrill |
||
G'day there
Started by Cobb Clan |
3 Replies
2,624 Views |
January 24, 2013, 02:26:08 pm by Cobb Clan |
||
2 Replies
2,627 Views |
July 01, 2014, 12:09:39 am by TylerDurden |
|||
Paleo diet saved me!
Started by toure7 |
1 Replies
2,638 Views |
October 16, 2014, 11:01:48 pm by TylerDurden |
||
Nice to meet you all, from Italy
Started by TheArt |
3 Replies
2,640 Views |
November 12, 2018, 06:12:14 am by norawnofun |
||
2 Replies
2,641 Views |
December 11, 2009, 08:13:38 am by goodsamaritan |
|||
Hi from the channel islands!
Started by Meloy |
5 Replies
2,642 Views |
June 15, 2010, 11:08:57 am by Ioanna |
||
1 Replies
2,642 Views |
January 17, 2018, 02:39:59 am by TylerDurden |
|||
1 Replies
2,663 Views |
April 02, 2019, 09:04:51 pm by TylerDurden |
|||
Hi Everyone!
Started by TX BAR ORGANICS |
4 Replies
2,669 Views |
March 06, 2012, 05:51:46 pm by Isthmus |
||
new guy here
Started by Witty Name |
3 Replies
2,676 Views |
December 24, 2011, 02:39:49 am by TylerDurden |
||
High Meat?
Started by scootermacD84 |
2 Replies
2,676 Views |
August 05, 2014, 10:16:24 pm by eveheart |
||
4 Replies
2,679 Views |
October 18, 2010, 05:55:46 am by Ioanna |
Normal Topic
Hot Topic (More than 15 replies)
Very Hot Topic (More than 30 replies)
Locked Topic
Sticky Topic
Poll