PHP4 web pages
Introduction
PHP 4
is an advanced way to build dynamic web pages.
As with standard SSI, these
directives are processed before they are presented to
the web browsing software, so the user does not see the
PHP 4 code, only the resultant output.
Also, as with standard SSI, use of these directives is restricted,
and they will not work from user personal web sites.
Simple Test
If this shows up, PHP 4 is working!
Server Variable Test
This web server identifies itself as:
Apache/1.3.36 (Unix) mod_jk/1.2.23 PHP/5.2.3 mod_perl/1.29
I have no idea what web browser you are using.
Source Code
Here is the source code for this page, with syntax highlighting:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<HTML>
<HEAD>
<TITLE>PHP4 Web Pages</TITLE>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso8859-1">
<META NAME="ROBOTS" CONTENT="NOFOLLOW">
<META NAME="DESCRIPTION"
CONTENT="A description of building web pages with PHP 4 directives.">
<LINK REL=STYLESHEET HREF="../../sens.css" TYPE="text/css">
</HEAD>
<BODY>
<H1>PHP4 web pages</H1>
<P>
<H2>Introduction</H2>
<P>
<A HREF="http://www.php.net">PHP 4</A>
is an advanced way to build dynamic web pages.
As with standard SSI, these
directives are processed before they are presented to
the web browsing software, so the user does not see the
PHP 4 code, only the resultant output.
<P>
Also, as with standard SSI, use of these directives is restricted,
and they will not work from user personal web sites.
<P>
<HR>
<H2>Simple Test</H2>
<P>
<?php echo "If this shows up, PHP 4 is working!"; ?>
<HR>
<H2>Server Variable Test</H2>
<P>
This web server identifies itself as:<br>
<?php echo $_SERVER["SERVER_SOFTWARE"]; ?>
<P>
<?php
if (strstr($_SERVER["HTTP_USER_AGENT"], "MSIE")) {
?>
You are using Internet Explorer as your web browser.
<?php
} elseif (strstr($_SERVER["HTTP_USER_AGENT"], "Netscape")) {
?>
You are using Netscape as your web browser.
<?php
} elseif (strstr($_SERVER["HTTP_USER_AGENT"], "Mozilla")) {
?>
You are using Mozilla as your web browser.
<?php
} else {
?>
I have no idea what web browser you are using.
<?php
}
?>
<HR>
<H2>Source Code</H2>
<P>
Here is the source code for this page, with syntax highlighting:<br>
<P STYLE="border: solid red;"><kbd>
<?php show_source("php.php"); ?>
</kbd></P>
<H2>Predefined Variables</H2>
<P>
Here is a list of all predefined variables:<br><br>
<?php phpinfo(); ?>
<P>
<HR CLASS="UB">
Please <A HREF="./">click here</A> to return to the advanced web page page.
<HR CLASS="UB">
<P>
<A HREF="http://www.sens.buffalo.edu/UBiquity/"><IMG SRC="../../images/power.gif"
BORDER="0" WIDTH="137" HEIGHT="58" ALIGN="RIGHT"
ALT="The Powered by UBiquity logo, a link to the UBiquity home page"
TITLE="Powered by UBiquity"></A>
<BR CLEAR="ALL">
<!-- These buttons note the fact that the web page and the style sheet pass
the requirements of the W3C validity checkers. -->
<p>
<div align="right">
<a href="http://validator.w3.org/check/referer">
<img border="0" width="88" height="31"
src="../../images/w3c/valid-html401.png"
alt="Valid HTML 4.01!"></a>
<a href="http://jigsaw.w3.org/css-validator/validator?uri=http://www.sens.buffalo.edu/sens.css">
<img border="0" width="88" height="31"
src="../../images/w3c/vcss.png"
alt="Valid CSS!"></a>
</div>
</BODY>
</HTML>
Predefined Variables
Here is a list of all predefined variables:
phpinfo()
 PHP Version 5.2.3
|
| System | SunOS confucius.eng.buffalo.edu 5.10 Generic_118822-30 sun4u |
| Build Date | Jun 1 2007 16:03:51 |
| Configure Command | './configure' '--prefix=/usr/local/etc/apache-1.3.36/php-5.2.3' '--with-mysql=/usr/local/opt/mysql' '--with-apxs=/usr/local/etc/apache-1.3.36/bin/apxs' '--with-config-file-path=/usr/local/etc/apache-1.3.36/conf' '--with-openssl=/util/openssl' '--enable-yp' '--enable-mbstring' '--enable-bcmath' '--enable-calendar' '--enable-dbase' '--enable-exif' '--enable-soap' '--enable-zip' '--with-regex-type=system' '--with-zlib' '--with-zlib-dir=/usr' '--with-gdbm=/usr/local/etc/apache-1.3.36' '--with-db4=/usr/local/opt/db' '--with-pspell=/usr' '--with-gd=/usr/local/etc/apache-1.3.36' '--with-ming=/usr/local/etc/apache-1.3.36' '--with-jpeg-dir=/usr' '--with-xpm-dir=/usr' '--with-ttf=/usr/local/etc/apache-1.3.36' '--with-libxml-dir=/eng/home/yearke/work/www/libxml2-2.6.23' '--with-xsl=/eng/home/yearke/work/www/libxslt-1.1.15' |
| Server API | Apache |
| Virtual Directory Support | disabled |
| Configuration File (php.ini) Path | /usr/local/etc/apache-1.3.36/conf |
| Loaded Configuration File | /usr/local/etc/apache-1.3.36/conf/php.ini |
| PHP API | 20041225 |
| PHP Extension | 20060613 |
| Zend Extension | 220060519 |
| Debug Build | no |
| Thread Safety | disabled |
| Zend Memory Manager | enabled |
| IPv6 Support | enabled |
| Registered PHP Streams | zip, php, file, data, http, ftp, compress.zlib, https, ftps |
| Registered Stream Socket Transports | tcp, udp, unix, udg, ssl, sslv3, sslv2, tls |
| Registered Stream Filters | string.rot13, string.toupper, string.tolower, string.strip_tags, convert.*, consumed, convert.iconv.*, zlib.* |
This program makes use of the Zend Scripting Language Engine: Zend Engine v2.2.0, Copyright (c) 1998-2007 Zend Technologies
|
Configuration
PHP Core
| Directive | Local Value | Master Value |
| allow_call_time_pass_reference | Off | Off |
| allow_url_fopen | On | On |
| allow_url_include | 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_globals_jit | On | On |
| 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 | Off | Off |
| 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 | 6143 | 6143 |
| expose_php | On | On |
| extension_dir | ./ | ./ |
| file_uploads | Off | Off |
| highlight.bg | #FFFFFF | #FFFFFF |
| highlight.comment | #FF9900 | #FF9900 |
| highlight.default | #0000BB | #0000BB |
| highlight.html | #000000 | #000000 |
| highlight.keyword | #007700 | #007700 |
| highlight.string | #DD0000 | #DD0000 |
| 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/etc/apache-1.3.36/php-5.2.3/lib/php | .:/usr/local/etc/apache-1.3.36/php-5.2.3/lib/php |
| log_errors | On | On |
| log_errors_max_len | 1024 | 1024 |
| magic_quotes_gpc | Off | Off |
| magic_quotes_runtime | Off | Off |
| magic_quotes_sybase | Off | Off |
| mail.force_extra_parameters | no value | no value |
| max_execution_time | 30 | 30 |
| max_input_nesting_level | 64 | 64 |
| max_input_time | 60 | 60 |
| memory_limit | 128M | 128M |
| open_basedir | no value | no value |
| output_buffering | 4096 | 4096 |
| output_handler | no value | no value |
| post_max_size | 8M | 8M |
| precision | 14 | 14 |
| realpath_cache_size | 16K | 16K |
| realpath_cache_ttl | 120 | 120 |
| register_argc_argv | Off | Off |
| register_globals | Off | Off |
| register_long_arrays | Off | Off |
| report_memleaks | On | On |
| report_zend_debug | 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 | no value | no value |
| 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 | GPCS | GPCS |
| xmlrpc_error_number | 0 | 0 |
| xmlrpc_errors | Off | Off |
| y2k_compliance | On | On |
| zend.ze1_compatibility_mode | Off | Off |
| APACHE_INCLUDE | no value |
| APACHE_TARGET | no value |
| Apache Version | Apache/1.3.36 (Unix) mod_jk/1.2.23 PHP/5.2.3 mod_perl/1.29 |
| Apache Release | 10336100 |
| Apache API Version | 19990320 |
| Hostname:Port | www.sens.buffalo.edu:80 |
| User/Group | nobody(60001)/60001 |
| Max Requests | Per Child: 10000 - Keep Alive: on - Max Per Connection: 100 |
| Timeouts | Connection: 300 - Keep-Alive: 15 |
| Server Root | /usr/local/etc/apache-1.3.36 |
| Loaded Modules | mod_jk, mod_php5, mod_perl, mod_setenvif, mod_so, mod_unique_id, mod_log_forensic, mod_usertrack, mod_headers, mod_expires, mod_cern_meta, mod_proxy, mod_digest, mod_auth_dbm, mod_auth_anon, mod_auth, mod_access, mod_rewrite, mod_alias, mod_userdir, mod_speling, mod_actions, mod_imap, mod_asis, mod_cgi, mod_dir, mod_autoindex, mod_include, mod_info, mod_status, mod_negotiation, mod_mime, mod_mime_magic, mod_log_config, mod_env, mod_vhost_alias, mod_mmap_static, http_core |
| Directive | Local Value | Master Value |
| child_terminate | 0 | 0 |
| engine | 1 | 1 |
| last_modified | 0 | 0 |
| xbithack | 0 | 0 |
Apache Environment
| Variable | Value |
| DOCUMENT_ROOT | /usr/local/info/sens |
| HTTP_ACCEPT | Accept: application/xhtml+xml,text/html;q=0.9,text/plain; |
| HTTP_ACCEPT_CHARSET | ISO-8859-1,utf-8;q=0.7,*;q=0.7 |
| HTTP_ACCEPT_ENCODING | gzip |
| HTTP_ACCEPT_LANGUAGE | en-us,en;q=0.5 |
| HTTP_CACHE_CONTROL | no-cache |
| HTTP_CONNECTION | close |
| HTTP_HOST | www.sens.buffalo.edu |
| HTTP_PRAGMA | no-cache |
| HTTP_USER_AGENT | CCBot/1.0 (+http://www.commoncrawl.org/bot.html) |
| PATH | /usr/bin:/sbin:/usr/sbin:/usr/ucb:/usr/ccs/bin:/eng/admin/bin:/usr/local/bin |
| REMOTE_ADDR | 38.103.63.59 |
| REMOTE_PORT | 57889 |
| SCRIPT_FILENAME | /usr/local/info/sens/services/webhosting/advanced/php.php |
| SERVER_ADDR | 128.205.25.122 |
| SERVER_ADMIN | wwwadmin@eng.buffalo.edu |
| SERVER_NAME | www.sens.buffalo.edu |
| SERVER_PORT | 80 |
| SERVER_SIGNATURE | <ADDRESS>Apache/1.3.36 Server at www.sens.buffalo.edu Port 80</ADDRESS>
|
| SERVER_SOFTWARE | Apache/1.3.36 (Unix) mod_jk/1.2.23 PHP/5.2.3 mod_perl/1.29 |
| UNIQUE_ID | SLa5b4DNGQcAAFXEMOU |
| GATEWAY_INTERFACE | CGI/1.1 |
| SERVER_PROTOCOL | HTTP/1.1 |
| REQUEST_METHOD | GET |
| QUERY_STRING | no value |
| REQUEST_URI | /services/webhosting/advanced/php.php |
| SCRIPT_NAME | /services/webhosting/advanced/php.php |
HTTP Headers Information
| HTTP Request Headers |
| HTTP Request | GET /services/webhosting/advanced/php.php HTTP/1.1 |
| Accept | Accept: application/xhtml+xml,text/html;q=0.9,text/plain; |
| Accept-Charset | ISO-8859-1,utf-8;q=0.7,*;q=0.7 |
| Accept-Encoding | gzip |
| Accept-Language | en-us,en;q=0.5 |
| Cache-Control | no-cache |
| Connection | close |
| Host | www.sens.buffalo.edu |
| Pragma | no-cache |
| User-Agent | CCBot/1.0 (+http://www.commoncrawl.org/bot.html) |
| HTTP Response Headers |
| X-Powered-By | PHP/5.2.3 |
| Connection | close |
| Transfer-Encoding | chunked |
| Content-Type | text/html |
| date/time support | enabled |
| "Olson" Timezone Database Version | 2007.5 |
| Timezone Database | internal |
| Default timezone | US/Eastern |
| Directive | Local Value | Master Value |
| date.default_latitude | 31.7667 | 31.7667 |
| date.default_longitude | 35.2333 | 35.2333 |
| date.sunrise_zenith | 90.583333 | 90.583333 |
| date.sunset_zenith | 90.583333 | 90.583333 |
| date.timezone | no value | no value |
| DBA support | enabled |
| Supported handlers | gdbm db4 |
| DOM/XML | enabled |
| DOM/XML API Version | 20031129 |
| libxml Version | 2.6.23 |
| HTML Support | enabled |
| XPath Support | enabled |
| XPointer Support | enabled |
| Schema Support | enabled |
| RelaxNG Support | enabled |
| EXIF Support | enabled |
| EXIF Version | 1.4 $Id: exif.c,v 1.173.2.5.2.19 2007/02/27 03:04:40 iliaa Exp $ |
| Supported EXIF Version | 0220 |
| Supported filetypes | JPEG,TIFF |
| Input Validation and Filtering | enabled |
| Revision | $Revision: 1.52.2.39 $ |
| Directive | Local Value | Master Value |
| filter.default | unsafe_raw | unsafe_raw |
| filter.default_flags | no value | no value |
| GD Support | enabled |
| GD Version | 2.0 or higher |
| FreeType Support | enabled |
| FreeType Linkage | with TTF library |
| FreeType Version | 1.3 |
| GIF Read Support | enabled |
| GIF Create Support | enabled |
| JPG Support | enabled |
| PNG Support | enabled |
| WBMP Support | enabled |
| hash support | enabled |
| Hashing Engines | md2 md4 md5 sha1 sha256 sha384 sha512 ripemd128 ripemd160 ripemd256 ripemd320 whirlpool tiger128,3 tiger160,3 tiger192,3 tiger128,4 tiger160,4 tiger192,4 snefru gost adler32 crc32 crc32b haval128,3 haval160,3 haval192,3 haval224,3 haval256,3 haval128,4 haval160,4 haval192,4 haval224,4 haval256,4 haval128,5 haval160,5 haval192,5 haval224,5 haval256,5 |
| iconv support | enabled |
| iconv implementation | unknown |
| iconv library version | unknown |
| Directive | Local Value | Master Value |
| iconv.input_encoding | ISO-8859-1 | ISO-8859-1 |
| iconv.internal_encoding | ISO-8859-1 | ISO-8859-1 |
| iconv.output_encoding | ISO-8859-1 | ISO-8859-1 |
| json support | enabled |
| json version | 1.2.1 |
| libXML support | active |
| libXML Version | 2.6.23 |
| libXML streams | enabled |
| Multibyte Support | enabled |
| Multibyte string engine | libmbfl |
| Multibyte (japanese) regex support | enabled |
| Multibyte regex (oniguruma) version | 4.4.4 |
| Multibyte regex (oniguruma) backtrack check | On |
| mbstring extension makes use of "streamable kanji code filter and converter", which is distributed under the GNU Lesser General Public License version 2.1. |
| Directive | Local Value | Master Value |
| mbstring.detect_order | no value | no value |
| mbstring.encoding_translation | Off | Off |
| mbstring.func_overload | 0 | 0 |
| mbstring.http_input | pass | pass |
| mbstring.http_output | pass | pass |
| mbstring.internal_encoding | no value | no value |
| mbstring.language | neutral | neutral |
| mbstring.strict_detection | Off | Off |
| mbstring.substitute_character | no value | no value |
| Ming SWF output library | enabled |
| Version | .. |
| MySQL Support | enabled |
| Active Persistent Links | 0 |
| Active Links | 0 |
| Client API version | 4.1.19 |
| MYSQL_MODULE_TYPE | external |
| MYSQL_SOCKET | /tmp/mysql.sock |
| MYSQL_INCLUDE | -I/usr/local/opt/mysql/include/mysql |
| MYSQL_LIBS | -L/usr/local/opt/mysql/lib/mysql -lmysqlclient |
| 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 |
| OpenSSL support | enabled |
| OpenSSL Version | OpenSSL 0.9.8a 11 Oct 2005 |
| PCRE (Perl Compatible Regular Expressions) Support | enabled |
| PCRE Library Version | 7.0 18-Dec-2006 |
| PDO support | enabled |
| PDO drivers | sqlite2, sqlite |
| PDO Driver for SQLite 3.x | enabled |
| PECL Module version | (bundled) 1.0.1 $Id: pdo_sqlite.c,v 1.10.2.6.2.2 2007/03/23 14:30:00 wez Exp $ |
| SQLite Library | 3.3.17 |
| Revision | $Revision: 1.70.2.3.2.15 $ |
| Reflection | enabled |
| Version | $Id: php_reflection.c,v 1.164.2.33.2.39 2007/05/29 08:44:05 helly Exp $ |
| Session Support | enabled |
| Registered save handlers | files user sqlite |
| Registered serializer handlers | php php_binary |
| Directive | Local Value | Master Value |
| session.auto_start | Off | Off |
| session.bug_compat_42 | Off | Off |
| 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_httponly | Off | Off |
| 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 | 1000 | 1000 |
| session.gc_maxlifetime | 1440 | 1440 |
| session.gc_probability | 1 | 1 |
| session.hash_bits_per_character | 5 | 5 |
| session.hash_function | 0 | 0 |
| session.name | PHPSESSID | PHPSESSID |
| session.referer_check | no value | no value |
| session.save_handler | files | files |
| session.save_path | /tmp | /tmp |
| session.serialize_handler | php | php |
| session.use_cookies | On | On |
| session.use_only_cookies | Off | Off |
| session.use_trans_sid | 0 | 0 |
| Simplexml support | enabled |
| Revision | $Revision: 1.151.2.22.2.26 $ |
| Schema support | enabled |
| Soap Client | enabled |
| Soap Server | enabled |
| Directive | Local Value | Master Value |
| soap.wsdl_cache | 1 | 1 |
| soap.wsdl_cache_dir | /tmp | /tmp |
| soap.wsdl_cache_enabled | 1 | 1 |
| soap.wsdl_cache_limit | 5 | 5 |
| soap.wsdl_cache_ttl | 86400 | 86400 |
| SPL support | enabled |
| Interfaces | Countable, OuterIterator, RecursiveIterator, SeekableIterator, SplObserver, SplSubject |
| Classes | AppendIterator, ArrayIterator, ArrayObject, BadFunctionCallException, BadMethodCallException, CachingIterator, DirectoryIterator, DomainException, EmptyIterator, FilterIterator, InfiniteIterator, InvalidArgumentException, IteratorIterator, LengthException, LimitIterator, LogicException, NoRewindIterator, OutOfBoundsException, OutOfRangeException, OverflowException, ParentIterator, RangeException, RecursiveArrayIterator, RecursiveCachingIterator, RecursiveDirectoryIterator, RecursiveFilterIterator, RecursiveIteratorIterator, RecursiveRegexIterator, RegexIterator, RuntimeException, SimpleXMLIterator, SplFileInfo, SplFileObject, SplObjectStorage, SplTempFileObject, UnderflowException, UnexpectedValueException |
| SQLite support | enabled |
| PECL Module version | 2.0-dev $Id: sqlite.c,v 1.166.2.13.2.9 2007/05/19 17:58:22 iliaa Exp $ |
| SQLite Library | 2.8.17 |
| SQLite Encoding | iso8859 |
| Directive | Local Value | Master Value |
| sqlite.assoc_case | 0 | 0 |
| Regex Library | Bundled 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 |
| libxml2 Version | 2.6.23 |
| XSL | enabled |
| libxslt Version | 1.1.15 |
| libxslt compiled against libxml Version | 2.6.23 |
| EXSLT | enabled |
| libexslt Version | 1.1.15 |
| Zip | enabled |
| Extension Version | $Id: php_zip.c,v 1.1.2.33 2007/05/19 22:25:11 pajoye Exp $ |
| Zip version | 2.0.0 |
| Libzip version | 0.7.1 |
| ZLib Support | enabled |
| Stream Wrapper support | compress.zlib:// |
| Stream Filter support | zlib.inflate, zlib.deflate |
| Compiled Version | 1.2.3 |
| 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
Environment
| Variable | Value |
| MODPERL_ENV_FIXUP | no value |
| NoNe SuCh | no value |
| AB2_DEFAULTSERVER | http://docs.sun.com |
| DFSHOME | no value |
| DISPLAY | etmaster.eng.buffalo.edu:0 |
| EDITOR | vi |
| EXHOME | /eng/tools/X |
| GROUP | ecs |
| HELPPATH | /eng/tools/X/lib/help:/usr/openwin/lib/help |
| HOME | /export/ecs1/ganze |
| HOST | confucius.eng.buffalo.edu |
| HOSTTYPE | sun4 |
| LC_COLLATE | en_US.ISO8859-1 |
| LC_CTYPE | en_US.ISO8859-1 |
| LC_MESSAGES | C |
| LC_MONETARY | en_US.ISO8859-1 |
| LC_NUMERIC | en_US.ISO8859-1 |
| LESS | ieMPM --Less-- ?f%f .?pB(%pB\%) .?ltline %lt?L/%L .:byte %bB?s/%s ..?n?m(file %i of %m) ..?e(END) ?x- Next -> %x..%t |
| LOGNAME | root |
| LPDEST | ecslaser |
| LS_COLORS | di=01;36:ln=36:or=05;36:pi=01;45:so=01;35:bd=31:cd=01;31:*.tar.gz=01;33:*.tar.Z=01;33:*.tar.bz2=01;33:*.tgz=01;33:*.gz=33:*.Z=33:*.bz2=33:*.o=34 |
| MACHTYPE | sparc |
| MAIL | /var/mail//ganze |
| MANPATH | /eng/tools/internet/man:/usr/local/man:/eng/local/man:/eng/tools/X/man:/usr/dt/man:/usr/openwin/man:/usr/X11/man:/usr/man:/util/perl/man:/util/python/man:/util/tcltk/man:/util/gnu/man:/util/gnome/man:/eng/tools/internet/man:/util/TeX/man:/usr/sfw/man:/util/X11/man:/util/man:/usr/local/etc/httpd/man |
| MOTIFHOME | /usr/dt |
| NNTPSERVER | nntp1.acsu.buffalo.edu |
| OPENWINHOME | /usr/openwin |
| OSTYPE | solaris |
| PAGER | less |
| PATH | /usr/bin:/sbin:/usr/sbin:/usr/ucb:/usr/ccs/bin:/eng/admin/bin:/usr/local/bin |
| PWD | /usr/local/etc/httpd/conf |
| REMOTEHOST | etmaster.eng.buffalo.edu |
| SHELL | /usr/local/bin/tcsh |
| SHLVL | 1 |
| SSH_CLIENT | 128.205.25.11 49429 22 |
| SSH_CONNECTION | 128.205.25.11 49429 128.205.25.7 22 |
| SSH_TTY | /dev/pts/3 |
| SUDO_COMMAND | /usr/local/bin/apachectl start |
| SUDO_GID | 15000 |
| SUDO_UID | 4005 |
| SUDO_USER | ganze |
| TERM | xterm |
| TZ | US/Eastern |
| UBFSHOME | no value |
| USER | root |
| VENDOR | sun |
| VISUAL | vi |
| X11HOME | /usr/X11 |
| XFILESEARCHPATH | .:/eng/tools/X/lib/X11/%L/%T/%N%C%S:/eng/tools/X/lib/X11/%l/%T/%N%C%S:/eng/tools/X/lib/X11/%T/%N%C%S:/eng/tools/X/lib/X11/%L/%T/%N%S:/eng/tools/X/lib/X11/%l/%T/%N%S:/eng/tools/X/lib/X11/%T/%N%S:/util/gnu/lib/X11/%T/%N%S:/usr/dt/lib/%T/%N%S:/usr/openwin/lib/%L/%T/%N%C%S:/usr/openwin/lib/%l/%T/%N%C%S:/usr/openwin/lib/%T/%N%C%S:/usr/openwin/lib/%L/%T/%N%S:/usr/openwin/lib/%l/%T/%N%S:/usr/openwin/lib/%T/%N%S:/usr/X11/lib/%L/%T/%N%C%S:/usr/X11/lib/%l/%T/%N%C%S:/usr/X11/lib/%T/%N%C%S:/usr/X11/lib/%L/%T/%N%S:/usr/X11/lib/%l/%T/%N%S:/usr/X11/lib/%T/%N%S:/util/X11/lib/X11/%L/%T/%N%C%S:/util/X11/lib/X11/%l/%T/%N%C%S:/util/X11/lib/X11/%T/%N%C%S:/util/X11/lib/X11/%L/%T/%N%S:/util/X11/lib/X11/%l/%T/%N%S:/util/X11/lib/X11/%T/%N%S |
| XHOME | /util/X11 |
| depth | 0 |
PHP Variables
| Variable | Value |
| _SERVER["DOCUMENT_ROOT"] | /usr/local/info/sens |
| _SERVER["HTTP_ACCEPT"] | Accept: application/xhtml+xml,text/html;q=0.9,text/plain; |
| _SERVER["HTTP_ACCEPT_CHARSET"] | ISO-8859-1,utf-8;q=0.7,*;q=0.7 |
| _SERVER["HTTP_ACCEPT_ENCODING"] | gzip |
| _SERVER["HTTP_ACCEPT_LANGUAGE"] | en-us,en;q=0.5 |
| _SERVER["HTTP_CACHE_CONTROL"] | no-cache |
| _SERVER["HTTP_CONNECTION"] | close |
| _SERVER["HTTP_HOST"] | www.sens.buffalo.edu |
| _SERVER["HTTP_PRAGMA"] | no-cache |
| _SERVER["HTTP_USER_AGENT"] | CCBot/1.0 (+http://www.commoncrawl.org/bot.html) |
| _SERVER["PATH"] | /usr/bin:/sbin:/usr/sbin:/usr/ucb:/usr/ccs/bin:/eng/admin/bin:/usr/local/bin |
| _SERVER["REMOTE_ADDR"] | 38.103.63.59 |
| _SERVER["REMOTE_PORT"] | 57889 |
| _SERVER["SCRIPT_FILENAME"] | /usr/local/info/sens/services/webhosting/advanced/php.php |
| _SERVER["SERVER_ADDR"] | 128.205.25.122 |
| _SERVER["SERVER_ADMIN"] | wwwadmin@eng.buffalo.edu |
| _SERVER["SERVER_NAME"] | www.sens.buffalo.edu |
| _SERVER["SERVER_PORT"] | 80 |
| _SERVER["SERVER_SIGNATURE"] | <ADDRESS>Apache/1.3.36 Server at www.sens.buffalo.edu Port 80</ADDRESS>
|
| _SERVER["SERVER_SOFTWARE"] | Apache/1.3.36 (Unix) mod_jk/1.2.23 PHP/5.2.3 mod_perl/1.29 |
| _SERVER["UNIQUE_ID"] | SLa5b4DNGQcAAFXEMOU |
| _SERVER["GATEWAY_INTERFACE"] | CGI/1.1 |
| _SERVER["SERVER_PROTOCOL"] | HTTP/1.1 |
| _SERVER["REQUEST_METHOD"] | GET |
| _SERVER["QUERY_STRING"] | no value |
| _SERVER["REQUEST_URI"] | /services/webhosting/advanced/php.php |
| _SERVER["SCRIPT_NAME"] | /services/webhosting/advanced/php.php |
| _SERVER["PATH_TRANSLATED"] | /usr/local/info/sens/services/webhosting/advanced/php.php |
| _SERVER["PHP_SELF"] | /services/webhosting/advanced/php.php |
| _SERVER["REQUEST_TIME"] | 1219934575 |
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.
|
Please click here to return to the advanced web page page.