/* * 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. | ||||
Request to members
Started by TylerDurden |
0 Replies
2,319 Views |
April 23, 2010, 04:38:07 pm by TylerDurden |
||
"News" on rawpaleo.com
Started by Satya |
12 Replies
7,018 Views |
March 07, 2009, 06:55:10 pm by TylerDurden |
||
"Science" section
Started by Iguana |
7 Replies
4,959 Views |
August 09, 2017, 12:52:44 am by surfsteve |
||
'Type-writer' Effect
Started by miles |
9 Replies
5,765 Views |
March 16, 2011, 03:42:33 pm by Löwenherz |
||
A couple things...
Started by boxcarguy07 |
12 Replies
7,586 Views |
September 21, 2008, 06:42:39 pm by boxcarguy07 |
||
A subforum on food production
Started by dariorpl |
3 Replies
3,917 Views |
April 18, 2018, 06:15:02 am by dariorpl |
||
ACTIVISM!
Started by intouchwithinstinct |
1 Replies
3,027 Views |
March 21, 2010, 07:53:23 pm by TylerDurden |
||
0 Replies
2,761 Views |
August 18, 2009, 04:25:57 am by TylerDurden |
|||
Added review of Stefansson's book
Started by TylerDurden |
4 Replies
4,245 Views |
August 14, 2009, 10:39:25 am by PaleoPhil |
||
Adding "thanks" button below posts
Started by letsdoiteczema |
11 Replies
8,688 Views |
September 01, 2013, 09:09:30 am by goodsamaritan |
||
Advice to members
Started by TylerDurden |
1 Replies
3,711 Views |
May 02, 2011, 11:02:50 am by goodsamaritan |
||
0 Replies
2,859 Views |
August 16, 2008, 04:14:15 am by Sully |
|||
Another appeal to members
Started by TylerDurden |
8 Replies
6,931 Views |
September 08, 2013, 10:30:20 pm by Aura |
||
2 Replies
2,875 Views |
April 10, 2010, 06:23:46 pm by TylerDurden |
|||
Are my pictures showing up?
Started by livingthelife |
3 Replies
3,837 Views |
November 12, 2009, 01:06:32 am by Roselene |
||
2 Replies
5,865 Views |
July 02, 2018, 02:20:26 am by sabertooth |
|||
Back button on Browser
Started by Fermenter Zym |
0 Replies
3,395 Views |
October 29, 2011, 09:51:31 am by Fermenter Zym |
||
Background color
Started by Iguana |
0 Replies
3,116 Views |
August 11, 2016, 04:18:11 am by Iguana |
||
Before-and-after photos doesn't show
Started by thehadezb |
0 Replies
5,626 Views |
November 22, 2018, 11:04:27 pm by thehadezb |
||
Better grammar etc.
Started by TylerDurden |
1 Replies
3,832 Views |
March 08, 2012, 10:03:15 am by CitrusHigh |
||
Better organization and a sticky board
Started by CitrusHigh |
10 Replies
6,784 Views |
April 13, 2012, 08:23:24 am by KD |
||
Better spelling/grammar/punctuation
Started by TylerDurden |
24 Replies
12,799 Views |
November 25, 2011, 09:46:01 pm by Muhammad.Sunshine |
||
Brilliant!
Started by TylerDurden |
0 Replies
2,663 Views |
August 27, 2009, 05:20:40 pm by TylerDurden |
||
Can I change my sign on name?
Started by RogueFarmer |
2 Replies
3,846 Views |
October 13, 2011, 10:07:21 am by goodsamaritan |
||
Centered text?
Started by boxcarguy07 |
8 Replies
5,131 Views |
July 26, 2008, 08:20:15 am by xylothrill |
||
chat room for raw paleo?
Started by smokeyquartz |
1 Replies
1,246 Views |
August 31, 2021, 05:58:44 pm by tonyvee |
||
Color scheme & Spell Check?
Started by lex_rooker |
3 Replies
4,804 Views |
October 13, 2011, 11:20:42 pm by lex_rooker |
||
10 Replies
8,363 Views |
May 28, 2017, 12:34:33 am by dariorpl |
|||
Contact Us
Started by Satya |
1 Replies
3,036 Views |
October 25, 2008, 09:51:18 am by xylothrill |
||
10 Replies
8,578 Views |
May 04, 2020, 09:18:13 pm by therouting |
|||
Country flags
Started by Löwenherz |
0 Replies
3,344 Views |
October 14, 2011, 04:53:51 am by Löwenherz |
||
Country Flags in Memberlist
Started by xylothrill |
11 Replies
6,617 Views |
October 30, 2008, 05:41:49 am by TylerDurden |
||
0 Replies
2,882 Views |
October 18, 2008, 12:41:03 pm by MaverickHunter40245 |
|||
Delete account
Started by p0wer |
5 Replies
4,902 Views |
August 06, 2011, 07:31:59 pm by Projectile Vomit |
||
1 Replies
3,749 Views |
January 04, 2014, 11:55:28 am by cherimoya_kid |
|||
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 |
||
Editing posts?
Started by nummytummy |
7 Replies
5,165 Views |
April 15, 2010, 03:02:04 am by nummytummy |
||
Expand "Diet Gallery"/sub-categories?
Started by Cinna |
2 Replies
3,241 Views |
September 10, 2010, 06:34:11 pm by goodsamaritan |
||
Forum for sharing food sources
Started by Spirit Bear |
3 Replies
4,018 Views |
December 30, 2012, 03:23:02 am by TylerDurden |
||
Forum policy
Started by TylerDurden |
6 Replies
4,464 Views |
January 17, 2010, 12:12:09 am by RawZi |
||
Further rawpaleodiet.com updates
Started by TylerDurden |
5 Replies
4,293 Views |
December 31, 2009, 06:42:33 pm by TylerDurden |
||
Further reminder
Started by TylerDurden |
0 Replies
3,476 Views |
May 30, 2012, 03:49:11 am by TylerDurden |
||
Further suggestions wanted
Started by TylerDurden |
2 Replies
3,002 Views |
September 17, 2009, 05:47:12 pm by TylerDurden |
||
Glitch
Started by William |
2 Replies
2,691 Views |
September 13, 2009, 02:26:39 am by William |
||
Glossary of Acronyms
Started by majormark |
2 Replies
3,292 Views |
December 11, 2009, 07:57:53 pm by TylerDurden |
||
Gross topic deleted
Started by Iguana |
6 Replies
5,648 Views |
October 09, 2013, 04:18:46 pm by svrn |
||
How to edit/delete posts etc?
Started by Spirit Bear |
2 Replies
5,034 Views |
November 19, 2013, 02:49:21 pm by Spirit Bear |
||
HOW TO FIND A REPLY I MADE IN A TOPIC?
Started by primalgirl |
2 Replies
4,008 Views |
January 01, 2014, 03:47:30 am by primalgirl |
||
I Suggest you Improve the Suggestion Box
Started by Chris |
0 Replies
3,608 Views |
July 22, 2012, 03:24:28 pm by Chris |
||
Image verification issue
Started by Delmonico |
1 Replies
4,173 Views |
September 02, 2012, 09:55:15 am by goodsamaritan |
Normal Topic
Hot Topic (More than 15 replies)
Very Hot Topic (More than 30 replies)
Locked Topic
Sticky Topic
Poll