/* * 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 29 Guests are viewing this board. | ||||
![]() |
![]() |
Greetings!
Started by magnagei |
2 Replies
2,041 Views |
![]() by TylerDurden |
![]() |
![]() |
7 Replies
3,473 Views |
![]() by TylerDurden |
|
![]() |
![]() |
3 Replies
2,127 Views |
![]() by Ioanna |
|
![]() |
![]() |
Greetings to everyone!
Started by Caveman |
3 Replies
2,296 Views |
![]() by goodsamaritan |
![]() |
![]() |
Hey
Started by SteakNchop |
11 Replies
4,834 Views |
![]() by PaleoPhil |
![]() |
![]() |
3 Replies
2,453 Views |
![]() by Ioanna |
|
![]() |
![]() |
another newbie.... or actually not quite yet
Started by UB |
6 Replies
3,930 Views |
![]() by UB |
![]() |
![]() |
Hello everyone
Started by Steve2403 |
8 Replies
3,571 Views |
![]() by TylerDurden |
![]() |
![]() |
33 Replies
12,715 Views |
![]() by rawgypsy |
|
![]() |
![]() |
Colorado off-grid
Started by Snowflower |
3 Replies
2,532 Views |
![]() by goodsamaritan |
![]() |
![]() |
5 Replies
3,319 Views |
![]() by TylerDurden |
|
![]() |
![]() |
day1: raw salmon
Started by rjawad |
7 Replies
4,554 Views |
![]() by miles |
![]() |
![]() |
Newbie Paleo
Started by starrytri |
7 Replies
4,587 Views |
![]() by miles |
![]() |
![]() |
A guy searching for good health...
Started by CHK91 |
9 Replies
5,862 Views |
![]() by sabertooth |
![]() |
![]() |
A Quick Peep
Started by David Howe |
4 Replies
2,913 Views |
![]() by David Howe |
![]() |
![]() |
Jumping in Cold Turkey
Started by Beyonder |
5 Replies
3,532 Views |
![]() by TylerDurden |
![]() |
![]() |
1 Replies
1,954 Views |
![]() by TylerDurden |
|
![]() |
![]() |
Weight Training
Started by jliska |
1 Replies
2,040 Views |
![]() by Sully |
![]() |
![]() |
Hello from NJ
Started by Dima |
23 Replies
10,386 Views |
![]() by turkish |
![]() |
![]() |
122 Replies
43,728 Views |
![]() by Stig of the Dump |
|
![]() |
![]() |
1 Replies
2,267 Views |
![]() by TylerDurden |
|
![]() |
![]() |
26 Replies
12,419 Views |
![]() by Brother |
|
![]() |
![]() |
Hellllo nurse!
Started by CitrusHigh |
7 Replies
3,770 Views |
![]() by Bowen |
![]() |
![]() |
Hi everyone! just taking a look around
Started by babetteq |
1 Replies
1,961 Views |
![]() by TylerDurden |
![]() |
![]() |
My intro
Started by raw_iz_good |
1 Replies
1,999 Views |
![]() by TylerDurden |
![]() |
![]() |
8 Replies
3,893 Views |
![]() by Paleo93 |
|
![]() |
![]() |
Hello. I am new to this forum
Started by dillis14 |
2 Replies
2,038 Views |
![]() by Bronwen |
![]() |
![]() |
2 Replies
2,076 Views |
![]() by micelte |
|
![]() |
![]() |
food amounts
Started by jamiekelly |
10 Replies
5,046 Views |
![]() by deletemyaccount |
![]() |
![]() |
Hello from the Queen City!
Started by Hannah |
10 Replies
5,216 Views |
![]() by deletemyaccount |
![]() |
![]() |
7 Replies
4,339 Views |
![]() by achillezzz |
|
![]() |
![]() |
Greg, Poland
Started by tiamat |
3 Replies
2,382 Views |
![]() by goodsamaritan |
![]() |
![]() |
29 Replies
13,932 Views |
![]() by Bronwen |
|
![]() |
![]() |
Jasper Lawrence here
Started by JasperLawrence « 1 2 » |
36 Replies
16,501 Views |
![]() by JasperLawrence |
![]() |
![]() |
Hey guys!
Started by trevowens20 |
6 Replies
7,464 Views |
![]() by goodsamaritan |
![]() |
![]() |
insects anyone?
Started by jaktron |
22 Replies
10,218 Views |
![]() by Gwadatraveller |
![]() |
![]() |
Hello RAW-PALEO-WORLD!! Party ON!
Started by Löwenherz « 1 2 3 » |
50 Replies
20,079 Views |
![]() by Gwadatraveller |
![]() |
![]() |
Hi Everyone!
Started by Viola |
14 Replies
6,667 Views |
![]() by magnetic |
![]() |
![]() |
New to RAF diet
Started by magnetic |
5 Replies
3,538 Views |
![]() by magnetic |
![]() |
![]() |
Hi! Salutations from spain
Started by Living all Raw |
16 Replies
8,620 Views |
![]() by magnetic |
![]() |
![]() |
Just a new guy that scared of raw paleo
Started by achillezzz « 1 2 » |
31 Replies
13,738 Views |
![]() by miles |
![]() |
![]() |
Hi RPDers Alex here
Started by Alex |
12 Replies
6,860 Views |
![]() by presynaras |
![]() |
![]() |
Another dietary freak
Started by caban |
13 Replies
7,699 Views |
![]() by caban |
![]() |
![]() |
34 Replies
15,444 Views |
![]() by goodsamaritan |
|
![]() |
![]() |
1 Replies
2,600 Views |
![]() by goodsamaritan |
|
![]() |
![]() |
Hey - Questions on Raw Meat (Surprise!)
Started by Isthmus |
7 Replies
4,765 Views |
![]() by magnetic |
![]() |
![]() |
15 Replies
7,627 Views |
![]() by Techydude |
|
![]() |
![]() |
3 Replies
3,114 Views |
![]() by CitrusHigh |
|
![]() |
![]() |
MXV introduction
Started by MXV |
6 Replies
3,653 Views |
![]() by MXV |
![]() |
![]() |
finally there
Started by HIT_it_RAW |
4 Replies
2,972 Views |
![]() by HIT_it_RAW |
Normal Topic
Hot Topic (More than 15 replies)
Very Hot Topic (More than 30 replies)
Locked Topic
Sticky Topic
Poll