/*
* 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;
}
}
}
}
}
Convivea - Home of Bit Che
Home |
Download
|
Donate
|
Forums
|
Contact |
|
Latest News: Bit Che 3.5 build 50 has been released for public use! Download Now! |
Products |
Bit Che
Download
MP3 Checker
Download
|
|
Home
Welcome, Guest. Please login or register. Did you miss your activation email?
Convivea News: |
|
Be apart of our community by joining our online forums. Registration is FREE! Members will receive access to beta versions and can also help directly with the development of the software projects. Register today!
NEW: Bit Che 3.5 build 50 has been released for public use! Download Now! |
|
Please welcome nancychandler340, our newest member.
Forum Recent Topics:
[General Discussion]
|
How do I find a good custom essay writing service?
by 42Duggg
|
Today at 06:08:37 am
|
[General Discussion]
|
PaCanva: Embrace Timeless Style with Our Canvas Bags & Packs
by Fernando
|
Yesterday at 02:10:34 pm
|
[General Discussion]
|
The Essential Roles of Retaining Wall Engineers
by Fernando
|
Yesterday at 12:11:47 pm
|
[General Discussion]
|
Random Video Chat: Connect with Strangers Worldwide!
by Fernando
|
June 07, 2023, 05:54:14 am
|
[General Discussion]
|
Embrace the Unexpected: Random Video Chat Unveiled!
by Fernando
|
June 06, 2023, 04:57:24 pm
|
[General Discussion]
|
Unveiling Connections: Embrace Random Video Chat!
by Fernando
|
June 06, 2023, 04:56:43 pm
|
[Computers - Technology]
|
Does antivirus software tell on you when downloading torrent files?
by Whysocky123
|
June 01, 2023, 10:31:05 pm
|
[Scripts & Development]
|
About Still small text on main window
by Fernando
|
May 31, 2023, 05:13:54 pm
|
Featured Product:
About Bit Che Screen Shot
|
Bit Che is an engine and script language for searching other websites.
- Super quick searching
- Able to preview file details
- Open source script files are customizable
More Information Download
|
 |
|
thank you for donating!
Current Projects:

|
|
|
|
|