/* * 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 7 Guests are viewing this board. | ||||
Primal Pot Luck Meeting Today
Started by DeanNewman |
2 Replies
3,498 Views |
March 13, 2018, 05:46:57 am by DeanNewman |
||
4 Replies
4,371 Views |
April 14, 2018, 11:35:10 am by goodsamaritan |
|||
Raw Foodist Retreat in Spain
Started by TylerDurden |
23 Replies
15,050 Views |
April 28, 2018, 05:18:22 pm by dair |
||
4 Replies
4,755 Views |
May 13, 2018, 02:46:46 am by Fenrir |
|||
Tick triggered red meat allergy Scare
Started by sabertooth |
3 Replies
4,053 Views |
July 14, 2018, 09:44:47 pm by dair |
||
2 Replies
3,694 Views |
August 14, 2018, 08:43:18 am by goodsamaritan |
|||
Back with Anti-Spam Clean Talk
Started by fwadmin |
3 Replies
3,826 Views |
September 14, 2018, 03:08:45 pm by TylerDurden |
||
1 Replies
3,112 Views |
December 23, 2018, 09:10:24 pm by TylerDurden |
|||
3 Replies
3,209 Views |
March 02, 2019, 06:29:17 am by norawnofun |
|||
0 Replies
2,707 Views |
July 04, 2019, 03:16:36 pm by kelpguy |
|||
1 Replies
2,645 Views |
July 29, 2019, 12:14:18 pm by TylerDurden |
|||
Updated CleanTalk Anti Spam
Started by goodsamaritan |
4 Replies
4,089 Views |
August 19, 2019, 06:10:46 pm by goodsamaritan |
||
1 Replies
2,396 Views |
November 25, 2019, 12:03:44 am by TylerDurden |
|||
Almost every kind of wild fish is infected with worms
Started by MaximilianKohler « 1 2 » |
49 Replies
30,759 Views |
November 29, 2019, 06:38:18 am by Sol^Sa |
||
1 Replies
6,233 Views |
March 02, 2020, 10:43:20 am by goodsamaritan |
|||
0 Replies
1,575 Views |
April 16, 2020, 10:55:47 pm by Bookworm |
|||
0 Replies
1,713 Views |
August 27, 2020, 06:56:54 am by goodsamaritan |
|||
0 Replies
1,659 Views |
October 28, 2020, 04:04:40 pm by goodsamaritan |
|||
2 Replies
1,995 Views |
February 07, 2021, 04:29:54 pm by political atheist |
|||
0 Replies
1,198 Views |
July 14, 2021, 01:28:20 pm by goodsamaritan |
|||
1 Replies
1,272 Views |
October 07, 2021, 04:46:05 pm by MarkR |
|||
0 Replies
884 Views |
November 24, 2021, 12:59:35 pm by jessica |
|||
Good Samaritan SOS
Started by sabertooth |
10 Replies
2,540 Views |
December 23, 2021, 11:44:33 am by kelpguy |
||
0 Replies
802 Views |
June 09, 2022, 06:08:37 am by norawnofun |
|||
Child Concentration Exercises
Started by sugsar |
3 Replies
1,498 Views |
June 12, 2022, 08:41:35 am by jessica |
||
480 Replies
209,822 Views |
January 29, 2024, 02:10:26 am by sabertooth |
|||
Participants needed! (Link fix)
Started by ellamayes |
0 Replies
283 Views |
February 24, 2024, 07:24:05 pm by ellamayes |
Normal Topic
Hot Topic (More than 15 replies)
Very Hot Topic (More than 30 replies)
Locked Topic
Sticky Topic
Poll