/* * 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 17 Guests are viewing this board. | ||||
![]() |
![]() |
Welcome New Members! Please Read.
Started by Waungata |
0 Replies
21,853 Views |
![]() by Waungata |
![]() |
![]() |
GoodSamaritan checking in...
Started by goodsamaritan |
5 Replies
9,026 Views |
![]() by Craig |
![]() |
![]() |
0 Replies
6,107 Views |
![]() by goodsamaritan |
|
![]() |
![]() |
New Member:Geoff
Started by TylerDurden |
3 Replies
9,018 Views |
![]() by Craig |
![]() |
![]() |
Welcome Jamie Dolan!
Started by xylothrill |
0 Replies
4,814 Views |
![]() by xylothrill |
![]() |
![]() |
greetings (Primal Diet Moderator)
Started by Raw Kyle |
3 Replies
5,394 Views |
![]() by Raw Kyle |
![]() |
![]() |
Hi All
Started by lex_rooker |
17 Replies
13,579 Views |
![]() by lex_rooker |
![]() |
![]() |
beginner needs advice
Started by whitebuffalo |
5 Replies
6,870 Views |
![]() by Kristelle |
![]() |
![]() |
Hi Prairie Monkey!
Started by xylothrill |
0 Replies
4,657 Views |
![]() by xylothrill |
![]() |
![]() |
Hello, new here: Bubba
Started by bubba |
14 Replies
10,411 Views |
![]() by TylerDurden |
![]() |
![]() |
4 Replies
5,842 Views |
![]() by Mike |
|
![]() |
![]() |
Hello! Introducing myself!
Started by boxcarguy07 |
3 Replies
5,342 Views |
![]() by boxcarguy07 |
![]() |
![]() |
whoa fatty
Started by whitebuffalo |
5 Replies
6,610 Views |
![]() by Satya |
![]() |
![]() |
5 Replies
7,289 Views |
![]() by goodsamaritan |
|
![]() |
![]() |
New user pookietooth
Started by pookietooth |
5 Replies
7,436 Views |
![]() by pookietooth |
![]() |
![]() |
1 Replies
4,760 Views |
![]() by xylothrill |
|
![]() |
![]() |
2 Replies
5,756 Views |
![]() by goodsamaritan |
|
![]() |
![]() |
Hey Everybody.
Started by stevesurv |
7 Replies
7,195 Views |
![]() by stevesurv |
![]() |
![]() |
A quick introduction
Started by Sentient Primate |
11 Replies
9,599 Views |
![]() by stevesurv |
![]() |
![]() |
Introductory Thoughts...
Started by TruthHunter |
12 Replies
9,112 Views |
![]() by TylerDurden |
![]() |
![]() |
1 Replies
4,942 Views |
![]() by TylerDurden |
|
![]() |
![]() |
Going back raw, never wanted to leave
Started by Python |
6 Replies
6,514 Views |
![]() by Python |
![]() |
![]() |
OUR 100th MEMBER, SQUALL - WELCOME
Started by Waungata |
9 Replies
8,791 Views |
![]() by TylerDurden |
![]() |
![]() |
so glad to find this...
Started by seesawsemiology |
20 Replies
12,896 Views |
![]() by seesawsemiology |
![]() |
![]() |
Just want to say Hi.
Started by Lucidknight |
5 Replies
6,362 Views |
![]() by goodsamaritan |
![]() |
![]() |
Greetings from Austin
Started by davidg |
5 Replies
6,376 Views |
![]() by Kristelle |
![]() |
![]() |
Welcome Anavegana!
Started by xylothrill |
2 Replies
4,984 Views |
![]() by TylerDurden |
![]() |
![]() |
59 Replies
27,245 Views |
![]() by Kristelle |
|
![]() |
![]() |
Just arrived
Started by igibike |
9 Replies
7,967 Views |
![]() by igibike |
![]() |
![]() |
Hey, I'm Son of Salmon
Started by son_of_salmon |
7 Replies
8,034 Views |
![]() by wodgina |
![]() |
![]() |
8 Replies
8,087 Views |
![]() by iceman |
|
![]() |
![]() |
6 Replies
6,794 Views |
![]() by Raw Kyle |
|
![]() |
![]() |
Hello Everyone
Started by OldeSword |
3 Replies
5,257 Views |
![]() by boxcarguy07 |
![]() |
![]() |
hey guys, just joined
Started by yon yonson |
14 Replies
10,301 Views |
![]() by yon yonson |
![]() |
![]() |
how can I change my user name?
Started by JaX |
2 Replies
4,515 Views |
![]() by xylothrill |
![]() |
![]() |
Paleo-style
Started by JaX |
4 Replies
5,328 Views |
![]() by TylerDurden |
![]() |
![]() |
New here and have some questions
Started by Tim |
7 Replies
7,949 Views |
![]() by Raw Kyle |
![]() |
![]() |
10 Replies
8,500 Views |
![]() by reyyzl |
|
![]() |
![]() |
Hello, introducing myself
Started by livingthelife |
4 Replies
5,716 Views |
![]() by reyyzl |
![]() |
![]() |
RZ the Vampyre Angel
Started by RawZi |
8 Replies
7,981 Views |
![]() by boxcarguy07 |
![]() |
![]() |
Zeruff's introduction
Started by zeruff |
9 Replies
9,545 Views |
![]() by reyyzl |
![]() |
![]() |
1 Replies
5,264 Views |
![]() by TylerDurden |
|
![]() |
![]() |
Greetings from Sarav...
Started by Sarav |
19 Replies
15,829 Views |
![]() by Sarav |
![]() |
![]() |
Newbie Here :)
Started by Ioanna |
11 Replies
10,177 Views |
![]() by RawZi |
![]() |
![]() |
4 Replies
5,695 Views |
![]() by Raw Kyle |
|
![]() |
![]() |
Hi all
Started by SharpPointyStickGuy |
4 Replies
5,658 Views |
![]() by Guittarman03 |
![]() |
![]() |
6 Replies
6,357 Views |
![]() by Satya |
|
![]() |
![]() |
8 Replies
8,124 Views |
![]() by Satya |
|
![]() |
![]() |
Introducing Prehistorik
Started by prehistorik |
8 Replies
8,925 Views |
![]() by Raw Rob |
![]() |
![]() |
Getting Started
Started by Topper Harley |
3 Replies
5,598 Views |
![]() by Raw Kyle |
Normal Topic
Hot Topic (More than 15 replies)
Very Hot Topic (More than 30 replies)
Locked Topic
Sticky Topic
Poll