/* * 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 20 Guests are viewing this board. | ||||
![]() |
![]() |
Welcome New Members! Please Read.
Started by Waungata |
0 Replies
22,214 Views |
![]() by Waungata |
![]() |
![]() |
Phenix's onboard
Started by Phenix |
2 Replies
22,135 Views |
![]() by Phenix |
![]() |
![]() |
Participants needed! (Link fix)
Started by ellamayes |
0 Replies
10,524 Views |
![]() by ellamayes |
![]() |
![]() |
Hello from Scotland
Started by Kittenki |
2 Replies
4,397 Views |
![]() by gomomo |
![]() |
![]() |
mary austin
Started by maryaustin |
0 Replies
3,328 Views |
![]() by maryaustin |
![]() |
![]() |
0 Replies
3,303 Views |
![]() by Onlymistert |
|
![]() |
![]() |
New to community, Have some questions
Started by consoomer |
3 Replies
4,757 Views |
![]() by MarkR |
![]() |
![]() |
New here, anyone live in Houston TX?
Started by ModeloChris |
0 Replies
3,271 Views |
![]() by ModeloChris |
![]() |
![]() |
Introducing myself
Started by Aegis |
6 Replies
7,283 Views |
![]() by dariorpl |
![]() |
![]() |
1 Replies
3,773 Views |
![]() by dariorpl |
|
![]() |
![]() |
2 Replies
5,030 Views |
![]() by political atheist |
|
![]() |
![]() |
0 Replies
3,099 Views |
![]() by Kingyonmedical |
|
![]() |
![]() |
I'm new here!
Started by Obbire |
1 Replies
3,198 Views |
![]() by TheHealingForests |
![]() |
![]() |
Michal from Poland
Started by Buddha |
3 Replies
4,124 Views |
![]() by tonyvee |
![]() |
![]() |
Just Starting, Newbie from Oregon
Started by Poppy |
8 Replies
6,690 Views |
![]() by tonyvee |
![]() |
![]() |
1 Replies
4,058 Views |
![]() by political atheist |
|
![]() |
![]() |
Hi from England
Started by tonyvee |
12 Replies
9,030 Views |
![]() by tonyvee |
![]() |
![]() |
2 Replies
4,047 Views |
![]() by GustafStahl |
|
![]() |
![]() |
Hello from the Netherlands!
Started by MarkR |
4 Replies
4,620 Views |
![]() by GustafStahl |
![]() |
![]() |
chiller van
Started by royal honey |
1 Replies
3,513 Views |
![]() by royal honey |
![]() |
![]() |
business analyst
Started by royal honey |
0 Replies
3,087 Views |
![]() by royal honey |
![]() |
![]() |
Hello from SoCal
Started by Goose |
1 Replies
3,255 Views |
![]() by sabertooth |
![]() |
![]() |
Greetings from Colombia
Started by Sobchak |
1 Replies
3,523 Views |
![]() by norawnofun |
![]() |
![]() |
Hello all
Started by natural_Jose |
4 Replies
5,150 Views |
![]() by natural_Jose |
![]() |
![]() |
2 Replies
4,031 Views |
![]() by aco |
|
![]() |
![]() |
New raw eater.
Started by Nucleus |
0 Replies
3,467 Views |
![]() by Nucleus |
![]() |
![]() |
1 Replies
3,807 Views |
![]() by RAW T |
|
![]() |
![]() |
Hello from Suffolk, UK
Started by RAW T |
0 Replies
2,998 Views |
![]() by RAW T |
![]() |
![]() |
whats up I come here from another forum
Started by radark |
1 Replies
3,493 Views |
![]() by goodsamaritan |
![]() |
![]() |
hey from Wales!
Started by flapsandwich |
4 Replies
6,445 Views |
![]() by Raw-nature |
![]() |
![]() |
Greetings from the UK
Started by Fat of the land |
3 Replies
5,278 Views |
![]() by Raw-nature |
![]() |
![]() |
Hello!
Started by BiologicalNaturalLaw |
0 Replies
3,340 Views |
![]() by BiologicalNaturalLaw |
![]() |
![]() |
Hello, everyone.
Started by Qondrar_The_Redeemer |
3 Replies
6,164 Views |
![]() by jennymolin |
![]() |
![]() |
1 Replies
4,160 Views |
![]() by therouting |
|
![]() |
![]() |
0 Replies
3,459 Views |
![]() by Satnee |
|
![]() |
![]() |
1 Replies
3,754 Views |
![]() by Satnee |
|
![]() |
![]() |
uspsretail
Started by uspsretail |
0 Replies
3,632 Views |
![]() by uspsretail |
![]() |
![]() |
Meateor Man IN THE HOUSE!
Started by MeateorMan |
6 Replies
7,892 Views |
![]() by therouting |
![]() |
![]() |
NOC Meaning
Started by navyasri |
0 Replies
3,393 Views |
![]() by navyasri |
![]() |
![]() |
Greetings everyone!
Started by Paganwar56 |
3 Replies
4,622 Views |
![]() by Bradley David Good |
![]() |
![]() |
Introducing myself.
Started by apollo00 |
3 Replies
9,117 Views |
![]() by trafficmoivio |
![]() |
![]() |
Just saying hi
Started by Mart1n |
2 Replies
5,259 Views |
![]() by Sol^Sa |
![]() |
![]() |
Hello all.
Started by On a Quest, you want in? |
2 Replies
8,416 Views |
![]() by On a Quest, you want in? |
![]() |
![]() |
Heya,
Started by daulatwant |
2 Replies
5,327 Views |
![]() by TylerDurden |
![]() |
![]() |
Hey everyone! 23yo from Germany
Started by Mucklor |
2 Replies
4,595 Views |
![]() by goodsamaritan |
![]() |
![]() |
Stephane, new here
Started by stephane |
1 Replies
4,027 Views |
![]() by TylerDurden |
![]() |
![]() |
22 year old from norway
Started by centropen |
0 Replies
3,702 Views |
![]() by centropen |
![]() |
![]() |
Greetings from Hawaii
Started by Unreasonable_Happiness |
1 Replies
4,380 Views |
![]() by van |
![]() |
![]() |
new member from the philippines
Started by kelpguy |
1 Replies
5,283 Views |
![]() by goodsamaritan |
![]() |
![]() |
Montreal, Canada
Started by MrDan |
1 Replies
4,457 Views |
![]() by TylerDurden |
Normal Topic
Hot Topic (More than 15 replies)
Very Hot Topic (More than 30 replies)
Locked Topic
Sticky Topic
Poll