function skew_email($realMail){
$charst = array("A", "B", "C", "D", "E", "F", "G", "H", "I", "J",
"K", "L", "M", "N", "O", "P", "Q", "R", "S", "T",
"U", "V", "W", "X", "Y", "Z", "a", "b", "c", "d",
"e", "f", "g", "h", "i", "j", "k", "l", "m", "n",
"o", "p", "q", "r", "s", "t", "u", "v", "w", "x", "y",
"z", "@"
);
$htmls = array("65", "66", "67", "68", "69", "70", "71", "72", "73", "74",
"75", "76", "77", "78", "79", "80", "81", "82", "83", "84",
"85", "86", "87", "88", "89", "90",
"97", "98", "99", "100", "101", "102", "103", "104", "105",
"106", "107", "108", "109", "110", "111", "112", "113", "114",
"115", "116", "117", "118", "119", "120", "121", "122", "64"
);
$i=0;
while ($i < count($charst)) {
$realMail = ereg_replace($charst[$i], "".$htmls[$i].";", $realMail);
$i++;
}
return $realMail;
}
?>
phpinfo()
 PHP Version 4.3.4
|
| System | Linux Futie.futie.net 2.4.20-28.7 #1 Thu Dec 18 11:31:59 EST 2003 i686 |
| Build Date | Jan 22 2004 11:55:00 |
| Configure Command | './configure' '--enable-force-cgi-redirect' '--enable-discard-path' '--with-mysql' '--with-xml' '--enable-ftp' '--enable-bcmath' '--enable-calendar' '--with-jpeg-dir' '--enable-track-vars' '--enable-pic' '--enable-inline-optimization' '--with-regex=system' '--with-gettext' '--with-gd' '--with-jpeg-dir=/usr' '--with-png' '--with-zlib' '--with-gdbm' '--enable-debugger' '--enable-magic-quotes' '--enable-sysvsem' '--enable-sysvshm' '--enable-yp' '--disable-ipv6' |
| Server API | CGI |
| Virtual Directory Support | disabled |
| Configuration File (php.ini) Path | /usr/local/Zend/etc/php.ini |
| PHP API | 20020918 |
| PHP Extension | 20020429 |
| Zend Extension | 20021010 |
| Debug Build | no |
| Thread Safety | disabled |
| Registered PHP Streams | php, http, ftp, compress.zlib |
This program makes use of the Zend Scripting Language Engine: Zend Engine v1.3.0, Copyright (c) 1998-2003 Zend Technologies
|
Configuration
PHP Core
| Directive | Local Value | Master Value |
| allow_call_time_pass_reference | On | On |
| allow_url_fopen | On | On |
| always_populate_raw_post_data | Off | Off |
| arg_separator.input | & | & |
| arg_separator.output | & | & |
| asp_tags | Off | Off |
| auto_append_file | no value | no value |
| auto_prepend_file | no value | no value |
| browscap | no value | no value |
| default_charset | no value | no value |
| default_mimetype | text/html | text/html |
| define_syslog_variables | Off | Off |
| disable_classes | no value | no value |
| disable_functions | no value | no value |
| display_errors | On | On |
| display_startup_errors | Off | Off |
| doc_root | no value | no value |
| docref_ext | no value | no value |
| docref_root | no value | no value |
| enable_dl | On | On |
| error_append_string | no value | no value |
| error_log | no value | no value |
| error_prepend_string | no value | no value |
| error_reporting | 2039 | 2039 |
| expose_php | On | On |
| extension_dir | ./ | ./ |
| file_uploads | On | On |
| gpc_order | GPC | GPC |
| highlight.bg | #FFFFFF | #FFFFFF |
| highlight.comment | #FF9900 | #FF9900 |
| highlight.default | #0000CC | #0000CC |
| highlight.html | #000000 | #000000 |
| highlight.keyword | #006600 | #006600 |
| highlight.string | #CC0000 | #CC0000 |
| html_errors | On | On |
| ignore_repeated_errors | Off | Off |
| ignore_repeated_source | Off | Off |
| ignore_user_abort | Off | Off |
| implicit_flush | Off | Off |
| include_path | .:/usr/local/lib/php | .:/usr/local/lib/php |
| log_errors | Off | Off |
| log_errors_max_len | 1024 | 1024 |
| magic_quotes_gpc | On | On |
| magic_quotes_runtime | Off | Off |
| magic_quotes_sybase | Off | Off |
| max_execution_time | 30 | 30 |
| max_input_time | -1 | -1 |
| open_basedir | no value | no value |
| output_buffering | no value | no value |
| output_handler | no value | no value |
| post_max_size | 8M | 8M |
| precision | 14 | 14 |
| register_argc_argv | On | On |
| register_globals | On | On |
| report_memleaks | On | On |
| safe_mode | Off | Off |
| safe_mode_exec_dir | no value | no value |
| safe_mode_gid | Off | Off |
| safe_mode_include_dir | no value | no value |
| sendmail_from | me@localhost.com | me@localhost.com |
| sendmail_path | /usr/sbin/sendmail -t -i | /usr/sbin/sendmail -t -i |
| serialize_precision | 100 | 100 |
| short_open_tag | On | On |
| SMTP | localhost | localhost |
| smtp_port | 25 | 25 |
| sql.safe_mode | Off | Off |
| track_errors | Off | Off |
| unserialize_callback_func | no value | no value |
| upload_max_filesize | 2M | 2M |
| upload_tmp_dir | no value | no value |
| user_dir | no value | no value |
| variables_order | EGPCS | EGPCS |
| xmlrpc_error_number | 0 | 0 |
| xmlrpc_errors | Off | Off |
| y2k_compliance | Off | Off |
| DBA support | enabled |
| Supported handlers | gdbm cdb cdb_make inifile flatfile |
| GD Support | enabled |
| GD Version | bundled (2.0.15 compatible) |
| GIF Read Support | enabled |
| JPG Support | enabled |
| PNG Support | enabled |
| WBMP Support | enabled |
| XBM Support | enabled |
| MySQL Support | enabled |
| Active Persistent Links | 0 |
| Active Links | 0 |
| Client API version | 3.23.49 |
| MYSQL_MODULE_TYPE | builtin |
| MYSQL_SOCKET | /tmp/mysql.sock |
| MYSQL_INCLUDE | no value |
| MYSQL_LIBS | no value |
| Directive | Local Value | Master Value |
| mysql.allow_persistent | On | On |
| mysql.connect_timeout | 60 | 60 |
| mysql.default_host | no value | no value |
| mysql.default_password | no value | no value |
| mysql.default_port | no value | no value |
| mysql.default_socket | no value | no value |
| mysql.default_user | no value | no value |
| mysql.max_links | Unlimited | Unlimited |
| mysql.max_persistent | Unlimited | Unlimited |
| mysql.trace_mode | Off | Off |
| User-Space Object Overloading Support | enabled |
| PCRE (Perl Compatible Regular Expressions) Support | enabled |
| PCRE Library Version | 4.3 21-May-2003 |
| Revision | $Revision: 1.51.2.2 $ |
| Session Support | enabled |
| Registered save handlers | files user |
| Directive | Local Value | Master Value |
| session.auto_start | Off | Off |
| session.bug_compat_42 | On | On |
| session.bug_compat_warn | On | On |
| session.cache_expire | 180 | 180 |
| session.cache_limiter | nocache | nocache |
| session.cookie_domain | no value | no value |
| session.cookie_lifetime | 0 | 0 |
| session.cookie_path | / | / |
| session.cookie_secure | Off | Off |
| session.entropy_file | no value | no value |
| session.entropy_length | 0 | 0 |
| session.gc_divisor | 100 | 100 |
| session.gc_maxlifetime | 1440 | 1440 |
| session.gc_probability | 1 | 1 |
| session.name | PHPSESSID | PHPSESSID |
| session.referer_check | no value | no value |
| session.save_handler | files | files |
| session.save_path | /dev/shm | /dev/shm |
| session.serialize_handler | php | php |
| session.use_cookies | On | On |
| session.use_only_cookies | Off | Off |
| session.use_trans_sid | On | On |
| Regex Library | System library enabled |
| Dynamic Library Support | enabled |
| Path to sendmail | /usr/sbin/sendmail -t -i |
| Directive | Local Value | Master Value |
| assert.active | 1 | 1 |
| assert.bail | 0 | 0 |
| assert.callback | no value | no value |
| assert.quiet_eval | 0 | 0 |
| assert.warning | 1 | 1 |
| auto_detect_line_endings | 0 | 0 |
| default_socket_timeout | 60 | 60 |
| safe_mode_allowed_env_vars | PHP_ | PHP_ |
| safe_mode_protected_env_vars | LD_LIBRARY_PATH | LD_LIBRARY_PATH |
| url_rewriter.tags | a=href,area=href,frame=src,input=src,form=fakeentry | a=href,area=href,frame=src,input=src,form=fakeentry |
| user_agent | no value | no value |
| Tokenizer Support | enabled |
| XML Support | active |
| XML Namespace Support | active |
| EXPAT Version | 1.95.6 |
| ZLib Support | enabled |
| Compiled Version | 1.1.4 |
| Linked Version | 1.1.4 |
| Directive | Local Value | Master Value |
| zlib.output_compression | Off | Off |
| zlib.output_compression_level | -1 | -1 |
| zlib.output_handler | no value | no value |
Additional Modules
| Module Name |
| sysvsem |
| sysvshm |
Environment
| Variable | Value |
| PATH | /usr/local/bin:/usr/bin:/bin |
| DOCUMENT_ROOT | /home/futie/www |
| HTTP_ACCEPT | image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/vnd.ms-powerpoint, application/vnd.ms-excel, application/msword, application/x-shockwave-flash, */* |
| HTTP_ACCEPT_LANGUAGE | fr |
| HTTP_CONNECTION | Keep-Alive |
| HTTP_HOST | Futie.futie.net |
| HTTP_USER_AGENT | Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1) |
| REMOTE_ADDR | xxx.xxx.xxx.xxx |
| REMOTE_HOST | xxx.xxx.xxx.xxx |
| REMOTE_PORT | 3827 |
| SCRIPT_FILENAME | /home/futie/www/phpinfo.php |
| SERVER_ADDR | xxx.xxx.xxx.xxx |
| SERVER_ADMIN |
$email = skew_email('php@futie.net');
echo 'Mail ';
?> |
| SERVER_NAME | Futie.futie.net |
| SERVER_PORT | 80 |
| SERVER_SOFTWARE | Apache/1.3.29 (Unix) mod_gzip/1.3.19.1a PHP-CGI/0.1b |
| GATEWAY_INTERFACE | CGI/1.1 |
| SERVER_PROTOCOL | HTTP/1.0 |
| REQUEST_METHOD | GET |
| QUERY_STRING | no value |
| REQUEST_URI | /test.php |
| SCRIPT_NAME | /test.php |
PHP Variables
| Variable | Value |
| PHP_SELF | /phpinfo.php |
| _SERVER["PATH"] | /usr/local/bin:/usr/bin:/bin |
| _SERVER["DOCUMENT_ROOT"] | /home/futie/www |
| _SERVER["HTTP_ACCEPT"] | image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/vnd.ms-powerpoint, application/vnd.ms-excel, application/msword, application/x-shockwave-flash, */* |
| _SERVER["HTTP_ACCEPT_LANGUAGE"] | fr |
| _SERVER["HTTP_CONNECTION"] | Keep-Alive |
| _SERVER["HTTP_HOST"] | Futie.futie.net |
| _SERVER["HTTP_USER_AGENT"] | Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1) |
| _SERVER["REMOTE_ADDR"] | xxx.xxx.xxx.xxx |
| _SERVER["REMOTE_HOST"] | xxx.xxx.xxx.xxx |
| _SERVER["REMOTE_PORT"] | 3827 |
| _SERVER["SCRIPT_FILENAME"] | /home/futie/www/test.php |
| _SERVER["SERVER_ADDR"] | xxx.xxx.xxx.xxx |
| _SERVER["SERVER_ADMIN"] |
$email = skew_email('php@futie.net');
echo 'Mail ';
?> |
| _SERVER["SERVER_NAME"] | ns13.futie.net |
| _SERVER["SERVER_PORT"] | 80 |
| _SERVER["SERVER_SOFTWARE"] | Apache/1.3.29 (Unix) mod_gzip/1.3.19.1a PHP-CGI/0.1b |
| _SERVER["GATEWAY_INTERFACE"] | CGI/1.1 |
| _SERVER["SERVER_PROTOCOL"] | HTTP/1.0 |
| _SERVER["REQUEST_METHOD"] | GET |
| _SERVER["QUERY_STRING"] | no value |
| _SERVER["REQUEST_URI"] | /test.php |
| _SERVER["SCRIPT_NAME"] | /test.php |
| _SERVER["PHP_SELF"] | /test.php |
| _SERVER["argv"] | Array
(
)
|
| _SERVER["argc"] | 0 |
| _ENV["PATH"] | /usr/local/bin:/usr/bin:/bin |
| _ENV["DOCUMENT_ROOT"] | /home/futie/www |
| _ENV["HTTP_ACCEPT"] | image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/vnd.ms-powerpoint, application/vnd.ms-excel, application/msword, application/x-shockwave-flash, */* |
| _ENV["HTTP_ACCEPT_LANGUAGE"] | fr |
| _ENV["HTTP_CONNECTION"] | Keep-Alive |
| _ENV["HTTP_HOST"] | Futie.futie.net |
| _ENV["HTTP_USER_AGENT"] | Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1) |
| _ENV["REMOTE_ADDR"] | xxx.xxx.xxx.xxx |
| _ENV["REMOTE_HOST"] | xxx.xxx.xxx.xxx |
| _ENV["REMOTE_PORT"] | 3827 |
| _ENV["SCRIPT_FILENAME"] | /home/futie/www/test.php |
| _ENV["SERVER_ADDR"] | xxx.xxx.xxx.xxx |
| _ENV["SERVER_ADMIN"] |
$email = skew_email('php@futie.net');
echo 'Mail ';
?> |
| _ENV["SERVER_NAME"] | Futie.futie.net |
| _ENV["SERVER_PORT"] | 80 |
| _ENV["SERVER_SOFTWARE"] | Apache/1.3.29 (Unix) mod_gzip/1.3.19.1a PHP-CGI/0.1b |
| _ENV["GATEWAY_INTERFACE"] | CGI/1.1 |
| _ENV["SERVER_PROTOCOL"] | HTTP/1.0 |
| _ENV["REQUEST_METHOD"] | GET |
| _ENV["QUERY_STRING"] | no value |
| _ENV["REQUEST_URI"] | /phpinfo.php |
| _ENV["SCRIPT_NAME"] | /phpinfo.php |
PHP License
|
This program is free software; you can redistribute it and/or modify it under the terms of the PHP License as published by the PHP Group and included in the distribution in the file: LICENSE
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
If you did not receive a copy of the PHP license, or have any questions about PHP licensing, please contact license@php.net.
|