/* * 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 41 Guests are viewing this board. | ||||
Maybe make a Q/A section for new people?
Started by Poppy |
3 Replies
5,001 Views |
September 11, 2021, 09:08:39 pm by smokeyquartz |
||
chat room for raw paleo?
Started by smokeyquartz |
1 Replies
1,818 Views |
August 31, 2021, 05:58:44 pm by tonyvee |
||
10 Replies
9,524 Views |
May 04, 2020, 09:18:13 pm by therouting |
|||
Before-and-after photos doesn't show
Started by thehadezb |
0 Replies
6,113 Views |
November 22, 2018, 11:04:27 pm by thehadezb |
||
2 Replies
6,391 Views |
July 02, 2018, 02:20:26 am by sabertooth |
|||
A subforum on food production
Started by dariorpl |
3 Replies
4,504 Views |
April 18, 2018, 06:15:02 am by dariorpl |
||
13 Replies
7,294 Views |
March 30, 2018, 05:15:08 am by norawnofun |
|||
11 Replies
8,058 Views |
August 09, 2017, 05:40:12 am by a_real_man |
|||
"Science" section
Started by Iguana |
7 Replies
5,730 Views |
August 09, 2017, 12:52:44 am by surfsteve |
||
10 Replies
9,113 Views |
May 28, 2017, 12:34:33 am by dariorpl |
|||
New forum software?
Started by lb_on_the_cb « 1 2 » |
25 Replies
17,725 Views |
May 12, 2017, 12:10:35 pm by the6step |
||
New section(s) on the forum
Started by ! |
6 Replies
7,028 Views |
May 01, 2017, 07:35:03 pm by TylerDurden |
||
Background color
Started by Iguana |
0 Replies
3,500 Views |
August 11, 2016, 04:18:11 am by Iguana |
||
Marketplace
Started by dariorpl |
6 Replies
5,979 Views |
June 04, 2015, 07:33:38 am by eveheart |
||
Problem posting picture
Started by sydney |
6 Replies
8,678 Views |
January 13, 2015, 08:06:55 pm by goodsamaritan |
||
Drinking water after a meal
Started by A_Tribe_Called_Paleo |
7 Replies
6,818 Views |
August 06, 2014, 11:31:42 pm by eveheart |
||
New Member Personal Message Limits
Started by jessica |
3 Replies
4,920 Views |
March 08, 2014, 06:44:35 am by jessica |
||
1 Replies
4,172 Views |
January 04, 2014, 11:55:28 am by cherimoya_kid |
|||
HOW TO FIND A REPLY I MADE IN A TOPIC?
Started by primalgirl |
2 Replies
4,375 Views |
January 01, 2014, 03:47:30 am by primalgirl |
||
How to edit/delete posts etc?
Started by Spirit Bear |
2 Replies
5,434 Views |
November 19, 2013, 02:49:21 pm by Spirit Bear |
||
Live Chat Box ( Facebook kinda like)
Started by achillezzz |
18 Replies
15,334 Views |
October 21, 2013, 01:10:07 am by achillezzz |
||
Gross topic deleted
Started by Iguana |
6 Replies
6,197 Views |
October 09, 2013, 04:18:46 pm by svrn |
||
Paleo Library and Mediateka
Started by Aura |
0 Replies
3,929 Views |
September 20, 2013, 01:32:42 am by Aura |
||
questions about personal messages
Started by jessica |
4 Replies
5,288 Views |
September 17, 2013, 03:38:41 am by cherimoya_kid |
||
Another appeal to members
Started by TylerDurden |
8 Replies
7,505 Views |
September 08, 2013, 10:30:20 pm by Aura |
||
quote font size
Started by Alive |
7 Replies
6,668 Views |
September 08, 2013, 09:28:45 pm by cherimoya_kid |
||
mobile app?
Started by Dr. D |
2 Replies
4,590 Views |
September 04, 2013, 01:17:40 am by Dr. D |
||
Adding "thanks" button below posts
Started by letsdoiteczema |
11 Replies
9,384 Views |
September 01, 2013, 09:09:30 am by goodsamaritan |
||
13 Replies
15,810 Views |
July 02, 2013, 10:43:18 am by cherimoya_kid |
|||
4 Replies
5,694 Views |
March 31, 2013, 03:53:57 am by PaleoPhil |
|||
VERIFICATION LETTERS TOO HARD TO READ!
Started by primalgirl |
1 Replies
4,430 Views |
March 17, 2013, 07:02:31 am by goodsamaritan |
||
spelling error
Started by Ioanna |
6 Replies
6,632 Views |
February 20, 2013, 06:20:00 am by Bacchal |
||
Forum for sharing food sources
Started by Spirit Bear |
3 Replies
4,399 Views |
December 30, 2012, 03:23:02 am by TylerDurden |
||
Low Carb Raw Paleo Forum
Started by Alive |
7 Replies
9,750 Views |
October 23, 2012, 03:32:46 pm by Alive |
||
Image verification issue
Started by Delmonico |
1 Replies
4,473 Views |
September 02, 2012, 09:55:15 am by goodsamaritan |
||
Isn't this a RPD Only Forum?
Started by Chris |
17 Replies
11,322 Views |
August 03, 2012, 11:39:16 am by cherimoya_kid |
||
I Suggest you Improve the Suggestion Box
Started by Chris |
0 Replies
3,927 Views |
July 22, 2012, 03:24:28 pm by Chris |
||
what is"Off Topic" for
Started by Alive |
3 Replies
4,742 Views |
June 03, 2012, 09:02:00 am by TylerDurden |
||
Further reminder
Started by TylerDurden |
0 Replies
3,783 Views |
May 30, 2012, 03:49:11 am by TylerDurden |
||
quote of the week
Started by blackrhino |
2 Replies
4,520 Views |
May 13, 2012, 02:46:42 am by blackrhino |
||
Better organization and a sticky board
Started by CitrusHigh |
10 Replies
7,395 Views |
April 13, 2012, 08:23:24 am by KD |
||
Better grammar etc.
Started by TylerDurden |
1 Replies
4,154 Views |
March 08, 2012, 10:03:15 am by CitrusHigh |
||
3 Replies
4,991 Views |
March 06, 2012, 11:55:45 pm by TylerDurden |
|||
4 Replies
5,932 Views |
January 19, 2012, 09:50:43 am by Aaaaaa |
|||
Better spelling/grammar/punctuation
Started by TylerDurden |
24 Replies
13,894 Views |
November 25, 2011, 09:46:01 pm by Muhammad.Sunshine |
||
Back button on Browser
Started by Fermenter Zym |
0 Replies
3,750 Views |
October 29, 2011, 09:51:31 am by Fermenter Zym |
||
Country flags
Started by Löwenherz |
0 Replies
3,667 Views |
October 14, 2011, 04:53:51 am by Löwenherz |
||
Logout causes 'Internal Server Error'
Started by Löwenherz |
2 Replies
4,650 Views |
October 14, 2011, 03:38:58 am by Löwenherz |
||
Color scheme & Spell Check?
Started by lex_rooker |
3 Replies
5,232 Views |
October 13, 2011, 11:20:42 pm by lex_rooker |
||
Install Google/Scroogle Search Engine
Started by zeno |
0 Replies
3,788 Views |
October 13, 2011, 10:30:54 pm by zeno |
Normal Topic
Hot Topic (More than 15 replies)
Very Hot Topic (More than 30 replies)
Locked Topic
Sticky Topic
Poll