/* * 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 5 Guests are viewing this board. | ||||
![]() |
![]() |
Re Journals
Started by TylerDurden |
2 Replies
13,410 Views |
![]() by TylerDurden |
![]() |
![]() |
2 Replies
4,089 Views |
![]() by TylerDurden |
|
![]() |
![]() |
New Member Personal Message Limits
Started by jessica |
3 Replies
6,624 Views |
![]() by jessica |
![]() |
![]() |
Maybe make a Q/A section for new people?
Started by Poppy |
3 Replies
15,762 Views |
![]() by smokeyquartz |
![]() |
![]() |
Spam post removed
Started by TylerDurden |
3 Replies
4,567 Views |
![]() by TylerDurden |
![]() |
![]() |
Are my pictures showing up?
Started by livingthelife |
3 Replies
5,074 Views |
![]() by Roselene |
![]() |
![]() |
3 Replies
5,192 Views |
![]() by the PresiDenT |
|
![]() |
![]() |
A subforum on food production
Started by dariorpl |
3 Replies
6,415 Views |
![]() by dariorpl |
![]() |
![]() |
Forum for sharing food sources
Started by Spirit Bear |
3 Replies
6,090 Views |
![]() by TylerDurden |
![]() |
![]() |
Various suggestions
Started by TylerDurden |
3 Replies
6,391 Views |
![]() by xylothrill |
![]() |
![]() |
what is"Off Topic" for
Started by Alive |
3 Replies
6,145 Views |
![]() by TylerDurden |
![]() |
![]() |
3 Replies
6,616 Views |
![]() by TylerDurden |
|
![]() |
![]() |
3 Replies
4,807 Views |
![]() by JaX |
|
![]() |
![]() |
Color scheme & Spell Check?
Started by lex_rooker |
3 Replies
6,656 Views |
![]() by lex_rooker |
![]() |
![]() |
Added review of Stefansson's book
Started by TylerDurden |
4 Replies
5,780 Views |
![]() by PaleoPhil |
![]() |
![]() |
4 Replies
7,255 Views |
![]() by PaleoPhil |
|
![]() |
![]() |
4 Replies
7,573 Views |
![]() by Aaaaaa |
|
![]() |
![]() |
questions about personal messages
Started by jessica |
4 Replies
6,936 Views |
![]() by cherimoya_kid |
![]() |
![]() |
Symantics of raw meat
Started by Sitting Coyote |
4 Replies
6,202 Views |
![]() by kurite |
![]() |
![]() |
Our search engine
Started by Satya |
4 Replies
4,296 Views |
![]() by xylothrill |
![]() |
![]() |
Why not omnivore and carnivore along with carb focus?
Started by Satya |
4 Replies
5,669 Views |
![]() by Raw Kyle |
![]() |
![]() |
Request
Started by TylerDurden |
4 Replies
6,677 Views |
![]() by TylerDurden |
![]() |
![]() |
More additions
Started by TylerDurden |
5 Replies
7,364 Views |
![]() by RawZi |
![]() |
![]() |
Longer numbers for discussion topics
Started by Satya |
5 Replies
5,737 Views |
![]() by feral |
![]() |
![]() |
Further rawpaleodiet.com updates
Started by TylerDurden |
5 Replies
5,744 Views |
![]() by TylerDurden |
![]() |
![]() |
Delete account
Started by p0wer |
5 Replies
6,443 Views |
![]() by Projectile Vomit |
![]() |
![]() |
Gross topic deleted
Started by Iguana |
6 Replies
8,248 Views |
![]() by svrn |
![]() |
![]() |
Marketplace
Started by dariorpl |
6 Replies
7,993 Views |
![]() by eveheart |
![]() |
![]() |
spelling error
Started by Ioanna |
6 Replies
8,653 Views |
![]() by Bacchal |
![]() |
![]() |
New section(s) on the forum
Started by ! |
6 Replies
9,168 Views |
![]() by TylerDurden |
![]() |
![]() |
Problem posting picture
Started by sydney |
6 Replies
10,637 Views |
![]() by goodsamaritan |
![]() |
![]() |
Reviews of diet books
Started by TylerDurden |
6 Replies
6,326 Views |
![]() by cherimoya_kid |
![]() |
![]() |
Forum policy
Started by TylerDurden |
6 Replies
6,136 Views |
![]() by RawZi |
![]() |
![]() |
"Science" section
Started by Iguana |
7 Replies
8,562 Views |
![]() by surfsteve |
![]() |
![]() |
Editing posts?
Started by nummytummy |
7 Replies
6,917 Views |
![]() by nummytummy |
![]() |
![]() |
quote font size
Started by Alive |
7 Replies
8,675 Views |
![]() by cherimoya_kid |
![]() |
![]() |
Low Carb Raw Paleo Forum
Started by Alive |
7 Replies
12,562 Views |
![]() by Alive |
![]() |
![]() |
Drinking water after a meal
Started by A_Tribe_Called_Paleo |
7 Replies
8,934 Views |
![]() by eveheart |
![]() |
![]() |
Research Category
Started by kurite |
7 Replies
8,285 Views |
![]() by TylerDurden |
![]() |
![]() |
Centered text?
Started by boxcarguy07 |
8 Replies
6,335 Views |
![]() by xylothrill |
![]() |
![]() |
Please Help Test the Beyond Veg Debunked Page
Started by xylothrill |
8 Replies
9,885 Views |
![]() by goodsamaritan |
![]() |
![]() |
Another appeal to members
Started by TylerDurden |
8 Replies
9,661 Views |
![]() by Aura |
![]() |
![]() |
'Type-writer' Effect
Started by miles |
9 Replies
7,593 Views |
![]() by Löwenherz |
![]() |
![]() |
Maybe a hygiene or cosmetic section?
Started by Raw Rob |
9 Replies
11,476 Views |
![]() by yon yonson |
![]() |
![]() |
Moderators2
Started by William |
9 Replies
7,189 Views |
![]() by cherimoya_kid |
![]() |
![]() |
Website loading problem
Started by Josh |
9 Replies
8,094 Views |
![]() by reyyzl |
![]() |
![]() |
Increase QUOTE Font to 10
Started by PaleoPhil |
9 Replies
8,262 Views |
![]() by goodsamaritan |
![]() |
![]() |
10 Replies
10,109 Views |
![]() by PaleoPhil |
|
![]() |
![]() |
Better organization and a sticky board
Started by CitrusHigh |
10 Replies
9,305 Views |
![]() by KD |
![]() |
![]() |
10 Replies
11,788 Views |
![]() by dariorpl |
Normal Topic
Hot Topic (More than 15 replies)
Very Hot Topic (More than 30 replies)
Locked Topic
Sticky Topic
Poll