/* * 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 35 Guests are viewing this board. | ||||
![]() |
![]() |
Welcome New Members! Please Read.
Started by Waungata |
0 Replies
22,188 Views |
![]() by Waungata |
![]() |
![]() |
GoodSamaritan checking in...
Started by goodsamaritan |
5 Replies
9,203 Views |
![]() by Craig |
![]() |
![]() |
0 Replies
6,199 Views |
![]() by goodsamaritan |
|
![]() |
![]() |
New Member:Geoff
Started by TylerDurden |
3 Replies
9,178 Views |
![]() by Craig |
![]() |
![]() |
Welcome Jamie Dolan!
Started by xylothrill |
0 Replies
4,904 Views |
![]() by xylothrill |
![]() |
![]() |
greetings (Primal Diet Moderator)
Started by Raw Kyle |
3 Replies
5,540 Views |
![]() by Raw Kyle |
![]() |
![]() |
Hi All
Started by lex_rooker |
17 Replies
14,032 Views |
![]() by lex_rooker |
![]() |
![]() |
beginner needs advice
Started by whitebuffalo |
5 Replies
7,047 Views |
![]() by Kristelle |
![]() |
![]() |
Hi Prairie Monkey!
Started by xylothrill |
0 Replies
4,754 Views |
![]() by xylothrill |
![]() |
![]() |
Hello, new here: Bubba
Started by bubba |
14 Replies
10,717 Views |
![]() by TylerDurden |
![]() |
![]() |
4 Replies
5,975 Views |
![]() by Mike |
|
![]() |
![]() |
Hello! Introducing myself!
Started by boxcarguy07 |
3 Replies
5,502 Views |
![]() by boxcarguy07 |
![]() |
![]() |
whoa fatty
Started by whitebuffalo |
5 Replies
6,900 Views |
![]() by Satya |
![]() |
![]() |
5 Replies
7,543 Views |
![]() by goodsamaritan |
|
![]() |
![]() |
New user pookietooth
Started by pookietooth |
5 Replies
7,607 Views |
![]() by pookietooth |
![]() |
![]() |
1 Replies
4,855 Views |
![]() by xylothrill |
|
![]() |
![]() |
2 Replies
5,874 Views |
![]() by goodsamaritan |
|
![]() |
![]() |
Hey Everybody.
Started by stevesurv |
7 Replies
7,415 Views |
![]() by stevesurv |
![]() |
![]() |
A quick introduction
Started by Sentient Primate |
11 Replies
9,981 Views |
![]() by stevesurv |
![]() |
![]() |
Introductory Thoughts...
Started by TruthHunter |
12 Replies
9,505 Views |
![]() by TylerDurden |
![]() |
![]() |
1 Replies
5,069 Views |
![]() by TylerDurden |
|
![]() |
![]() |
Going back raw, never wanted to leave
Started by Python |
6 Replies
6,696 Views |
![]() by Python |
![]() |
![]() |
OUR 100th MEMBER, SQUALL - WELCOME
Started by Waungata |
9 Replies
9,029 Views |
![]() by TylerDurden |
![]() |
![]() |
so glad to find this...
Started by seesawsemiology |
20 Replies
13,459 Views |
![]() by seesawsemiology |
![]() |
![]() |
Just want to say Hi.
Started by Lucidknight |
5 Replies
6,565 Views |
![]() by goodsamaritan |
![]() |
![]() |
Greetings from Austin
Started by davidg |
5 Replies
6,518 Views |
![]() by Kristelle |
![]() |
![]() |
Welcome Anavegana!
Started by xylothrill |
2 Replies
5,200 Views |
![]() by TylerDurden |
![]() |
![]() |
59 Replies
28,768 Views |
![]() by Kristelle |
|
![]() |
![]() |
Just arrived
Started by igibike |
9 Replies
8,398 Views |
![]() by igibike |
![]() |
![]() |
Hey, I'm Son of Salmon
Started by son_of_salmon |
7 Replies
8,360 Views |
![]() by wodgina |
![]() |
![]() |
8 Replies
8,369 Views |
![]() by iceman |
|
![]() |
![]() |
6 Replies
7,040 Views |
![]() by Raw Kyle |
|
![]() |
![]() |
Hello Everyone
Started by OldeSword |
3 Replies
5,383 Views |
![]() by boxcarguy07 |
![]() |
![]() |
hey guys, just joined
Started by yon yonson |
14 Replies
10,552 Views |
![]() by yon yonson |
![]() |
![]() |
how can I change my user name?
Started by JaX |
2 Replies
4,624 Views |
![]() by xylothrill |
![]() |
![]() |
Paleo-style
Started by JaX |
4 Replies
5,504 Views |
![]() by TylerDurden |
![]() |
![]() |
New here and have some questions
Started by Tim |
7 Replies
8,218 Views |
![]() by Raw Kyle |
![]() |
![]() |
10 Replies
8,921 Views |
![]() by reyyzl |
|
![]() |
![]() |
Hello, introducing myself
Started by livingthelife |
4 Replies
5,861 Views |
![]() by reyyzl |
![]() |
![]() |
RZ the Vampyre Angel
Started by RawZi |
8 Replies
8,217 Views |
![]() by boxcarguy07 |
![]() |
![]() |
Zeruff's introduction
Started by zeruff |
9 Replies
9,776 Views |
![]() by reyyzl |
![]() |
![]() |
1 Replies
5,357 Views |
![]() by TylerDurden |
|
![]() |
![]() |
Greetings from Sarav...
Started by Sarav |
19 Replies
16,221 Views |
![]() by Sarav |
![]() |
![]() |
Newbie Here :)
Started by Ioanna |
11 Replies
10,540 Views |
![]() by RawZi |
![]() |
![]() |
4 Replies
5,833 Views |
![]() by Raw Kyle |
|
![]() |
![]() |
Hi all
Started by SharpPointyStickGuy |
4 Replies
5,819 Views |
![]() by Guittarman03 |
![]() |
![]() |
6 Replies
6,610 Views |
![]() by Satya |
|
![]() |
![]() |
8 Replies
8,369 Views |
![]() by Satya |
|
![]() |
![]() |
Introducing Prehistorik
Started by prehistorik |
8 Replies
9,195 Views |
![]() by Raw Rob |
![]() |
![]() |
Getting Started
Started by Topper Harley |
3 Replies
5,745 Views |
![]() by Raw Kyle |
Normal Topic
Hot Topic (More than 15 replies)
Very Hot Topic (More than 30 replies)
Locked Topic
Sticky Topic
Poll