/* * 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 6 Guests are viewing this board. | ||||
![]() |
![]() |
Maybe make a Q/A section for new people?
Started by Poppy |
3 Replies
12,247 Views |
![]() by smokeyquartz |
![]() |
![]() |
chat room for raw paleo?
Started by smokeyquartz |
1 Replies
3,464 Views |
![]() by tonyvee |
![]() |
![]() |
10 Replies
11,622 Views |
![]() by therouting |
|
![]() |
![]() |
Before-and-after photos doesn't show
Started by thehadezb |
0 Replies
7,122 Views |
![]() by thehadezb |
![]() |
![]() |
2 Replies
7,578 Views |
![]() by sabertooth |
|
![]() |
![]() |
A subforum on food production
Started by dariorpl |
3 Replies
5,850 Views |
![]() by dariorpl |
![]() |
![]() |
13 Replies
9,275 Views |
![]() by norawnofun |
|
![]() |
![]() |
11 Replies
9,951 Views |
![]() by a_real_man |
|
![]() |
![]() |
"Science" section
Started by Iguana |
7 Replies
7,602 Views |
![]() by surfsteve |
![]() |
![]() |
10 Replies
10,887 Views |
![]() by dariorpl |
|
![]() |
![]() |
New forum software?
Started by lb_on_the_cb « 1 2 » |
25 Replies
21,162 Views |
![]() by the6step |
![]() |
![]() |
New section(s) on the forum
Started by ! |
6 Replies
8,401 Views |
![]() by TylerDurden |
![]() |
![]() |
Background color
Started by Iguana |
0 Replies
4,404 Views |
![]() by Iguana |
![]() |
![]() |
Marketplace
Started by dariorpl |
6 Replies
7,350 Views |
![]() by eveheart |
![]() |
![]() |
Problem posting picture
Started by sydney |
6 Replies
10,101 Views |
![]() by goodsamaritan |
![]() |
![]() |
Drinking water after a meal
Started by A_Tribe_Called_Paleo |
7 Replies
8,217 Views |
![]() by eveheart |
![]() |
![]() |
New Member Personal Message Limits
Started by jessica |
3 Replies
6,180 Views |
![]() by jessica |
![]() |
![]() |
1 Replies
5,202 Views |
![]() by cherimoya_kid |
|
![]() |
![]() |
HOW TO FIND A REPLY I MADE IN A TOPIC?
Started by primalgirl |
2 Replies
5,403 Views |
![]() by primalgirl |
![]() |
![]() |
How to edit/delete posts etc?
Started by Spirit Bear |
2 Replies
6,502 Views |
![]() by Spirit Bear |
![]() |
![]() |
Live Chat Box ( Facebook kinda like)
Started by achillezzz |
18 Replies
17,563 Views |
![]() by achillezzz |
![]() |
![]() |
Gross topic deleted
Started by Iguana |
6 Replies
7,654 Views |
![]() by svrn |
![]() |
![]() |
Paleo Library and Mediateka
Started by Aura |
0 Replies
4,851 Views |
![]() by Aura |
![]() |
![]() |
questions about personal messages
Started by jessica |
4 Replies
6,445 Views |
![]() by cherimoya_kid |
![]() |
![]() |
Another appeal to members
Started by TylerDurden |
8 Replies
8,880 Views |
![]() by Aura |
![]() |
![]() |
quote font size
Started by Alive |
7 Replies
7,973 Views |
![]() by cherimoya_kid |
![]() |
![]() |
mobile app?
Started by Dr. D |
2 Replies
5,654 Views |
![]() by Dr. D |
![]() |
![]() |
Adding "thanks" button below posts
Started by letsdoiteczema |
11 Replies
10,896 Views |
![]() by goodsamaritan |
![]() |
![]() |
13 Replies
17,530 Views |
![]() by cherimoya_kid |
|
![]() |
![]() |
4 Replies
6,773 Views |
![]() by PaleoPhil |
|
![]() |
![]() |
VERIFICATION LETTERS TOO HARD TO READ!
Started by primalgirl |
1 Replies
5,411 Views |
![]() by goodsamaritan |
![]() |
![]() |
spelling error
Started by Ioanna |
6 Replies
8,087 Views |
![]() by Bacchal |
![]() |
![]() |
Forum for sharing food sources
Started by Spirit Bear |
3 Replies
5,539 Views |
![]() by TylerDurden |
![]() |
![]() |
Low Carb Raw Paleo Forum
Started by Alive |
7 Replies
11,338 Views |
![]() by Alive |
![]() |
![]() |
Image verification issue
Started by Delmonico |
1 Replies
5,451 Views |
![]() by goodsamaritan |
![]() |
![]() |
Isn't this a RPD Only Forum?
Started by Chris |
17 Replies
13,080 Views |
![]() by cherimoya_kid |
![]() |
![]() |
I Suggest you Improve the Suggestion Box
Started by Chris |
0 Replies
4,822 Views |
![]() by Chris |
![]() |
![]() |
what is"Off Topic" for
Started by Alive |
3 Replies
5,748 Views |
![]() by TylerDurden |
![]() |
![]() |
Further reminder
Started by TylerDurden |
0 Replies
4,637 Views |
![]() by TylerDurden |
![]() |
![]() |
quote of the week
Started by blackrhino |
2 Replies
5,403 Views |
![]() by blackrhino |
![]() |
![]() |
Better organization and a sticky board
Started by CitrusHigh |
10 Replies
8,714 Views |
![]() by KD |
![]() |
![]() |
Better grammar etc.
Started by TylerDurden |
1 Replies
5,053 Views |
![]() by CitrusHigh |
![]() |
![]() |
3 Replies
6,090 Views |
![]() by TylerDurden |
|
![]() |
![]() |
4 Replies
6,997 Views |
![]() by Aaaaaa |
|
![]() |
![]() |
Better spelling/grammar/punctuation
Started by TylerDurden |
24 Replies
16,052 Views |
![]() by Muhammad.Sunshine |
![]() |
![]() |
Back button on Browser
Started by Fermenter Zym |
0 Replies
4,609 Views |
![]() by Fermenter Zym |
![]() |
![]() |
Country flags
Started by Löwenherz |
0 Replies
4,522 Views |
![]() by Löwenherz |
![]() |
![]() |
Logout causes 'Internal Server Error'
Started by Löwenherz |
2 Replies
5,578 Views |
![]() by Löwenherz |
![]() |
![]() |
Color scheme & Spell Check?
Started by lex_rooker |
3 Replies
6,210 Views |
![]() by lex_rooker |
![]() |
![]() |
Install Google/Scroogle Search Engine
Started by zeno |
0 Replies
4,623 Views |
![]() by zeno |
Normal Topic
Hot Topic (More than 15 replies)
Very Hot Topic (More than 30 replies)
Locked Topic
Sticky Topic
Poll