Here come the multiples!

That's all folks

<html>
<head>

<style type="text/css">
body { background-color:cyan ; font-size:18pt ; }

</style>
</head>

<body>


<?php


$M
= $_GET["M"];
$N = $_GET["N"];


print
"Here come the multiples!<br><br>"   ;

for (
$i=1 ; $i <= $M; $i++ )
   {
        print
"<br>"    ;

        for (
$k=1 ; $k <= $N; $k++ )
        {
            
$x = $i * $k             ;
            print
"$i * $k = $x"       ;
            print
"<br>"               ;
        }
   };

print
"That's all folks"   ;

print
"<br><br>"   ;

show_source("m1.php");

phpinfo();

?>


</body>
</html>
phpinfo()
PHP Logo

PHP Version 4.3.7


System SunOS homer.njit.edu 5.9 Generic_117171-05 sun4u
Build Date Jun 25 2004 18:49:06
Configure Command './configure' '--prefix=/afs/cad/solaris/php-4.3.7' '--with-apxs2=/afs/cad/solaris/apache-2.0.49/apache/bin/apxs' '--with-ldap=/afs/cad/solaris/openldap'
Server API Apache 2.0 Handler
Virtual Directory Support disabled
Configuration File (php.ini) Path /afs/cad.njit.edu/solaris/php-4.3.7/lib/php.ini
PHP API 20020918
PHP Extension 20020429
Zend Extension 20021010
Debug Build no
Thread Safety disabled
Registered PHP Streams php, http, ftp

Zend logo This program makes use of the Zend Scripting Language Engine:
Zend Engine v1.3.0, Copyright (c) 1998-2004 Zend Technologies


PHP Credits


Configuration

PHP Core

DirectiveLocal ValueMaster Value
allow_call_time_pass_referenceOffOff
allow_url_fopenOnOn
always_populate_raw_post_dataOffOff
arg_separator.input&&
arg_separator.output&&
asp_tagsOffOff
auto_append_fileno valueno value
auto_prepend_fileno valueno value
browscapno valueno value
default_charsetno valueno value
default_mimetypetext/htmltext/html
define_syslog_variablesOffOff
disable_classesno valueno value
disable_functionsno valueno value
display_errorsOffOff
display_startup_errorsOffOff
doc_rootno valueno value
docref_extno valueno value
docref_rootno valueno value
enable_dlOnOn
error_append_stringno valueno value
error_logno valueno value
error_prepend_stringno valueno value
error_reporting20472047
expose_phpOnOn
extension_dir././
file_uploadsOnOn
gpc_orderGPCGPC
highlight.bg#FFFFFF#FFFFFF
highlight.comment#FF8000#FF8000
highlight.default#0000BB#0000BB
highlight.html#000000#000000
highlight.keyword#007700#007700
highlight.string#DD0000#DD0000
html_errorsOnOn
ignore_repeated_errorsOffOff
ignore_repeated_sourceOffOff
ignore_user_abortOffOff
implicit_flushOffOff
include_path.:/afs/cad/solaris/php-4.3.7/lib/php.:/afs/cad/solaris/php-4.3.7/lib/php
log_errorsOnOn
log_errors_max_len10241024
magic_quotes_gpcOffOff
magic_quotes_runtimeOffOff
magic_quotes_sybaseOffOff
max_execution_time3030
max_input_time6060
open_basedirno valueno value
output_buffering40964096
output_handlerno valueno value
post_max_size8M8M
precision1414
register_argc_argvOffOff
register_globalsOffOff
report_memleaksOnOn
safe_modeOffOff
safe_mode_exec_dirno valueno value
safe_mode_gidOffOff
safe_mode_include_dirno valueno value
sendmail_fromno valueno value
sendmail_path/usr/lib/sendmail -t -i /usr/lib/sendmail -t -i
serialize_precision100100
short_open_tagOnOn
SMTPlocalhostlocalhost
smtp_port2525
sql.safe_modeOffOff
track_errorsOffOff
unserialize_callback_funcno valueno value
upload_max_filesize50M50M
upload_tmp_dirno valueno value
user_dirno valueno value
variables_orderGPCSGPCS
xmlrpc_error_number00
xmlrpc_errorsOffOff
y2k_complianceOnOn

apache2handler

Apache Version Apache/2.0.52 (Unix) PHP/4.3.7 DAV/2
Apache API Version 20020903
Server Administrator webmaster@oak.njit.edu
Hostname:Port cs.njit.edu:0
User/Group http(32609)/42
Max Requests Per Child: 0 - Keep Alive: on - Max Per Connection: 100
Timeouts Connection: 300 - Keep-Alive: 15
Virtual Server Yes
Server Root /afs/cad/solaris/apache-2.0.49/apache
Loaded Modules core prefork http_core mod_so mod_access mod_auth mod_auth_anon mod_auth_dbm mod_ext_filter mod_include mod_log_config mod_env mod_mime_magic mod_cern_meta mod_expires mod_headers mod_usertrack mod_unique_id mod_setenvif mod_proxy proxy_connect proxy_ftp proxy_http mod_mime mod_dav mod_autoindex mod_asis mod_info mod_cgi mod_dav_fs mod_vhost_alias mod_negotiation mod_dir mod_imap mod_actions mod_speling mod_userdir mod_alias mod_rewrite sapi_apache2 mod_jk

DirectiveLocal ValueMaster Value
engine11
last_modified00
xbithack00

Apache Environment

VariableValue
UNIQUE_ID oKz1moDr0xkAACNoUi8AAAAS
HTTP_HOST cs.njit.edu
HTTP_ACCEPT_ENCODING x-gzip, gzip, deflate
HTTP_USER_AGENT CCBot/2.0 (http://commoncrawl.org/faq/)
HTTP_ACCEPT_LANGUAGE en-us,en-gb,en;q=0.7,*;q=0.3
HTTP_ACCEPT text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
PATH /usr/sbin:/usr/bin:/afs/cad/ucs/bin/functions
SERVER_SIGNATURE <address>Apache/2.0.52 (Unix) PHP/4.3.7 DAV/2 Server at cs.njit.edu Port 80</address>
SERVER_SOFTWARE Apache/2.0.52 (Unix) PHP/4.3.7 DAV/2
SERVER_NAME cs.njit.edu
SERVER_ADDR 128.235.211.25
SERVER_PORT 80
REMOTE_ADDR 54.90.205.61
DOCUMENT_ROOT /afs/cad/web/ccs/homer.public_html
SERVER_ADMIN webmaster@oak.njit.edu
SCRIPT_FILENAME /afs/cad/web/ccs/homer.public_html/mchugh/psswrd/web-course-materials/IT202/Fall2003/A-assignments/Sp06/B Spring 09/m1.php
REMOTE_PORT 58844
GATEWAY_INTERFACE CGI/1.1
SERVER_PROTOCOL HTTP/1.0
REQUEST_METHOD GET
QUERY_STRING a%5B%5D=%3Ca+href%3Dhttp%3A%2F%2Fletsgetcoffee.com%2Fuser.php%3Flogin%3Dmauramead%3Esmall
REQUEST_URI /mchugh/psswrd/web-course-materials/IT202/Fall2003/A-assignments/Sp06/B%20Spring%2009/m1.php?a%5B%5D=%3Ca+href%3Dhttp%3A%2F%2Fletsgetcoffee.com%2Fuser.php%3Flogin%3Dmauramead%3Esmall
SCRIPT_NAME /mchugh/psswrd/web-course-materials/IT202/Fall2003/A-assignments/Sp06/B Spring 09/m1.php

HTTP Headers Information

HTTP Request Headers
HTTP Request GET /mchugh/psswrd/web-course-materials/IT202/Fall2003/A-assignments/Sp06/B%20Spring%2009/m1.php?a%5B%5D=%3Ca+href%3Dhttp%3A%2F%2Fletsgetcoffee.com%2Fuser.php%3Flogin%3Dmauramead%3Esmall HTTP/1.0
Host cs.njit.edu
Accept-Encoding x-gzip, gzip, deflate
User-Agent CCBot/2.0 (http://commoncrawl.org/faq/)
Accept-Language en-us,en-gb,en;q=0.7,*;q=0.3
Accept text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
HTTP Response Headers
X-Powered-By PHP/4.3.7
Connection close
Content-Type text/html; charset=ISO-8859-1

ctype

ctype functions enabled

ldap

LDAP Support enabled
RCS Version $Id: ldap.c,v 1.130.2.10 2004/06/01 21:05:33 iliaa Exp $
Total Links 0/unlimited
API Version 2004
Vendor Name OpenLDAP
Vendor Version 20023

mysql

MySQL Supportenabled
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

DirectiveLocal ValueMaster Value
mysql.allow_persistentOnOn
mysql.connect_timeout6060
mysql.default_hostno valueno value
mysql.default_passwordno valueno value
mysql.default_portno valueno value
mysql.default_socketno valueno value
mysql.default_userno valueno value
mysql.max_linksUnlimitedUnlimited
mysql.max_persistentUnlimitedUnlimited
mysql.trace_modeOffOff

overload

User-Space Object Overloading Support enabled

pcre

PCRE (Perl Compatible Regular Expressions) Support enabled
PCRE Library Version 4.5 01-December-2003

posix

Revision $Revision: 1.51.2.2 $

session

Session Support enabled
Registered save handlers files user

DirectiveLocal ValueMaster Value
session.auto_startOffOff
session.bug_compat_42OffOff
session.bug_compat_warnOnOn
session.cache_expire180180
session.cache_limiternocachenocache
session.cookie_domainno valueno value
session.cookie_lifetime00
session.cookie_path//
session.cookie_secureOffOff
session.entropy_fileno valueno value
session.entropy_length00
session.gc_divisor10001000
session.gc_maxlifetime14401440
session.gc_probability11
session.namePHPSESSIDPHPSESSID
session.referer_checkno valueno value
session.save_handlerfilesfiles
session.save_path/tmp/tmp
session.serialize_handlerphpphp
session.use_cookiesOnOn
session.use_only_cookiesOffOff
session.use_trans_sidOffOff

standard

Regex Library Bundled library enabled
Dynamic Library Support enabled
Path to sendmail /usr/lib/sendmail -t -i

DirectiveLocal ValueMaster Value
assert.active11
assert.bail00
assert.callbackno valueno value
assert.quiet_eval00
assert.warning11
auto_detect_line_endings00
default_socket_timeout6060
safe_mode_allowed_env_varsPHP_PHP_
safe_mode_protected_env_varsLD_LIBRARY_PATHLD_LIBRARY_PATH
url_rewriter.tagsa=href,area=href,frame=src,input=src,form=fakeentrya=href,area=href,frame=src,input=src,form=fakeentry
user_agentno valueno value

tokenizer

Tokenizer Support enabled

xml

XML Support active
XML Namespace Support active
EXPAT Version 1.95.6

Additional Modules

Module Name

Environment

VariableValue
AFS_PLATFORM solaris
APACHE /export/apache
A__z "*KOUNT
BASE /afs/cad/adminrep/openafs.binary.dist/1.4.12/sun4x_510.namei/sun4x_510/dest
BLANK [Blank]
BOS /afs/cad/adminrep/openafs.binary.dist/1.4.12/sun4x_510.namei/sun4x_510/dest/bin/bos
BZIPPER /usr/local/bin/bzip
CP /bin/cp
CR
CURL /usr/local/bin/curl
DATE 02Sep14-00:10
DIR /export/apache/bin
ESC 
EXCLUDE vmhost1-13
FILESERVERS ucsafsblk00.coresys ucsafsblk01.coresys ucsafsblk02.coresys ucsafsblk03.coresys ucsafsblk04.coresys ucsafsblk05.coresys ucsafsinf00.coresys ucsafsinf01.coresys ucsafsinf02.coresys ucsafsinf03.coresys ucsafsinf04.coresys ucsafsinf05.coresys ucsafsinf06.coresys ucsafsinf07.coresys ucsafsjmb00.coresys ucsafsjmb01.coresys ucsafsjmb02.coresys ucsafsjmb03.coresys ucsafsjmb04.coresys ucsafsjmb05.coresys ucsafsjmb06.coresys ucsafsusr00.coresys ucsafsusr01.coresys ucsafsusr02.coresys ucsafsusr03.coresys ucsafsusr04.coresys ucsafsusr05.coresys ucsafsusr06.coresys
FIND /usr/local/bin/gfind
FPATH /afs/cad/ucs/bin/functions
FS /afs/cad/adminrep/openafs.binary.dist/1.4.12/sun4x_510.namei/sun4x_510/dest/bin/fs
GAWK /usr/local/bin/gawk
GFIND /usr/local/bin/gfind
GREP /usr/ucs/bin/newggrep
GZIPPER /usr/local/bin/gzip
HOME /root
HOST homer.njit.edu
HR _________________________________________________________
IGNORE maven-vm02
KAS /afs/cad/adminrep/openafs.binary.dist/1.4.12/sun4x_510.namei/sun4x_510/dest/etc/kas
KOUNT 1
LD_LIBRARY_PATH /afs/cad/solaris/apache-2.0.52/apache/lib:/usr/local/lib
LOGNAME root
LS /usr/local/bin/ls --time-style=long-is
LYNX /usr/local/bin/lynx
MAILX /usr/bin/mailx
MSG1 Message from check.webserver.token run on homer:
MSG2 Stopped httpd on homer
MSG3 SOURCE = http://homer.njit.edu/token.html
NL
OS SunOS
OSREL 5.9
PATH /usr/sbin:/usr/bin:/afs/cad/ucs/bin/functions
PERL /usr/local/bin/perl
PTS /afs/cad/adminrep/openafs.binary.dist/1.4.12/sun4x_510.namei/sun4x_510/dest/bin/pts
PWD /root
RUNNER http
SCRIPT check.webserver.token
SED /usr/local/bin/sed
SHELL /usr/bin/sh
SHFLAGS /afs/cad/sw.common/shflags-1.0.3/src/shflags
SPC
STRING Stopped httpd on homer
STRING_403 ERROR 403
STRING_403_FORBIDDEN 403 Forbidden
STRING_404 Error 404
STRING_85233 AFS ID 85233
STRING_JSP From JSP test page
STRING_SERVLET This is my first servlet
STRING_TOKEN HTTP_TOKEN
SUB Stopped httpd on homer
SYSGUY ucs@njit.edu
TAB
TEST false
TO webmaster@oak.njit.edu
TR /usr/bin/tr
TZ US/Eastern
USAGE Usage: check.webserver.token [ -h ] [ -d directory ] -t TO [ -S subject_string ] [ -m message1 ] [ -M message2 ] [ -N message3 ]
USS /afs/cad/adminrep/openafs.binary.dist/1.4.12/sun4x_510.namei/sun4x_510/dest/etc/uss
VERBOSE false
VOS /afs/cad/adminrep/openafs.binary.dist/1.4.12/sun4x_510.namei/sun4x_510/dest/etc/vos
WGET /usr/local/bin/wget
XARGS /usr/local/bin/gnu/xargs
_ /export/apache/bin/apachectl
message_string Stopped httpd on homer

PHP Variables

VariableValue
_REQUEST["a"]
Array
(
    [0] => small
)
_GET["a"]
Array
(
    [0] => small
)
_SERVER["UNIQUE_ID"]oKz1moDr0xkAACNoUi8AAAAS
_SERVER["HTTP_HOST"]cs.njit.edu
_SERVER["HTTP_ACCEPT_ENCODING"]x-gzip, gzip, deflate
_SERVER["HTTP_USER_AGENT"]CCBot/2.0 (http://commoncrawl.org/faq/)
_SERVER["HTTP_ACCEPT_LANGUAGE"]en-us,en-gb,en;q=0.7,*;q=0.3
_SERVER["HTTP_ACCEPT"]text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
_SERVER["PATH"]/usr/sbin:/usr/bin:/afs/cad/ucs/bin/functions
_SERVER["SERVER_SIGNATURE"]<address>Apache/2.0.52 (Unix) PHP/4.3.7 DAV/2 Server at cs.njit.edu Port 80</address>
_SERVER["SERVER_SOFTWARE"]Apache/2.0.52 (Unix) PHP/4.3.7 DAV/2
_SERVER["SERVER_NAME"]cs.njit.edu
_SERVER["SERVER_ADDR"]128.235.211.25
_SERVER["SERVER_PORT"]80
_SERVER["REMOTE_ADDR"]54.90.205.61
_SERVER["DOCUMENT_ROOT"]/afs/cad/web/ccs/homer.public_html
_SERVER["SERVER_ADMIN"]webmaster@oak.njit.edu
_SERVER["SCRIPT_FILENAME"]/afs/cad/web/ccs/homer.public_html/mchugh/psswrd/web-course-materials/IT202/Fall2003/A-assignments/Sp06/B Spring 09/m1.php
_SERVER["REMOTE_PORT"]58844
_SERVER["GATEWAY_INTERFACE"]CGI/1.1
_SERVER["SERVER_PROTOCOL"]HTTP/1.0
_SERVER["REQUEST_METHOD"]GET
_SERVER["QUERY_STRING"]a%5B%5D=%3Ca+href%3Dhttp%3A%2F%2Fletsgetcoffee.com%2Fuser.php%3Flogin%3Dmauramead%3Esmall
_SERVER["REQUEST_URI"]/mchugh/psswrd/web-course-materials/IT202/Fall2003/A-assignments/Sp06/B%20Spring%2009/m1.php?a%5B%5D=%3Ca+href%3Dhttp%3A%2F%2Fletsgetcoffee.com%2Fuser.php%3Flogin%3Dmauramead%3Esmall
_SERVER["SCRIPT_NAME"]/mchugh/psswrd/web-course-materials/IT202/Fall2003/A-assignments/Sp06/B Spring 09/m1.php
_SERVER["PHP_SELF"]/mchugh/psswrd/web-course-materials/IT202/Fall2003/A-assignments/Sp06/B Spring 09/m1.php
_SERVER["PATH_TRANSLATED"]/afs/cad/web/ccs/homer.public_html/mchugh/psswrd/web-course-materials/IT202/Fall2003/A-assignments/Sp06/B Spring 09/m1.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.