/* * 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 54 Guests are viewing this board. | ||||
![]() |
![]() |
hi
Started by elysianisis |
10 Replies
6,557 Views |
![]() by achillezzz |
![]() |
![]() |
New with a beginner challenge
Started by alycia |
14 Replies
9,947 Views |
![]() by Ioanna |
![]() |
![]() |
Introduction and a question
Started by larrymagee « 1 2 » |
28 Replies
15,581 Views |
![]() by elysianisis |
![]() |
![]() |
Getting back into the swing of things
Started by nicolegreen |
15 Replies
8,368 Views |
![]() by Ioanna |
![]() |
![]() |
finally there
Started by HIT_it_RAW |
4 Replies
3,779 Views |
![]() by HIT_it_RAW |
![]() |
![]() |
MXV introduction
Started by MXV |
6 Replies
4,616 Views |
![]() by MXV |
![]() |
![]() |
3 Replies
3,794 Views |
![]() by CitrusHigh |
|
![]() |
![]() |
15 Replies
9,151 Views |
![]() by Techydude |
|
![]() |
![]() |
Hey - Questions on Raw Meat (Surprise!)
Started by Isthmus |
7 Replies
5,712 Views |
![]() by magnetic |
![]() |
![]() |
1 Replies
3,155 Views |
![]() by goodsamaritan |
|
![]() |
![]() |
34 Replies
18,124 Views |
![]() by goodsamaritan |
|
![]() |
![]() |
Another dietary freak
Started by caban |
13 Replies
9,324 Views |
![]() by caban |
![]() |
![]() |
Hi RPDers Alex here
Started by Alex |
12 Replies
8,552 Views |
![]() by presynaras |
![]() |
![]() |
Just a new guy that scared of raw paleo
Started by achillezzz « 1 2 » |
31 Replies
17,369 Views |
![]() by miles |
![]() |
![]() |
Hi! Salutations from spain
Started by Living all Raw |
16 Replies
10,249 Views |
![]() by magnetic |
![]() |
![]() |
New to RAF diet
Started by magnetic |
5 Replies
4,364 Views |
![]() by magnetic |
![]() |
![]() |
Hi Everyone!
Started by Viola |
14 Replies
8,222 Views |
![]() by magnetic |
![]() |
![]() |
Hello RAW-PALEO-WORLD!! Party ON!
Started by Löwenherz « 1 2 3 » |
50 Replies
25,258 Views |
![]() by Gwadatraveller |
![]() |
![]() |
insects anyone?
Started by jaktron |
22 Replies
12,815 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,851 Views |
![]() by JasperLawrence |
![]() |
![]() |
29 Replies
17,330 Views |
![]() by Bronwen |
|
![]() |
![]() |
Greg, Poland
Started by tiamat |
3 Replies
2,994 Views |
![]() by goodsamaritan |
![]() |
![]() |
7 Replies
5,509 Views |
![]() by achillezzz |
|
![]() |
![]() |
Hello from the Queen City!
Started by Hannah |
10 Replies
6,438 Views |
![]() by deletemyaccount |
![]() |
![]() |
food amounts
Started by jamiekelly |
10 Replies
6,544 Views |
![]() by deletemyaccount |
![]() |
![]() |
2 Replies
2,716 Views |
![]() by micelte |
|
![]() |
![]() |
Hello. I am new to this forum
Started by dillis14 |
2 Replies
2,741 Views |
![]() by Bronwen |
![]() |
![]() |
8 Replies
4,629 Views |
![]() by Paleo93 |
|
![]() |
![]() |
My intro
Started by raw_iz_good |
1 Replies
2,536 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,797 Views |
![]() by Bowen |
![]() |
![]() |
26 Replies
15,122 Views |
![]() by Brother |
|
![]() |
![]() |
1 Replies
3,164 Views |
![]() by TylerDurden |
|
![]() |
![]() |
122 Replies
54,567 Views |
![]() by Stig of the Dump |
|
![]() |
![]() |
Hello from NJ
Started by Dima |
23 Replies
13,161 Views |
![]() by turkish |
![]() |
![]() |
Weight Training
Started by jliska |
1 Replies
2,647 Views |
![]() by Sully |
![]() |
![]() |
1 Replies
2,542 Views |
![]() by TylerDurden |
|
![]() |
![]() |
Jumping in Cold Turkey
Started by Beyonder |
5 Replies
4,425 Views |
![]() by TylerDurden |
![]() |
![]() |
A Quick Peep
Started by David Howe |
4 Replies
3,807 Views |
![]() by David Howe |
![]() |
![]() |
A guy searching for good health...
Started by CHK91 |
9 Replies
7,193 Views |
![]() by sabertooth |
![]() |
![]() |
Newbie Paleo
Started by starrytri |
7 Replies
5,771 Views |
![]() by miles |
![]() |
![]() |
day1: raw salmon
Started by rjawad |
7 Replies
5,689 Views |
![]() by miles |
![]() |
![]() |
5 Replies
4,216 Views |
![]() by TylerDurden |
|
![]() |
![]() |
Colorado off-grid
Started by Snowflower |
3 Replies
3,339 Views |
![]() by goodsamaritan |
![]() |
![]() |
33 Replies
16,049 Views |
![]() by rawgypsy |
|
![]() |
![]() |
Hello everyone
Started by Steve2403 |
8 Replies
4,576 Views |
![]() by TylerDurden |
![]() |
![]() |
another newbie.... or actually not quite yet
Started by UB |
6 Replies
4,892 Views |
![]() by UB |
![]() |
![]() |
3 Replies
3,113 Views |
![]() by Ioanna |
|
![]() |
![]() |
Hey
Started by SteakNchop |
11 Replies
5,872 Views |
![]() by PaleoPhil |
Normal Topic
Hot Topic (More than 15 replies)
Very Hot Topic (More than 30 replies)
Locked Topic
Sticky Topic
Poll