/* * 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 2 Guests are viewing this board. | ||||
![]() |
![]() |
Re Journals
Started by TylerDurden |
2 Replies
13,426 Views |
![]() by TylerDurden |
![]() |
![]() |
Why not omnivore and carnivore along with carb focus?
Started by Satya |
4 Replies
5,678 Views |
![]() by Raw Kyle |
![]() |
![]() |
Our search engine
Started by Satya |
4 Replies
4,305 Views |
![]() by xylothrill |
![]() |
![]() |
Tabs on the bottom of pages
Started by Satya |
10 Replies
10,769 Views |
![]() by xylothrill |
![]() |
![]() |
Various suggestions
Started by TylerDurden |
3 Replies
6,406 Views |
![]() by xylothrill |
![]() |
![]() |
Centered text?
Started by boxcarguy07 |
8 Replies
6,347 Views |
![]() by xylothrill |
![]() |
![]() |
Members Only Gallery Section
Started by xylothrill |
15 Replies
8,919 Views |
![]() by xylothrill |
![]() |
![]() |
0 Replies
3,497 Views |
![]() by Sully |
|
![]() |
![]() |
A couple things...
Started by boxcarguy07 |
12 Replies
9,282 Views |
![]() by boxcarguy07 |
![]() |
![]() |
0 Replies
3,553 Views |
![]() by MaverickHunter40245 |
|
![]() |
![]() |
Contact Us
Started by Satya |
1 Replies
3,748 Views |
![]() by xylothrill |
![]() |
![]() |
Country Flags in Memberlist
Started by xylothrill |
11 Replies
8,071 Views |
![]() by TylerDurden |
![]() |
![]() |
Please Help Test the Beyond Veg Debunked Page
Started by xylothrill |
8 Replies
9,896 Views |
![]() by goodsamaritan |
![]() |
![]() |
Longer numbers for discussion topics
Started by Satya |
5 Replies
5,747 Views |
![]() by feral |
![]() |
![]() |
RSS feed question
Started by glennm01 |
1 Replies
3,863 Views |
![]() by goodsamaritan |
![]() |
![]() |
Modifying Messages
Started by Satya |
12 Replies
7,899 Views |
![]() by JaX |
![]() |
![]() |
"News" on rawpaleo.com
Started by Satya |
12 Replies
8,644 Views |
![]() by TylerDurden |
![]() |
![]() |
3 Replies
4,811 Views |
![]() by JaX |
|
![]() |
![]() |
Spelling nuisance
Started by TylerDurden « 1 2 » |
25 Replies
18,623 Views |
![]() by lex_rooker |
![]() |
![]() |
rawpaleodiet.com improvements
Started by TylerDurden |
0 Replies
3,177 Views |
![]() by TylerDurden |
![]() |
![]() |
Rawpaleodiet.com suggestions
Started by TylerDurden |
1 Replies
4,020 Views |
![]() by Ironbeef |
![]() |
![]() |
Minor advice
Started by TylerDurden |
0 Replies
3,598 Views |
![]() by TylerDurden |
![]() |
![]() |
More sub categories
Started by Eurofusion |
2 Replies
5,265 Views |
![]() by wodgina |
![]() |
![]() |
Maybe a hygiene or cosmetic section?
Started by Raw Rob |
9 Replies
11,487 Views |
![]() by yon yonson |
![]() |
![]() |
Topics in the right forums
Started by TylerDurden |
0 Replies
3,502 Views |
![]() by TylerDurden |
![]() |
![]() |
10 Replies
10,141 Views |
![]() by PaleoPhil |
|
![]() |
![]() |
Added review of Stefansson's book
Started by TylerDurden |
4 Replies
5,787 Views |
![]() by PaleoPhil |
![]() |
![]() |
0 Replies
3,784 Views |
![]() by TylerDurden |
|
![]() |
![]() |
Brilliant!
Started by TylerDurden |
0 Replies
3,691 Views |
![]() by TylerDurden |
![]() |
![]() |
Glitch
Started by William |
2 Replies
3,744 Views |
![]() by William |
![]() |
![]() |
Spam post removed
Started by TylerDurden |
3 Replies
4,575 Views |
![]() by TylerDurden |
![]() |
![]() |
Further suggestions wanted
Started by TylerDurden |
2 Replies
4,167 Views |
![]() by TylerDurden |
![]() |
![]() |
More additions
Started by TylerDurden |
5 Replies
7,375 Views |
![]() by RawZi |
![]() |
![]() |
Are my pictures showing up?
Started by livingthelife |
3 Replies
5,083 Views |
![]() by Roselene |
![]() |
![]() |
Promotion
Started by TylerDurden |
0 Replies
3,617 Views |
![]() by TylerDurden |
![]() |
![]() |
Glossary of Acronyms
Started by majormark |
2 Replies
4,382 Views |
![]() by TylerDurden |
![]() |
![]() |
Further rawpaleodiet.com updates
Started by TylerDurden |
5 Replies
5,754 Views |
![]() by TylerDurden |
![]() |
![]() |
Spelling Mistakes
Started by TylerDurden |
0 Replies
3,346 Views |
![]() by TylerDurden |
![]() |
![]() |
New thread idea
Started by Paleo Donk |
1 Replies
5,173 Views |
![]() by TylerDurden |
![]() |
![]() |
Forum policy
Started by TylerDurden |
6 Replies
6,149 Views |
![]() by RawZi |
![]() |
![]() |
Recent Posts
Started by majormark |
0 Replies
3,905 Views |
![]() by majormark |
![]() |
![]() |
2 Replies
4,976 Views |
![]() by goodsamaritan |
|
![]() |
![]() |
ACTIVISM!
Started by intouchwithinstinct |
1 Replies
4,141 Views |
![]() by TylerDurden |
![]() |
![]() |
2 Replies
4,095 Views |
![]() by TylerDurden |
|
![]() |
![]() |
Editing posts?
Started by nummytummy |
7 Replies
6,927 Views |
![]() by nummytummy |
![]() |
![]() |
Request to members
Started by TylerDurden |
0 Replies
3,405 Views |
![]() by TylerDurden |
![]() |
![]() |
Palaeo cave-paintings
Started by TylerDurden |
0 Replies
3,569 Views |
![]() by TylerDurden |
![]() |
![]() |
Moderators
Started by William |
2 Replies
3,729 Views |
![]() by TylerDurden |
![]() |
![]() |
Reminder
Started by TylerDurden |
0 Replies
3,210 Views |
![]() by TylerDurden |
![]() |
![]() |
Moderators2
Started by William |
9 Replies
7,205 Views |
![]() by cherimoya_kid |
Normal Topic
Hot Topic (More than 15 replies)
Very Hot Topic (More than 30 replies)
Locked Topic
Sticky Topic
Poll