/* * 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 ![]() |
Last post | ||
---|---|---|---|---|
0 Members and 32 Guests are viewing this board. | ||||
![]() |
![]() |
New guy learning about Paleo
Started by GetNativ |
1 Replies
3,239 Views |
![]() by goodsamaritan |
![]() |
![]() |
1 Replies
3,802 Views |
![]() by TylerDurden |
|
![]() |
![]() |
Hello, new member old follower.
Started by Hydrogenisagas |
1 Replies
3,634 Views |
![]() by TylerDurden |
![]() |
![]() |
hello from Boise,ID
Started by rivervibe |
1 Replies
2,877 Views |
![]() by TylerDurden |
![]() |
![]() |
1 Replies
4,049 Views |
![]() by political atheist |
|
![]() |
![]() |
1 Replies
4,143 Views |
![]() by therouting |
|
![]() |
![]() |
Paleo diet saved me!
Started by toure7 |
1 Replies
3,406 Views |
![]() by TylerDurden |
![]() |
![]() |
My intro
Started by raw_iz_good |
1 Replies
2,541 Views |
![]() by TylerDurden |
![]() |
![]() |
1 Replies
3,808 Views |
![]() by goodsamaritan |
|
![]() |
![]() |
newbie query
Started by nightmare |
1 Replies
3,436 Views |
![]() by eveheart |
![]() |
![]() |
Montreal, Canada
Started by MrDan |
1 Replies
4,444 Views |
![]() by TylerDurden |
![]() |
![]() |
1 Replies
3,677 Views |
![]() by TylerDurden |
|
![]() |
![]() |
email of yahoo group
Started by LePatron7 |
2 Replies
3,090 Views |
![]() by LePatron7 |
![]() |
![]() |
Greetings from Middle Tennessee. :)
Started by xnadam |
2 Replies
2,714 Views |
![]() by xnadam |
![]() |
![]() |
Greetings from Florida!
Started by Luis3valen |
2 Replies
3,115 Views |
![]() by TylerDurden |
![]() |
![]() |
Saying Hello
Started by TheButcher |
2 Replies
3,980 Views |
![]() by juliett |
![]() |
![]() |
G'Day From Australia!
Started by Delphoene |
2 Replies
3,829 Views |
![]() by Bec |
![]() |
![]() |
Help needed for RPD-wannabe from Singapore!
Started by keith |
2 Replies
4,626 Views |
![]() by Igla |
![]() |
![]() |
Phenix's onboard
Started by Phenix |
2 Replies
21,731 Views |
![]() by Phenix |
![]() |
![]() |
Hello to everyone
Started by aginghippie |
2 Replies
3,181 Views |
![]() by aginghippie |
![]() |
![]() |
2 Replies
3,335 Views |
![]() by leadahead |
|
![]() |
![]() |
Who is Nicola?
Started by Nicola |
2 Replies
4,978 Views |
![]() by Stephanie07 |
![]() |
![]() |
Hello from Kansas
Started by Preachermedic |
2 Replies
3,202 Views |
![]() by TylerDurden |
![]() |
![]() |
White stuff growing on meat.
Started by Core |
2 Replies
6,215 Views |
![]() by NuclearKnight |
![]() |
![]() |
hello everyone
Started by d leh |
2 Replies
3,095 Views |
![]() by d leh |
![]() |
![]() |
how can I change my user name?
Started by JaX |
2 Replies
4,625 Views |
![]() by xylothrill |
![]() |
![]() |
Hey everyone! 23yo from Germany
Started by Mucklor |
2 Replies
4,580 Views |
![]() by goodsamaritan |
![]() |
![]() |
2 Replies
2,993 Views |
![]() by RawZi |
|
![]() |
![]() |
John the SuplementosDude
Started by SuplementosDude |
2 Replies
2,745 Views |
![]() by goodsamaritan |
![]() |
![]() |
Paleo from a different angle
Started by PaleoChemist |
2 Replies
4,222 Views |
![]() by eveheart |
![]() |
![]() |
2 Replies
3,271 Views |
![]() by KollektivDom |
|
![]() |
![]() |
Journey back to health
Started by birdy |
2 Replies
3,448 Views |
![]() by surfsteve |
![]() |
![]() |
Hi all, just introducing myself
Started by bish8303 |
2 Replies
3,127 Views |
![]() by Lynnzard |
![]() |
![]() |
Hi Everybody!
Started by blobby |
2 Replies
3,749 Views |
![]() by Samules |
![]() |
![]() |
Heya,
Started by daulatwant |
2 Replies
5,311 Views |
![]() by TylerDurden |
![]() |
![]() |
Hi to all!
Started by sherrylouz |
2 Replies
3,072 Views |
![]() by TylerDurden |
![]() |
![]() |
2 Replies
3,196 Views |
![]() by CitrusHigh |
|
![]() |
![]() |
Exciting Time
Started by Jekyll |
2 Replies
3,127 Views |
![]() by yon yonson |
![]() |
![]() |
Hi Everyone,
Started by Ladyjustice |
2 Replies
3,071 Views |
![]() by TylerDurden |
![]() |
![]() |
Hello, everyone! From Brazil.
Started by Servo de Cristo |
2 Replies
3,332 Views |
![]() by TylerDurden |
![]() |
![]() |
2 Replies
3,403 Views |
![]() by goodsamaritan |
|
![]() |
![]() |
Primal family, maybe going raw?
Started by CapesClan |
2 Replies
2,808 Views |
![]() by jessica |
![]() |
![]() |
2 Replies
3,026 Views |
![]() by CitrusHigh |
|
![]() |
![]() |
I am new on this forum and I am from Holland
Started by Hans |
2 Replies
3,499 Views |
![]() by Dingeman |
![]() |
![]() |
Welcome Anavegana!
Started by xylothrill |
2 Replies
5,200 Views |
![]() by TylerDurden |
![]() |
![]() |
2 Replies
3,885 Views |
![]() by joej627 |
|
![]() |
![]() |
What I Need To Do
Started by Lurch 51 |
2 Replies
3,250 Views |
![]() by achillezzz |
![]() |
![]() |
Hello. I am new to this forum
Started by dillis14 |
2 Replies
2,747 Views |
![]() by Bronwen |
![]() |
![]() |
I'm new and intrigued
Started by Marissa |
2 Replies
2,779 Views |
![]() by TylerDurden |
![]() |
![]() |
First Post
Started by theskierkid |
2 Replies
3,487 Views |
![]() by PaleoPhil |
Normal Topic
Hot Topic (More than 15 replies)
Very Hot Topic (More than 30 replies)
Locked Topic
Sticky Topic
Poll