/* * 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. | ||||
![]() |
![]() |
New with a beginner challenge
Started by alycia |
14 Replies
8,288 Views |
![]() by Ioanna |
![]() |
![]() |
Introduction and a question
Started by larrymagee « 1 2 » |
28 Replies
13,027 Views |
![]() by elysianisis |
![]() |
![]() |
Getting back into the swing of things
Started by nicolegreen |
15 Replies
6,851 Views |
![]() by Ioanna |
![]() |
![]() |
finally there
Started by HIT_it_RAW |
4 Replies
3,120 Views |
![]() by HIT_it_RAW |
![]() |
![]() |
MXV introduction
Started by MXV |
6 Replies
3,813 Views |
![]() by MXV |
![]() |
![]() |
3 Replies
3,222 Views |
![]() by CitrusHigh |
|
![]() |
![]() |
15 Replies
7,886 Views |
![]() by Techydude |
|
![]() |
![]() |
Hey - Questions on Raw Meat (Surprise!)
Started by Isthmus |
7 Replies
4,923 Views |
![]() by magnetic |
![]() |
![]() |
1 Replies
2,681 Views |
![]() by goodsamaritan |
|
![]() |
![]() |
34 Replies
15,939 Views |
![]() by goodsamaritan |
|
![]() |
![]() |
Another dietary freak
Started by caban |
13 Replies
7,933 Views |
![]() by caban |
![]() |
![]() |
Hi RPDers Alex here
Started by Alex |
12 Replies
7,100 Views |
![]() by presynaras |
![]() |
![]() |
Just a new guy that scared of raw paleo
Started by achillezzz « 1 2 » |
31 Replies
14,276 Views |
![]() by miles |
![]() |
![]() |
Hi! Salutations from spain
Started by Living all Raw |
16 Replies
8,906 Views |
![]() by magnetic |
![]() |
![]() |
New to RAF diet
Started by magnetic |
5 Replies
3,674 Views |
![]() by magnetic |
![]() |
![]() |
Hi Everyone!
Started by Viola |
14 Replies
6,918 Views |
![]() by magnetic |
![]() |
![]() |
Hello RAW-PALEO-WORLD!! Party ON!
Started by Löwenherz « 1 2 3 » |
50 Replies
20,734 Views |
![]() by Gwadatraveller |
![]() |
![]() |
insects anyone?
Started by jaktron |
22 Replies
10,601 Views |
![]() by Gwadatraveller |
![]() |
![]() |
Hey guys!
Started by trevowens20 |
6 Replies
7,615 Views |
![]() by goodsamaritan |
![]() |
![]() |
Jasper Lawrence here
Started by JasperLawrence « 1 2 » |
36 Replies
17,051 Views |
![]() by JasperLawrence |
![]() |
![]() |
29 Replies
14,389 Views |
![]() by Bronwen |
|
![]() |
![]() |
Greg, Poland
Started by tiamat |
3 Replies
2,491 Views |
![]() by goodsamaritan |
![]() |
![]() |
7 Replies
4,490 Views |
![]() by achillezzz |
|
![]() |
![]() |
Hello from the Queen City!
Started by Hannah |
10 Replies
5,431 Views |
![]() by deletemyaccount |
![]() |
![]() |
food amounts
Started by jamiekelly |
10 Replies
5,254 Views |
![]() by deletemyaccount |
![]() |
![]() |
2 Replies
2,166 Views |
![]() by micelte |
|
![]() |
![]() |
Hello. I am new to this forum
Started by dillis14 |
2 Replies
2,144 Views |
![]() by Bronwen |
![]() |
![]() |
8 Replies
4,052 Views |
![]() by Paleo93 |
|
![]() |
![]() |
My intro
Started by raw_iz_good |
1 Replies
2,073 Views |
![]() by TylerDurden |
![]() |
![]() |
Hi everyone! just taking a look around
Started by babetteq |
1 Replies
2,046 Views |
![]() by TylerDurden |
![]() |
![]() |
Hellllo nurse!
Started by CitrusHigh |
7 Replies
3,932 Views |
![]() by Bowen |
![]() |
![]() |
26 Replies
12,838 Views |
![]() by Brother |
|
![]() |
![]() |
1 Replies
2,353 Views |
![]() by TylerDurden |
|
![]() |
![]() |
122 Replies
44,990 Views |
![]() by Stig of the Dump |
|
![]() |
![]() |
Hello from NJ
Started by Dima |
23 Replies
10,749 Views |
![]() by turkish |
![]() |
![]() |
Weight Training
Started by jliska |
1 Replies
2,132 Views |
![]() by Sully |
![]() |
![]() |
1 Replies
2,041 Views |
![]() by TylerDurden |
|
![]() |
![]() |
Jumping in Cold Turkey
Started by Beyonder |
5 Replies
3,671 Views |
![]() by TylerDurden |
![]() |
![]() |
A Quick Peep
Started by David Howe |
4 Replies
3,032 Views |
![]() by David Howe |
![]() |
![]() |
A guy searching for good health...
Started by CHK91 |
9 Replies
6,056 Views |
![]() by sabertooth |
![]() |
![]() |
Newbie Paleo
Started by starrytri |
7 Replies
4,776 Views |
![]() by miles |
![]() |
![]() |
day1: raw salmon
Started by rjawad |
7 Replies
4,728 Views |
![]() by miles |
![]() |
![]() |
5 Replies
3,444 Views |
![]() by TylerDurden |
|
![]() |
![]() |
Colorado off-grid
Started by Snowflower |
3 Replies
2,640 Views |
![]() by goodsamaritan |
![]() |
![]() |
33 Replies
13,266 Views |
![]() by rawgypsy |
|
![]() |
![]() |
Hello everyone
Started by Steve2403 |
8 Replies
3,733 Views |
![]() by TylerDurden |
![]() |
![]() |
another newbie.... or actually not quite yet
Started by UB |
6 Replies
4,080 Views |
![]() by UB |
![]() |
![]() |
3 Replies
2,569 Views |
![]() by Ioanna |
|
![]() |
![]() |
Hey
Started by SteakNchop |
11 Replies
5,043 Views |
![]() by PaleoPhil |
![]() |
![]() |
Greetings to everyone!
Started by Caveman |
3 Replies
2,407 Views |
![]() by goodsamaritan |
Normal Topic
Hot Topic (More than 15 replies)
Very Hot Topic (More than 30 replies)
Locked Topic
Sticky Topic
Poll