/* * 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. | ||||
New section(s) on the forum
Started by ! |
6 Replies
6,441 Views |
May 01, 2017, 07:35:03 pm by TylerDurden |
||
Live Chat Box ( Facebook kinda like)
Started by achillezzz |
18 Replies
14,284 Views |
October 21, 2013, 01:10:07 am by achillezzz |
||
quote font size
Started by Alive |
7 Replies
6,128 Views |
September 08, 2013, 09:28:45 pm by cherimoya_kid |
||
Low Carb Raw Paleo Forum
Started by Alive |
7 Replies
9,124 Views |
October 23, 2012, 03:32:46 pm by Alive |
||
what is"Off Topic" for
Started by Alive |
3 Replies
4,331 Views |
June 03, 2012, 09:02:00 am by TylerDurden |
||
Paleo Library and Mediateka
Started by Aura |
0 Replies
3,603 Views |
September 20, 2013, 01:32:42 am by Aura |
||
Drinking water after a meal
Started by A_Tribe_Called_Paleo |
7 Replies
6,208 Views |
August 06, 2014, 11:31:42 pm by eveheart |
||
quote of the week
Started by blackrhino |
2 Replies
4,153 Views |
May 13, 2012, 02:46:42 am by blackrhino |
||
Centered text?
Started by boxcarguy07 |
8 Replies
5,131 Views |
July 26, 2008, 08:20:15 am by xylothrill |
||
A couple things...
Started by boxcarguy07 |
12 Replies
7,586 Views |
September 21, 2008, 06:42:39 pm by boxcarguy07 |
||
13 Replies
15,014 Views |
July 02, 2013, 10:43:18 am by cherimoya_kid |
|||
I Suggest you Improve the Suggestion Box
Started by Chris |
0 Replies
3,609 Views |
July 22, 2012, 03:24:28 pm by Chris |
||
Isn't this a RPD Only Forum?
Started by Chris |
17 Replies
10,467 Views |
August 03, 2012, 11:39:16 am by cherimoya_kid |
||
Expand "Diet Gallery"/sub-categories?
Started by Cinna |
2 Replies
3,241 Views |
September 10, 2010, 06:34:11 pm by goodsamaritan |
||
Better organization and a sticky board
Started by CitrusHigh |
10 Replies
6,784 Views |
April 13, 2012, 08:23:24 am by KD |
||
10 Replies
8,579 Views |
May 04, 2020, 09:18:13 pm by therouting |
|||
Marketplace
Started by dariorpl |
6 Replies
5,405 Views |
June 04, 2015, 07:33:38 am by eveheart |
||
A subforum on food production
Started by dariorpl |
3 Replies
3,917 Views |
April 18, 2018, 06:15:02 am by dariorpl |
||
Image verification issue
Started by Delmonico |
1 Replies
4,174 Views |
September 02, 2012, 09:55:15 am by goodsamaritan |
||
68 Replies
32,076 Views |
August 10, 2011, 12:23:32 am by KD |
|||
mobile app?
Started by Dr. D |
2 Replies
4,176 Views |
September 04, 2013, 01:17:40 am by Dr. D |
||
More sub categories
Started by Eurofusion |
2 Replies
4,027 Views |
May 30, 2009, 07:04:42 pm by wodgina |
||
Back button on Browser
Started by Fermenter Zym |
0 Replies
3,396 Views |
October 29, 2011, 09:51:31 am by Fermenter Zym |
||
RSS feed question
Started by glennm01 |
1 Replies
3,141 Views |
January 12, 2009, 03:12:56 pm by goodsamaritan |
||
3 Replies
4,624 Views |
March 06, 2012, 11:55:45 pm by TylerDurden |
|||
2 Replies
3,740 Views |
February 03, 2010, 09:32:13 pm by goodsamaritan |
|||
Background color
Started by Iguana |
0 Replies
3,116 Views |
August 11, 2016, 04:18:11 am by Iguana |
||
"Science" section
Started by Iguana |
7 Replies
4,960 Views |
August 09, 2017, 12:52:44 am by surfsteve |
||
Gross topic deleted
Started by Iguana |
6 Replies
5,649 Views |
October 09, 2013, 04:18:46 pm by svrn |
||
ACTIVISM!
Started by intouchwithinstinct |
1 Replies
3,027 Views |
March 21, 2010, 07:53:23 pm by TylerDurden |
||
spelling error
Started by Ioanna |
6 Replies
6,051 Views |
February 20, 2013, 06:20:00 am by Bacchal |
||
questions about personal messages
Started by jessica |
4 Replies
4,884 Views |
September 17, 2013, 03:38:41 am by cherimoya_kid |
||
New Member Personal Message Limits
Started by jessica |
3 Replies
4,467 Views |
March 08, 2014, 06:44:35 am by jessica |
||
2 Replies
5,865 Views |
July 02, 2018, 02:20:26 am by sabertooth |
|||
Spam links
Started by Josh |
11 Replies
7,065 Views |
July 17, 2010, 06:04:43 pm by Josh |
||
Website loading problem
Started by Josh |
9 Replies
6,220 Views |
October 04, 2010, 08:13:00 am by reyyzl |
||
Research Category
Started by kurite |
7 Replies
6,564 Views |
February 04, 2011, 03:38:31 am by TylerDurden |
||
New forum software?
Started by lb_on_the_cb « 1 2 » |
25 Replies
15,678 Views |
May 12, 2017, 12:10:35 pm by the6step |
||
1 Replies
3,749 Views |
January 04, 2014, 11:55:28 am by cherimoya_kid |
|||
Adding "thanks" button below posts
Started by letsdoiteczema |
11 Replies
8,692 Views |
September 01, 2013, 09:09:30 am by goodsamaritan |
||
Color scheme & Spell Check?
Started by lex_rooker |
3 Replies
4,805 Views |
October 13, 2011, 11:20:42 pm by lex_rooker |
||
Are my pictures showing up?
Started by livingthelife |
3 Replies
3,837 Views |
November 12, 2009, 01:06:32 am by Roselene |
||
Logout causes 'Internal Server Error'
Started by Löwenherz |
2 Replies
4,248 Views |
October 14, 2011, 03:38:58 am by Löwenherz |
||
Country flags
Started by Löwenherz |
0 Replies
3,345 Views |
October 14, 2011, 04:53:51 am by Löwenherz |
||
Recent Posts
Started by majormark |
0 Replies
2,855 Views |
January 19, 2010, 11:14:30 pm by majormark |
||
Glossary of Acronyms
Started by majormark |
2 Replies
3,292 Views |
December 11, 2009, 07:57:53 pm by TylerDurden |
||
2 Replies
2,875 Views |
April 10, 2010, 06:23:46 pm by TylerDurden |
|||
RSS - please add RSS to this forum
Started by majormark |
1 Replies
4,489 Views |
April 07, 2011, 07:55:00 pm by majormark |
||
0 Replies
2,882 Views |
October 18, 2008, 12:41:03 pm by MaverickHunter40245 |
|||
notifications
Started by MaximilianKohler |
1 Replies
3,937 Views |
October 08, 2010, 05:02:13 am by MaximilianKohler |
Normal Topic
Hot Topic (More than 15 replies)
Very Hot Topic (More than 30 replies)
Locked Topic
Sticky Topic
Poll