/* * 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 12 Guests are viewing this board. | ||||
![]() |
![]() |
Increase QUOTE Font to 10
Started by PaleoPhil |
9 Replies
8,257 Views |
![]() by goodsamaritan |
![]() |
![]() |
Install Google/Scroogle Search Engine
Started by zeno |
0 Replies
4,977 Views |
![]() by zeno |
![]() |
![]() |
Isn't this a RPD Only Forum?
Started by Chris |
17 Replies
14,327 Views |
![]() by cherimoya_kid |
![]() |
![]() |
Live Chat Box ( Facebook kinda like)
Started by achillezzz |
18 Replies
18,889 Views |
![]() by achillezzz |
![]() |
![]() |
4 Replies
7,253 Views |
![]() by PaleoPhil |
|
![]() |
![]() |
Logout causes 'Internal Server Error'
Started by Löwenherz |
2 Replies
6,156 Views |
![]() by Löwenherz |
![]() |
![]() |
Longer numbers for discussion topics
Started by Satya |
5 Replies
5,733 Views |
![]() by feral |
![]() |
![]() |
Low Carb Raw Paleo Forum
Started by Alive |
7 Replies
12,553 Views |
![]() by Alive |
![]() |
![]() |
Marketplace
Started by dariorpl |
6 Replies
7,986 Views |
![]() by eveheart |
![]() |
![]() |
Maybe a hygiene or cosmetic section?
Started by Raw Rob |
9 Replies
11,475 Views |
![]() by yon yonson |
![]() |
![]() |
Maybe make a Q/A section for new people?
Started by Poppy |
3 Replies
15,747 Views |
![]() by smokeyquartz |
![]() |
![]() |
Members Only Gallery Section
Started by xylothrill |
15 Replies
8,872 Views |
![]() by xylothrill |
![]() |
![]() |
Minor advice
Started by TylerDurden |
0 Replies
3,590 Views |
![]() by TylerDurden |
![]() |
![]() |
Minor hypocrisy
Started by TylerDurden |
1 Replies
4,775 Views |
![]() by sabertooth |
![]() |
![]() |
mobile app?
Started by Dr. D |
2 Replies
6,059 Views |
![]() by Dr. D |
![]() |
![]() |
Moderators
Started by William |
2 Replies
3,722 Views |
![]() by TylerDurden |
![]() |
![]() |
Moderators2
Started by William |
9 Replies
7,186 Views |
![]() by cherimoya_kid |
![]() |
![]() |
Modifying Messages
Started by Satya |
12 Replies
7,880 Views |
![]() by JaX |
![]() |
![]() |
More additions
Started by TylerDurden |
5 Replies
7,361 Views |
![]() by RawZi |
![]() |
![]() |
More sub categories
Started by Eurofusion |
2 Replies
5,255 Views |
![]() by wodgina |
![]() |
![]() |
3 Replies
5,190 Views |
![]() by the PresiDenT |
|
![]() |
![]() |
New forum software?
Started by lb_on_the_cb « 1 2 » |
25 Replies
23,830 Views |
![]() by the6step |
![]() |
![]() |
New Member Personal Message Limits
Started by jessica |
3 Replies
6,624 Views |
![]() by jessica |
![]() |
![]() |
New Moderators
Started by TylerDurden |
22 Replies
15,138 Views |
![]() by djr_81 |
![]() |
![]() |
New section(s) on the forum
Started by ! |
6 Replies
9,165 Views |
![]() by TylerDurden |
![]() |
![]() |
New thread idea
Started by Paleo Donk |
1 Replies
5,165 Views |
![]() by TylerDurden |
![]() |
![]() |
notifications
Started by MaximilianKohler |
1 Replies
5,091 Views |
![]() by MaximilianKohler |
![]() |
![]() |
Our search engine
Started by Satya |
4 Replies
4,295 Views |
![]() by xylothrill |
![]() |
![]() |
Palaeo cave-paintings
Started by TylerDurden |
0 Replies
3,563 Views |
![]() by TylerDurden |
![]() |
![]() |
Paleo Library and Mediateka
Started by Aura |
0 Replies
5,178 Views |
![]() by Aura |
![]() |
![]() |
3 Replies
6,612 Views |
![]() by TylerDurden |
|
![]() |
![]() |
Please Help Test the Beyond Veg Debunked Page
Started by xylothrill |
8 Replies
9,885 Views |
![]() by goodsamaritan |
![]() |
![]() |
4 Replies
7,569 Views |
![]() by Aaaaaa |
|
![]() |
![]() |
13 Replies
10,188 Views |
![]() by norawnofun |
|
![]() |
![]() |
Problem posting picture
Started by sydney |
6 Replies
10,634 Views |
![]() by goodsamaritan |
![]() |
![]() |
Promotion
Started by TylerDurden |
0 Replies
3,611 Views |
![]() by TylerDurden |
![]() |
![]() |
questions about personal messages
Started by jessica |
4 Replies
6,934 Views |
![]() by cherimoya_kid |
![]() |
![]() |
quote font size
Started by Alive |
7 Replies
8,674 Views |
![]() by cherimoya_kid |
![]() |
![]() |
quote of the week
Started by blackrhino |
2 Replies
5,764 Views |
![]() by blackrhino |
![]() |
![]() |
rawpaleodiet.com improvements
Started by TylerDurden |
0 Replies
3,168 Views |
![]() by TylerDurden |
![]() |
![]() |
Rawpaleodiet.com suggestions
Started by TylerDurden |
1 Replies
4,013 Views |
![]() by Ironbeef |
![]() |
![]() |
Re Journals
Started by TylerDurden |
2 Replies
13,408 Views |
![]() by TylerDurden |
![]() |
![]() |
Recent Posts
Started by majormark |
0 Replies
3,895 Views |
![]() by majormark |
![]() |
![]() |
Recommendation
Started by TylerDurden |
1 Replies
5,721 Views |
![]() by HIT_it_RAW |
![]() |
![]() |
Reminder
Started by TylerDurden |
0 Replies
3,204 Views |
![]() by TylerDurden |
![]() |
![]() |
Request
Started by TylerDurden |
4 Replies
6,675 Views |
![]() by TylerDurden |
![]() |
![]() |
Research Category
Started by kurite |
7 Replies
8,284 Views |
![]() by TylerDurden |
![]() |
![]() |
Reviews of diet books
Started by TylerDurden |
6 Replies
6,322 Views |
![]() by cherimoya_kid |
![]() |
![]() |
RSS - please add RSS to this forum
Started by majormark |
1 Replies
5,513 Views |
![]() by majormark |
![]() |
![]() |
RSS feed question
Started by glennm01 |
1 Replies
3,856 Views |
![]() by goodsamaritan |
Normal Topic
Hot Topic (More than 15 replies)
Very Hot Topic (More than 30 replies)
Locked Topic
Sticky Topic
Poll