/* * 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 20 Guests are viewing this board. | ||||
1 Replies
1,987 Views |
February 16, 2009, 09:16:30 pm by TylerDurden |
|||
Investments
Started by wodgina |
22 Replies
7,909 Views |
February 10, 2009, 06:41:23 am by TylerDurden |
||
Favourite Quotations
Started by TylerDurden |
14 Replies
6,530 Views |
February 07, 2009, 01:42:27 pm by Sarav |
||
What are you thinking?
Started by TylerDurden |
21 Replies
8,568 Views |
February 07, 2009, 01:32:30 pm by Sarav |
||
Snowing in the UK
Started by TylerDurden |
7 Replies
4,372 Views |
February 03, 2009, 07:01:21 pm by TylerDurden |
||
To all the January Birthday Boys
Started by Satya |
0 Replies
1,897 Views |
January 29, 2009, 04:16:40 am by Satya |
||
2 Replies
2,784 Views |
January 22, 2009, 04:16:22 am by Nicola |
|||
Historical Background
Started by Besse84 |
2 Replies
2,892 Views |
January 19, 2009, 10:48:12 am by Raw Kyle |
||
NASA: Life on Mars?
Started by goodsamaritan |
0 Replies
2,086 Views |
January 15, 2009, 10:29:02 pm by goodsamaritan |
||
1 Replies
2,658 Views |
January 13, 2009, 09:08:17 pm by goodsamaritan |
|||
MOVED: Irritating internet laws
Started by Waungata |
0 Replies
2,623 Views |
January 08, 2009, 11:41:33 pm by Waungata |
||
Any musicians?
Started by boxcarguy07 |
10 Replies
9,280 Views |
January 08, 2009, 12:44:09 pm by seesawsemiology |
||
My compositions
Started by boxcarguy07 |
7 Replies
4,976 Views |
January 02, 2009, 11:41:30 am by seesawsemiology |
||
Ethel Merman
Started by TylerDurden |
3 Replies
2,930 Views |
January 01, 2009, 01:41:00 pm by lex_rooker |
||
0 Replies
1,946 Views |
January 01, 2009, 10:25:50 am by goodsamaritan |
|||
Star Wars Fans!!!
Started by goodsamaritan |
10 Replies
5,643 Views |
December 30, 2008, 01:31:01 am by avalon |
||
PaleoPup
Started by livingthelife |
3 Replies
2,329 Views |
December 14, 2008, 06:58:20 am by boxcarguy07 |
||
Your Ancestry?
Started by Sully |
6 Replies
3,587 Views |
December 12, 2008, 03:16:02 pm by goodsamaritan |
||
Could you pass the 11-plus?
Started by boxcarguy07 |
0 Replies
2,363 Views |
December 11, 2008, 01:13:36 am by boxcarguy07 |
||
Stone Age artworks found in Russia
Started by TylerDurden |
0 Replies
2,267 Views |
December 04, 2008, 06:16:59 am by TylerDurden |
||
Happy Thanksgiving!
Started by boxcarguy07 |
6 Replies
3,647 Views |
November 30, 2008, 06:25:39 pm by glennm01 |
||
Osaka Street Food
Started by goodsamaritan |
1 Replies
2,345 Views |
November 24, 2008, 04:22:39 am by Sully |
||
New Game
Started by TylerDurden « 1 2 » |
37 Replies
12,206 Views |
November 18, 2008, 01:16:34 am by boxcarguy07 |
||
Hillarious Dogs!
Started by xylothrill |
2 Replies
2,100 Views |
November 18, 2008, 12:41:29 am by boxcarguy07 |
||
What made you happy today?
Started by TylerDurden |
16 Replies
6,567 Views |
November 14, 2008, 09:11:50 pm by boxcarguy07 |
||
The ultimate food-Vitamin D? PUFAs?
Started by TylerDurden |
16 Replies
6,908 Views |
November 14, 2008, 07:04:35 pm by rawlion |
||
RAF in the movies
Started by Satya |
5 Replies
2,909 Views |
November 13, 2008, 10:54:23 pm by Sully |
||
Testimonials
Started by TylerDurden |
0 Replies
2,077 Views |
November 13, 2008, 05:05:18 am by TylerDurden |
||
Magnets?
Started by TylerDurden |
1 Replies
2,212 Views |
November 07, 2008, 06:38:13 am by JustAnotherExplorer |
||
Old Ads
Started by xylothrill |
1 Replies
1,919 Views |
November 06, 2008, 03:58:41 am by Raw Kyle |
||
New Rawist Term
Started by TylerDurden |
0 Replies
2,161 Views |
November 04, 2008, 07:02:35 pm by TylerDurden |
||
story of stuff
Started by Raw Kyle |
4 Replies
2,946 Views |
November 02, 2008, 03:34:32 am by Raw Kyle |
||
Happy Birthday, Sarav!!!!
Started by xylothrill |
3 Replies
2,405 Views |
October 31, 2008, 11:59:28 am by Sarav |
||
Youtube wealth video
Started by TylerDurden |
6 Replies
3,782 Views |
October 30, 2008, 06:45:53 am by goodsamaritan |
||
Popularity of snuff
Started by TylerDurden |
0 Replies
2,231 Views |
October 27, 2008, 10:27:53 pm by TylerDurden |
||
Some Videos I made
Started by Sully |
2 Replies
2,409 Views |
October 27, 2008, 06:26:27 pm by wodgina |
||
rawpaleo.com transfer
Started by Satya |
3 Replies
2,241 Views |
October 26, 2008, 10:14:03 pm by Satya |
||
Happy Birthday Dan!!!!!!!!
Started by xylothrill |
0 Replies
1,868 Views |
October 18, 2008, 12:53:01 pm by xylothrill |
||
Folding@Home
Started by MaverickHunter40245 |
1 Replies
2,111 Views |
October 18, 2008, 12:49:03 pm by xylothrill |
||
Nutritional Link to Violent Crimes?
Started by Squall |
10 Replies
5,734 Views |
October 18, 2008, 08:23:41 am by Python |
||
10 Replies
5,012 Views |
October 17, 2008, 08:09:55 pm by Raw Kyle |
|||
Question re website maintenance
Started by TylerDurden |
13 Replies
5,867 Views |
October 16, 2008, 01:24:53 am by Satya |
||
uphill race on token fuel
Started by coconinoz |
0 Replies
2,016 Views |
October 13, 2008, 11:39:06 pm by coconinoz |
||
ravenous
Started by seesawsemiology |
5 Replies
3,958 Views |
October 10, 2008, 04:24:32 am by TylerDurden |
||
Happy Birthday GoodSamaritan!!!!!!!!
Started by xylothrill |
1 Replies
2,137 Views |
October 03, 2008, 05:05:25 pm by goodsamaritan |
||
Happy Birthday, Michael!
Started by xylothrill |
0 Replies
1,987 Views |
October 03, 2008, 02:22:47 pm by xylothrill |
||
10 Replies
6,113 Views |
October 03, 2008, 11:02:37 am by Satya |
|||
73 Replies
23,875 Views |
October 02, 2008, 08:22:57 pm by TylerDurden |
|||
PETA's amusing idea
Started by TylerDurden |
1 Replies
2,611 Views |
September 29, 2008, 08:10:41 pm by boxcarguy07 |
||
Coming Clean
Started by stevesurv |
10 Replies
5,257 Views |
September 24, 2008, 07:42:46 am by Raw Kyle |
Normal Topic
Hot Topic (More than 15 replies)
Very Hot Topic (More than 30 replies)
Locked Topic
Sticky Topic
Poll