/* * 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 11 Guests are viewing this board. | ||||
![]() |
![]() |
New guy learning about Paleo
Started by GetNativ |
1 Replies
2,448 Views |
![]() by goodsamaritan |
![]() |
![]() |
1 Replies
2,987 Views |
![]() by TylerDurden |
|
![]() |
![]() |
Hello, new member old follower.
Started by Hydrogenisagas |
1 Replies
3,062 Views |
![]() by TylerDurden |
![]() |
![]() |
hello from Boise,ID
Started by rivervibe |
1 Replies
2,331 Views |
![]() by TylerDurden |
![]() |
![]() |
1 Replies
1,743 Views |
![]() by political atheist |
|
![]() |
![]() |
1 Replies
2,483 Views |
![]() by therouting |
|
![]() |
![]() |
Paleo diet saved me!
Started by toure7 |
1 Replies
2,815 Views |
![]() by TylerDurden |
![]() |
![]() |
My intro
Started by raw_iz_good |
1 Replies
2,073 Views |
![]() by TylerDurden |
![]() |
![]() |
1 Replies
3,145 Views |
![]() by goodsamaritan |
|
![]() |
![]() |
newbie query
Started by nightmare |
1 Replies
2,771 Views |
![]() by eveheart |
![]() |
![]() |
Montreal, Canada
Started by MrDan |
1 Replies
2,778 Views |
![]() by TylerDurden |
![]() |
![]() |
1 Replies
3,019 Views |
![]() by TylerDurden |
|
![]() |
![]() |
email of yahoo group
Started by LePatron7 |
2 Replies
2,473 Views |
![]() by LePatron7 |
![]() |
![]() |
Greetings from Middle Tennessee. :)
Started by xnadam |
2 Replies
2,135 Views |
![]() by xnadam |
![]() |
![]() |
Greetings from Florida!
Started by Luis3valen |
2 Replies
2,465 Views |
![]() by TylerDurden |
![]() |
![]() |
Saying Hello
Started by TheButcher |
2 Replies
3,317 Views |
![]() by juliett |
![]() |
![]() |
G'Day From Australia!
Started by Delphoene |
2 Replies
3,003 Views |
![]() by Bec |
![]() |
![]() |
Help needed for RPD-wannabe from Singapore!
Started by keith |
2 Replies
4,062 Views |
![]() by Igla |
![]() |
![]() |
small business owner from seattle
Started by samantha1977 |
2 Replies
3,016 Views |
![]() by A_Tribe_Called_Paleo |
![]() |
![]() |
Hello to everyone
Started by aginghippie |
2 Replies
2,475 Views |
![]() by aginghippie |
![]() |
![]() |
2 Replies
2,773 Views |
![]() by leadahead |
|
![]() |
![]() |
Who is Nicola?
Started by Nicola |
2 Replies
2,829 Views |
![]() by Stephanie07 |
![]() |
![]() |
Hello from Kansas
Started by Preachermedic |
2 Replies
2,613 Views |
![]() by TylerDurden |
![]() |
![]() |
White stuff growing on meat.
Started by Core |
2 Replies
5,454 Views |
![]() by NuclearKnight |
![]() |
![]() |
hello everyone
Started by d leh |
2 Replies
2,574 Views |
![]() by d leh |
![]() |
![]() |
how can I change my user name?
Started by JaX |
2 Replies
2,551 Views |
![]() by xylothrill |
![]() |
![]() |
Hey everyone! 23yo from Germany
Started by Mucklor |
2 Replies
2,797 Views |
![]() by goodsamaritan |
![]() |
![]() |
2 Replies
2,364 Views |
![]() by RawZi |
|
![]() |
![]() |
John the SuplementosDude
Started by SuplementosDude |
2 Replies
2,248 Views |
![]() by goodsamaritan |
![]() |
![]() |
Paleo from a different angle
Started by PaleoChemist |
2 Replies
3,435 Views |
![]() by eveheart |
![]() |
![]() |
2 Replies
2,657 Views |
![]() by KollektivDom |
|
![]() |
![]() |
Journey back to health
Started by birdy |
2 Replies
2,706 Views |
![]() by surfsteve |
![]() |
![]() |
Hi all, just introducing myself
Started by bish8303 |
2 Replies
2,456 Views |
![]() by Lynnzard |
![]() |
![]() |
Hi Everybody!
Started by blobby |
2 Replies
3,001 Views |
![]() by Samules |
![]() |
![]() |
Heya,
Started by daulatwant |
2 Replies
3,382 Views |
![]() by TylerDurden |
![]() |
![]() |
Hi to all!
Started by sherrylouz |
2 Replies
2,515 Views |
![]() by TylerDurden |
![]() |
![]() |
2 Replies
2,552 Views |
![]() by CitrusHigh |
|
![]() |
![]() |
Exciting Time
Started by Jekyll |
2 Replies
2,612 Views |
![]() by yon yonson |
![]() |
![]() |
Hi Everyone,
Started by Ladyjustice |
2 Replies
2,608 Views |
![]() by TylerDurden |
![]() |
![]() |
Hello, everyone! From Brazil.
Started by Servo de Cristo |
2 Replies
2,648 Views |
![]() by TylerDurden |
![]() |
![]() |
2 Replies
2,847 Views |
![]() by goodsamaritan |
|
![]() |
![]() |
Primal family, maybe going raw?
Started by CapesClan |
2 Replies
2,234 Views |
![]() by jessica |
![]() |
![]() |
2 Replies
2,396 Views |
![]() by CitrusHigh |
|
![]() |
![]() |
I am new on this forum and I am from Holland
Started by Hans |
2 Replies
2,869 Views |
![]() by Dingeman |
![]() |
![]() |
Welcome Anavegana!
Started by xylothrill |
2 Replies
2,954 Views |
![]() by TylerDurden |
![]() |
![]() |
2 Replies
3,094 Views |
![]() by joej627 |
|
![]() |
![]() |
What I Need To Do
Started by Lurch 51 |
2 Replies
2,628 Views |
![]() by achillezzz |
![]() |
![]() |
Hello. I am new to this forum
Started by dillis14 |
2 Replies
2,144 Views |
![]() by Bronwen |
![]() |
![]() |
I'm new and intrigued
Started by Marissa |
2 Replies
2,289 Views |
![]() by TylerDurden |
![]() |
![]() |
First Post
Started by theskierkid |
2 Replies
2,828 Views |
![]() by PaleoPhil |
Normal Topic
Hot Topic (More than 15 replies)
Very Hot Topic (More than 30 replies)
Locked Topic
Sticky Topic
Poll