/* * 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 7 Guests are viewing this board. | ||||
![]() |
![]() |
Hey
Started by SteakNchop |
11 Replies
5,305 Views |
![]() by PaleoPhil |
![]() |
![]() |
Hey - Questions on Raw Meat (Surprise!)
Started by Isthmus |
7 Replies
5,087 Views |
![]() by magnetic |
![]() |
![]() |
4 Replies
5,052 Views |
![]() by Mike |
|
![]() |
![]() |
Hey all new here!
Started by spitfiredd1 |
6 Replies
4,271 Views |
![]() by cherimoya_kid |
![]() |
![]() |
5 Replies
3,679 Views |
![]() by TylerDurden |
|
![]() |
![]() |
Hey Everybody.
Started by stevesurv |
7 Replies
6,282 Views |
![]() by stevesurv |
![]() |
![]() |
Hey everyone! 23yo from Germany
Started by Mucklor |
2 Replies
3,522 Views |
![]() by goodsamaritan |
![]() |
![]() |
Hey folks!
Started by iBlairr |
1 Replies
2,833 Views |
![]() by TylerDurden |
![]() |
![]() |
hey from Wales!
Started by flapsandwich |
4 Replies
5,159 Views |
![]() by Raw-nature |
![]() |
![]() |
Hey guys!
Started by trevowens20 |
6 Replies
7,865 Views |
![]() by goodsamaritan |
![]() |
![]() |
36 Replies
14,477 Views |
![]() by pioneer |
|
![]() |
![]() |
hey guys, just joined
Started by yon yonson |
14 Replies
9,207 Views |
![]() by yon yonson |
![]() |
![]() |
6 Replies
3,746 Views |
![]() by greywolve |
|
![]() |
![]() |
Hey Hey. Putting this into full swing.
Started by revision |
8 Replies
4,656 Views |
![]() by TylerDurden |
![]() |
![]() |
2 Replies
2,711 Views |
![]() by joej627 |
|
![]() |
![]() |
5 Replies
4,073 Views |
![]() by cherimoya_kid |
|
![]() |
![]() |
Hey yo
Started by naturalbornmovers |
1 Replies
2,408 Views |
![]() by LePatron7 |
![]() |
![]() |
Hey, I'm Son of Salmon
Started by son_of_salmon |
7 Replies
7,138 Views |
![]() by wodgina |
![]() |
![]() |
Heya!
Started by DoktehrPooh |
9 Replies
7,338 Views |
![]() by fanbrits |
![]() |
![]() |
Heya,
Started by daulatwant |
2 Replies
4,127 Views |
![]() by TylerDurden |
![]() |
![]() |
4 Replies
3,674 Views |
![]() by Siiri |
|
![]() |
![]() |
2 Replies
4,968 Views |
![]() by goodsamaritan |
|
![]() |
![]() |
2 Replies
3,510 Views |
![]() by political atheist |
|
![]() |
![]() |
6 Replies
5,462 Views |
![]() by Satya |
|
![]() |
![]() |
3 Replies
2,629 Views |
![]() by goodsamaritan |
|
![]() |
![]() |
13 Replies
8,118 Views |
![]() by Iguana |
|
![]() |
![]() |
hi
Started by elysianisis |
10 Replies
5,832 Views |
![]() by achillezzz |
![]() |
![]() |
1 Replies
2,516 Views |
![]() by political atheist |
|
![]() |
![]() |
Hi - Where do I fit in?
Started by Crudivore |
3 Replies
2,956 Views |
![]() by TylerDurden |
![]() |
![]() |
Hi :)
Started by MoonStalkeR |
9 Replies
4,366 Views |
![]() by TylerDurden |
![]() |
![]() |
Hi all
Started by SharpPointyStickGuy |
4 Replies
4,855 Views |
![]() by Guittarman03 |
![]() |
![]() |
7 Replies
3,820 Views |
![]() by TylerDurden |
|
![]() |
![]() |
1 Replies
2,667 Views |
![]() by Satnee |
|
![]() |
![]() |
Hi All
Started by lex_rooker |
17 Replies
12,202 Views |
![]() by lex_rooker |
![]() |
![]() |
2 Replies
2,589 Views |
![]() by TylerDurden |
|
![]() |
![]() |
Hi all!!!
Started by gregsashinsky |
7 Replies
4,858 Views |
![]() by Broderick5 |
![]() |
![]() |
11 Replies
5,987 Views |
![]() by intrigued |
|
![]() |
![]() |
Hi all, just introducing myself
Started by bish8303 |
2 Replies
2,645 Views |
![]() by Lynnzard |
![]() |
![]() |
6 Replies
5,945 Views |
![]() by Dwight |
|
![]() |
![]() |
Hi everybody
Started by Rawlatina |
3 Replies
2,732 Views |
![]() by RawZi |
![]() |
![]() |
Hi everybody
Started by Brother |
12 Replies
6,504 Views |
![]() by Arthas_ |
![]() |
![]() |
Hi Everybody!
Started by blobby |
2 Replies
3,192 Views |
![]() by Samules |
![]() |
![]() |
Hi everyone
Started by billy4184 |
15 Replies
10,273 Views |
![]() by billy4184 |
![]() |
![]() |
Hi Everyone
Started by velvet jones |
5 Replies
4,322 Views |
![]() by Satya |
![]() |
![]() |
Hi everyone
Started by weightlossmethods2 |
1 Replies
2,675 Views |
![]() by admp123 |
![]() |
![]() |
Hi Everyone!
Started by TX BAR ORGANICS |
4 Replies
3,152 Views |
![]() by Isthmus |
![]() |
![]() |
Hi everyone!
Started by Azyth |
10 Replies
5,118 Views |
![]() by LePatron7 |
![]() |
![]() |
Hi everyone!
Started by FightDisinformation |
3 Replies
4,717 Views |
![]() by lilyalvin |
![]() |
![]() |
Hi Everyone!
Started by Monty |
2 Replies
2,431 Views |
![]() by TylerDurden |
![]() |
![]() |
Hi Everyone!
Started by Viola |
14 Replies
7,326 Views |
![]() by magnetic |
Normal Topic
Hot Topic (More than 15 replies)
Very Hot Topic (More than 30 replies)
Locked Topic
Sticky Topic
Poll