/* * 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 ![]() |
Replies / Views | Last post | ||
---|---|---|---|---|
0 Members and 10 Guests are viewing this board. | ||||
![]() |
![]() |
Hello from the Queen City!
Started by Hannah |
10 Replies
6,452 Views |
![]() by deletemyaccount |
![]() |
![]() |
1 Replies
2,823 Views |
![]() by TylerDurden |
|
![]() |
![]() |
5 Replies
4,234 Views |
![]() by Sitting Coyote |
|
![]() |
![]() |
Hello Hello!
Started by primalpillo |
6 Replies
4,501 Views |
![]() by PaleoPhil |
![]() |
![]() |
Hello I am exploring the possibilities
Started by rentawitch |
8 Replies
5,536 Views |
![]() by HIT_it_RAW |
![]() |
![]() |
Hello my fellow meat eaters
Started by Cthulhu |
6 Replies
4,843 Views |
![]() by PaleoPhil |
![]() |
![]() |
Hello new here!
Started by JackAttack |
2 Replies
3,068 Views |
![]() by CitrusHigh |
![]() |
![]() |
Hello people
Started by sandman |
3 Replies
3,511 Views |
![]() by Sameenajee1 |
![]() |
![]() |
50 Replies
25,372 Views |
![]() by Gwadatraveller |
|
![]() |
![]() |
7 Replies
5,523 Views |
![]() by achillezzz |
|
![]() |
![]() |
Hello There
Started by Nishwash |
1 Replies
2,392 Views |
![]() by TylerDurden |
![]() |
![]() |
Hello there!
Started by Sarah4 |
3 Replies
3,768 Views |
![]() by Martin |
![]() |
![]() |
Hello there!
Started by dair |
1 Replies
3,256 Views |
![]() by TylerDurden |
![]() |
![]() |
2 Replies
4,030 Views |
![]() by GustafStahl |
|
![]() |
![]() |
Hello to all
Started by kindredspirit23 |
8 Replies
4,811 Views |
![]() by CitrusHigh |
![]() |
![]() |
Hello to all from the Germany
Started by A1000Jakeys |
3 Replies
3,304 Views |
![]() by Löwenherz |
![]() |
![]() |
Hello to everyone
Started by aginghippie |
2 Replies
3,181 Views |
![]() by aginghippie |
![]() |
![]() |
Hello to everyone!
Started by Intoit |
1 Replies
2,644 Views |
![]() by TylerDurden |
![]() |
![]() |
Hello welcoming comitee!
Started by LePatron7 |
2 Replies
3,216 Views |
![]() by LePatron7 |
![]() |
![]() |
2 Replies
3,403 Views |
![]() by goodsamaritan |
|
![]() |
![]() |
3 Replies
2,742 Views |
![]() by Ioanna |
|
![]() |
![]() |
Hello!
Started by BiologicalNaturalLaw |
0 Replies
3,323 Views |
![]() by BiologicalNaturalLaw |
![]() |
![]() |
4 Replies
4,213 Views |
![]() by CitrusHigh |
|
![]() |
![]() |
6 Replies
5,160 Views |
![]() by phatdave |
|
![]() |
![]() |
HEllo!
Started by awesomeame |
4 Replies
3,889 Views |
![]() by Josh |
![]() |
![]() |
Hello! I have Newbie questions...
Started by primavera |
15 Replies
8,902 Views |
![]() by Raw Kyle |
![]() |
![]() |
3 Replies
5,954 Views |
![]() by raw-al |
|
![]() |
![]() |
7 Replies
5,790 Views |
![]() by TylerDurden |
|
![]() |
![]() |
Hello! Introducing myself!
Started by boxcarguy07 |
3 Replies
5,503 Views |
![]() by boxcarguy07 |
![]() |
![]() |
Hello! New member here!
Started by Ouchburns |
23 Replies
13,546 Views |
![]() by Stig of the Dump |
![]() |
![]() |
Hello! People from Austria here?
Started by Sol.Sa |
1 Replies
2,933 Views |
![]() by dariorpl |
![]() |
![]() |
Hello, everyone! From Brazil.
Started by Servo de Cristo |
2 Replies
3,332 Views |
![]() by TylerDurden |
![]() |
![]() |
Hello, everyone.
Started by Qondrar_The_Redeemer |
3 Replies
6,148 Views |
![]() by jennymolin |
![]() |
![]() |
2 Replies
4,012 Views |
![]() by aco |
|
![]() |
![]() |
Hello, from toronto canada...
Started by pc701 |
5 Replies
4,365 Views |
![]() by phatdave |
![]() |
![]() |
Hello, I'm new here.
Started by edmon171 |
3 Replies
3,821 Views |
![]() by sakshisinha |
![]() |
![]() |
Hello, introducing myself
Started by livingthelife |
4 Replies
5,861 Views |
![]() by reyyzl |
![]() |
![]() |
26 Replies
15,176 Views |
![]() by Brother |
|
![]() |
![]() |
Hello, new here..
Started by Wolf |
23 Replies
11,210 Views |
![]() by Wolf |
![]() |
![]() |
Hello, new here: Bubba
Started by bubba |
14 Replies
10,721 Views |
![]() by TylerDurden |
![]() |
![]() |
Hello, new member old follower.
Started by Hydrogenisagas |
1 Replies
3,634 Views |
![]() by TylerDurden |
![]() |
![]() |
Hello, trying new things!
Started by Megan Megatoast |
17 Replies
8,637 Views |
![]() by Megan Megatoast |
![]() |
![]() |
hello- help with enamel issues?
Started by kanotim |
7 Replies
5,012 Views |
![]() by Michael |
![]() |
![]() |
1 Replies
4,855 Views |
![]() by xylothrill |
|
![]() |
![]() |
3 Replies
3,675 Views |
![]() by TylerDurden |
|
![]() |
![]() |
Hello. I am new to this forum
Started by dillis14 |
2 Replies
2,747 Views |
![]() by Bronwen |
![]() |
![]() |
13 Replies
10,155 Views |
![]() by phatdave |
|
![]() |
![]() |
Hellooooo! From the land of Oz.....
Started by Laddox |
5 Replies
3,578 Views |
![]() by Laddox |
![]() |
![]() |
Help needed for RPD-wannabe from Singapore!
Started by keith |
2 Replies
4,626 Views |
![]() by Igla |
![]() |
![]() |
3 Replies
5,166 Views |
![]() by thetasig |
Normal Topic
Hot Topic (More than 15 replies)
Very Hot Topic (More than 30 replies)
Locked Topic
Sticky Topic
Poll