/* * 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 65 Guests are viewing this board. | ||||
![]() |
![]() |
hi
Started by elysianisis |
10 Replies
6,558 Views |
![]() by achillezzz |
![]() |
![]() |
New with a beginner challenge
Started by alycia |
14 Replies
9,952 Views |
![]() by Ioanna |
![]() |
![]() |
Introduction and a question
Started by larrymagee « 1 2 » |
28 Replies
15,585 Views |
![]() by elysianisis |
![]() |
![]() |
Getting back into the swing of things
Started by nicolegreen |
15 Replies
8,370 Views |
![]() by Ioanna |
![]() |
![]() |
finally there
Started by HIT_it_RAW |
4 Replies
3,780 Views |
![]() by HIT_it_RAW |
![]() |
![]() |
MXV introduction
Started by MXV |
6 Replies
4,616 Views |
![]() by MXV |
![]() |
![]() |
3 Replies
3,798 Views |
![]() by CitrusHigh |
|
![]() |
![]() |
15 Replies
9,151 Views |
![]() by Techydude |
|
![]() |
![]() |
Hey - Questions on Raw Meat (Surprise!)
Started by Isthmus |
7 Replies
5,713 Views |
![]() by magnetic |
![]() |
![]() |
1 Replies
3,155 Views |
![]() by goodsamaritan |
|
![]() |
![]() |
34 Replies
18,127 Views |
![]() by goodsamaritan |
|
![]() |
![]() |
Another dietary freak
Started by caban |
13 Replies
9,326 Views |
![]() by caban |
![]() |
![]() |
Hi RPDers Alex here
Started by Alex |
12 Replies
8,553 Views |
![]() by presynaras |
![]() |
![]() |
Just a new guy that scared of raw paleo
Started by achillezzz « 1 2 » |
31 Replies
17,373 Views |
![]() by miles |
![]() |
![]() |
Hi! Salutations from spain
Started by Living all Raw |
16 Replies
10,251 Views |
![]() by magnetic |
![]() |
![]() |
New to RAF diet
Started by magnetic |
5 Replies
4,365 Views |
![]() by magnetic |
![]() |
![]() |
Hi Everyone!
Started by Viola |
14 Replies
8,223 Views |
![]() by magnetic |
![]() |
![]() |
Hello RAW-PALEO-WORLD!! Party ON!
Started by Löwenherz « 1 2 3 » |
50 Replies
25,261 Views |
![]() by Gwadatraveller |
![]() |
![]() |
insects anyone?
Started by jaktron |
22 Replies
12,817 Views |
![]() by Gwadatraveller |
![]() |
![]() |
Hey guys!
Started by trevowens20 |
6 Replies
8,385 Views |
![]() by goodsamaritan |
![]() |
![]() |
Jasper Lawrence here
Started by JasperLawrence « 1 2 » |
36 Replies
19,855 Views |
![]() by JasperLawrence |
![]() |
![]() |
29 Replies
17,340 Views |
![]() by Bronwen |
|
![]() |
![]() |
Greg, Poland
Started by tiamat |
3 Replies
2,996 Views |
![]() by goodsamaritan |
![]() |
![]() |
7 Replies
5,511 Views |
![]() by achillezzz |
|
![]() |
![]() |
Hello from the Queen City!
Started by Hannah |
10 Replies
6,439 Views |
![]() by deletemyaccount |
![]() |
![]() |
food amounts
Started by jamiekelly |
10 Replies
6,546 Views |
![]() by deletemyaccount |
![]() |
![]() |
2 Replies
2,717 Views |
![]() by micelte |
|
![]() |
![]() |
Hello. I am new to this forum
Started by dillis14 |
2 Replies
2,742 Views |
![]() by Bronwen |
![]() |
![]() |
8 Replies
4,631 Views |
![]() by Paleo93 |
|
![]() |
![]() |
My intro
Started by raw_iz_good |
1 Replies
2,537 Views |
![]() by TylerDurden |
![]() |
![]() |
Hi everyone! just taking a look around
Started by babetteq |
1 Replies
2,638 Views |
![]() by TylerDurden |
![]() |
![]() |
Hellllo nurse!
Started by CitrusHigh |
7 Replies
4,798 Views |
![]() by Bowen |
![]() |
![]() |
26 Replies
15,132 Views |
![]() by Brother |
|
![]() |
![]() |
1 Replies
3,165 Views |
![]() by TylerDurden |
|
![]() |
![]() |
122 Replies
54,589 Views |
![]() by Stig of the Dump |
|
![]() |
![]() |
Hello from NJ
Started by Dima |
23 Replies
13,163 Views |
![]() by turkish |
![]() |
![]() |
Weight Training
Started by jliska |
1 Replies
2,648 Views |
![]() by Sully |
![]() |
![]() |
1 Replies
2,542 Views |
![]() by TylerDurden |
|
![]() |
![]() |
Jumping in Cold Turkey
Started by Beyonder |
5 Replies
4,427 Views |
![]() by TylerDurden |
![]() |
![]() |
A Quick Peep
Started by David Howe |
4 Replies
3,808 Views |
![]() by David Howe |
![]() |
![]() |
A guy searching for good health...
Started by CHK91 |
9 Replies
7,194 Views |
![]() by sabertooth |
![]() |
![]() |
Newbie Paleo
Started by starrytri |
7 Replies
5,771 Views |
![]() by miles |
![]() |
![]() |
day1: raw salmon
Started by rjawad |
7 Replies
5,690 Views |
![]() by miles |
![]() |
![]() |
5 Replies
4,218 Views |
![]() by TylerDurden |
|
![]() |
![]() |
Colorado off-grid
Started by Snowflower |
3 Replies
3,342 Views |
![]() by goodsamaritan |
![]() |
![]() |
33 Replies
16,059 Views |
![]() by rawgypsy |
|
![]() |
![]() |
Hello everyone
Started by Steve2403 |
8 Replies
4,579 Views |
![]() by TylerDurden |
![]() |
![]() |
another newbie.... or actually not quite yet
Started by UB |
6 Replies
4,895 Views |
![]() by UB |
![]() |
![]() |
3 Replies
3,114 Views |
![]() by Ioanna |
|
![]() |
![]() |
Hey
Started by SteakNchop |
11 Replies
5,873 Views |
![]() by PaleoPhil |
Normal Topic
Hot Topic (More than 15 replies)
Very Hot Topic (More than 30 replies)
Locked Topic
Sticky Topic
Poll