News:

Please note these forums are mostly a testing ground for my SMF work and I don't really use them otherwise.

Main Menu

Recent posts

#61
Feedback / Re: ~Gri to SleePy~
Last post by SleePy - Oct 18, 2010, 03:09 AM
It is spam prevention.  You need at least 1 approved post to edit your profile.
#62
Feedback / ~Gri to SleePy~
Last post by gri - Oct 18, 2010, 01:27 AM
Why do not I see the Forum Profile option ?
#63
PasteBin / Paste-1287337318:v:use_geshi-1...
Last post by SleePy - Oct 17, 2010, 05:41 PM
PHP Logo
PHP Version 5.3.2-dev

System    Darwin The-SleePy-Laptop.local 10.4.0 Darwin Kernel Version 10.4.0: Fri Apr 23 18:28:53 PDT 2010; root:xnu-1504.7.4~1/RELEASE_I386 i386
Build Date    Dec 5 2009 18:41:57
Configure Command    './configure' '--prefix=/home/software/php/v5' '--sysconfdir=/etc' '--localstatedir=/var' '--mandir=/usr/share/man' '--with-mysql=mysqlnd' '--with-mysqli=mysqlnd' '--with-pdo-mysql=mysqlnd' '--with-apxs2=/home/software/apache/bin/apxs' '--enable-maintainer-zts' '--with-zlib-dir=/home/software/zlib' '--enable-mbstring' '--with-gd' '--with-png-dir=/home/software/libpng' '--without-iconv' '--with-pgsql=/home/software/postgresql' '--enable-deb'
Server API    Apache 2.0 Handler
Virtual Directory Support    enabled
Configuration File (php.ini) Path    /home/software/php/v5/lib
Loaded Configuration File    /home/software/php/v5/lib/php.ini
Scan this dir for additional .ini files    (none)
Additional .ini files parsed    (none)
PHP API    20090626
PHP Extension    20090626
Zend Extension    220090626
Zend Extension Build    API220090626,TS
PHP Extension Build    API20090626,TS
Debug Build    no
Thread Safety    enabled
Zend Memory Manager    enabled
Zend Multibyte Support    disabled
IPv6 Support    enabled
Registered PHP Streams    compress.zlib, php, file, glob, data, http, ftp, phar
Registered Stream Socket Transports    tcp, udp, unix, udg
Registered Stream Filters    zlib.*, string.rot13, string.toupper, string.tolower, string.strip_tags, convert.*, consumed, dechunk

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

PHP Credits
Configuration
apache2handler
Apache Version    Apache/2.2.13 (Unix) PHP/5.3.2-dev
Apache API Version    20051115
Server Administrator    you@example.com
Hostname:Port    simplemachines.test:0
User/Group    jeremy(502)/70
Max Requests    Per Child: 10000 - Keep Alive: on - Max Per Connection: 100
Timeouts    Connection: 5 - Keep-Alive: 5
Virtual Server    Yes
Server Root    /home/software/apache
Loaded Modules    core mod_authn_file mod_authn_default mod_authz_host mod_authz_groupfile mod_authz_user mod_authz_default mod_auth_basic mod_include mod_filter mod_log_config mod_env mod_setenvif mod_version prefork http_core mod_mime mod_status mod_autoindex mod_asis mod_cgi mod_vhost_alias mod_negotiation mod_dir mod_actions mod_userdir mod_alias mod_so mod_php5

Directive   Local Value   Master Value
engine   1   1
last_modified   0   0
xbithack   0   0

Apache Environment
Variable   Value
HTTP_HOST    www.simplemachines.test
HTTP_USER_AGENT    Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.2.10) Gecko/20100914 Firefox/3.6.10
HTTP_ACCEPT    text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
HTTP_ACCEPT_LANGUAGE    en-us,en;q=0.5
HTTP_ACCEPT_ENCODING    gzip,deflate
HTTP_ACCEPT_CHARSET    ISO-8859-1,utf-8;q=0.7,*;q=0.7
HTTP_KEEP_ALIVE    115
HTTP_CONNECTION    keep-alive
HTTP_COOKIE    SMFCookieDE001=a%3A4%3A%7Bi%3A0%3Bs%3A1%3A%223%22%3Bi%3A1%3Bs%3A40%3A%22ecbdd47d60791a957782e4ed26c3863f7cb23203%22%3Bi%3A2%3Bi%3A1287340415%3Bi%3A3%3Bi%3A0%3B%7D
HTTP_X_LORI_TIME_1    1287337230525
PATH    /usr/bin:/bin:/usr/sbin:/sbin
SERVER_SIGNATURE    no value
SERVER_SOFTWARE    Apache/2.2.13 (Unix) PHP/5.3.2-dev
SERVER_NAME    www.simplemachines.test
SERVER_ADDR    127.0.0.1
SERVER_PORT    80
REMOTE_ADDR    127.0.0.1
DOCUMENT_ROOT    /home/sites/simplemachines.org/public_html
SERVER_ADMIN    you@example.com
SCRIPT_FILENAME    /home/smf/index_files/phpinfo.php
REMOTE_PORT    51846
GATEWAY_INTERFACE    CGI/1.1
SERVER_PROTOCOL    HTTP/1.1
REQUEST_METHOD    GET
QUERY_STRING    no value
REQUEST_URI    /phpinfo.php
SCRIPT_NAME    /phpinfo.php

HTTP Headers Information
HTTP Request Headers
HTTP Request    GET /phpinfo.php HTTP/1.1
Host    www.simplemachines.test
User-Agent    Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.2.10) Gecko/20100914 Firefox/3.6.10
Accept    text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language    en-us,en;q=0.5
Accept-Encoding    gzip,deflate
Accept-Charset    ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive    115
Connection    keep-alive
Cookie    SMFCookieDE001=a%3A4%3A%7Bi%3A0%3Bs%3A1%3A%223%22%3Bi%3A1%3Bs%3A40%3A%22ecbdd47d60791a957782e4ed26c3863f7cb23203%22%3Bi%3A2%3Bi%3A1287340415%3Bi%3A3%3Bi%3A0%3B%7D
X-lori-time-1    1287337230525
HTTP Response Headers
X-Powered-By    PHP/5.3.2-dev
Keep-Alive    timeout=5, max=99
Connection    Keep-Alive
Transfer-Encoding    chunked
Content-Type    text/html

Core
PHP Version    5.3.2-dev

Directive   Local Value   Master Value
allow_call_time_pass_reference   Off   Off
allow_url_fopen   Off   Off
allow_url_include   Off   Off
always_populate_raw_post_data   Off   Off
arg_separator.input   ;&   ;&
arg_separator.output   &   &
asp_tags   Off   Off
auto_append_file   /home/smf/index_files/sm_exit_script.php   no value
auto_globals_jit   On   On
auto_prepend_file   /home/smf/index_files/sm_startup_script.php   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   On   On
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   phpX_error_log   phpX_error_log
error_prepend_string   no value   no value
error_reporting   30719   30719
exit_on_timeout   Off   Off
expose_php   On   On
extension_dir   ./   ./
file_uploads   On   On
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_errors   On   On
ignore_repeated_errors   Off   Off
ignore_repeated_source   Off   Off
ignore_user_abort   Off   Off
implicit_flush   Off   Off
include_path   .:/home/software/php/v5/lib/php   .:/home/software/php/v5/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.add_x_header   Off   Off
mail.force_extra_parameters   no value   no value
mail.log   no value   no value
max_execution_time   360   360
max_file_uploads   20   20
max_input_nesting_level   64   64
max_input_time   360   360
memory_limit   5G   5G
open_basedir   no value   no value
output_buffering   4096   4096
output_handler   no value   no value
post_max_size   128M   128M
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
request_order   GP   GP
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   Off   Off
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   64M   64M
upload_tmp_dir   no value   no value
user_dir   no value   no value
user_ini.cache_ttl   300   300
user_ini.filename   .user.ini   .user.ini
variables_order   GPCS   GPCS
xmlrpc_error_number   0   0
xmlrpc_errors   Off   Off
y2k_compliance   On   On
zend.enable_gc   On   On

ctype
ctype functions    enabled

date
date/time support    enabled
"Olson" Timezone Database Version    2009.19
Timezone Database    internal
Default timezone    America/Los_Angeles

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   America/Los_Angeles   America/Los_Angeles

dom
DOM/XML    enabled
DOM/XML API Version    20031129
libxml Version    2.7.3
HTML Support    enabled
XPath Support    enabled
XPointer Support    enabled
Schema Support    enabled
RelaxNG Support    enabled

ereg
Regex Library    Bundled library enabled

fileinfo
fileinfo support   enabled
version    1.0.5-dev

filter
Input Validation and Filtering    enabled
Revision    $Revision: 288083 $

Directive   Local Value   Master Value
filter.default   unsafe_raw   unsafe_raw
filter.default_flags   no value   no value

gd
GD Support    enabled
GD Version    bundled (2.0.34 compatible)
GIF Read Support    enabled
GIF Create Support    enabled
PNG Support    enabled
libPNG Version    1.2.39
WBMP Support    enabled
XBM Support    enabled

Directive   Local Value   Master Value
gd.jpeg_ignore_warning   0   0

hash
hash support    enabled
Hashing Engines    md2 md4 md5 sha1 sha224 sha256 sha384 sha512 ripemd128 ripemd160 ripemd256 ripemd320 whirlpool tiger128,3 tiger160,3 tiger192,3 tiger128,4 tiger160,4 tiger192,4 snefru snefru256 gost adler32 crc32 crc32b salsa10 salsa20 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

json
json support    enabled
json version    1.2.1

libxml
libXML support    active
libXML Compiled Version    2.7.3
libXML Loaded Version    20703
libXML streams    enabled

mbstring
Multibyte Support    enabled
Multibyte string engine    libmbfl
HTTP input encoding translation    disabled

mbstring extension makes use of "streamable kanji code filter and converter", which is distributed under the GNU Lesser General Public License version 2.1.

Multibyte (japanese) regex support    enabled
Multibyte regex (oniguruma) backtrack check    On
Multibyte regex (oniguruma) version    4.7.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.http_output_conv_mimetypes   ^(text/|application/xhtml\+xml)   ^(text/|application/xhtml\+xml)
mbstring.internal_encoding   no value   no value
mbstring.language   neutral   neutral
mbstring.strict_detection   Off   Off
mbstring.substitute_character   no value   no value

mysql
MySQL Support   enabled
Active Persistent Links    0
Active Links    0
Client API version    mysqlnd 5.0.6-dev - 091022 - $Revision: 291051 $
Persistent cache   enabled
put_hits    0
put_misses    0
get_hits    0
get_misses    0
size    2000
free_items    2000
references    2

Directive   Local Value   Master Value
mysql.allow_local_infile   On   On
mysql.allow_persistent   On   On
mysql.cache_size   2000   2000
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

mysqli
MysqlI Support   enabled
Client API library version    mysqlnd 5.0.6-dev - 091022 - $Revision: 291051 $
Active Persistent Links    0
Inactive Persistent Links    0
Active Links    0
Persistent cache   enabled
put_hits    0
put_misses    0
get_hits    0
get_misses    0
size    2000
free_items    2000
references    2

Directive   Local Value   Master Value
mysqli.allow_local_infile   On   On
mysqli.allow_persistent   On   On
mysqli.cache_size   2000   2000
mysqli.default_host   no value   no value
mysqli.default_port   3306   3306
mysqli.default_pw   no value   no value
mysqli.default_socket   no value   no value
mysqli.default_user   no value   no value
mysqli.max_links   Unlimited   Unlimited
mysqli.max_persistent   Unlimited   Unlimited
mysqli.reconnect   Off   Off

mysqlnd
mysqlnd   enabled
Version    mysqlnd 5.0.6-dev - 091022 - $Revision: 291051 $
Compression    supported
Command buffer size    4096
Read buffer size    32768
Read timeout    31536000
Collecting statistics    Yes
Collecting memory statistics    No

Client statistics   
bytes_sent    187307
bytes_received    405179
packets_sent    334
packets_received    7146
protocol_overhead_in    28584
protocol_overhead_out    1336
bytes_received_ok_packet    451
bytes_received_eof_packet    1476
bytes_received_rset_header_packet    2783
bytes_received_rset_field_meta_packet    81017
bytes_received_rset_row_packet    289130
bytes_received_prepare_response_packet    0
bytes_received_change_user_packet    0
packets_sent_command    316
packets_received_ok    41
packets_received_eof    164
packets_received_rset_header    257
packets_received_rset_field_meta    1192
packets_received_rset_row    5474
packets_received_prepare_response    0
packets_received_change_user    0
result_set_queries    146
non_result_set_queries    111
no_index_used    99
bad_index_used    0
slow_queries    0
buffered_sets    146
unbuffered_sets    0
ps_buffered_sets    0
ps_unbuffered_sets    0
flushed_normal_sets    0
flushed_ps_sets    0
ps_prepared_never_executed    0
ps_prepared_once_executed    0
rows_fetched_from_server_normal    5328
rows_fetched_from_server_ps    0
rows_buffered_from_client_normal    5328
rows_buffered_from_client_ps    0
rows_fetched_from_client_normal_buffered    3723
rows_fetched_from_client_normal_unbuffered    0
rows_fetched_from_client_ps_buffered    0
rows_fetched_from_client_ps_unbuffered    0
rows_fetched_from_client_ps_cursor    0
rows_affected_normal    69
rows_affected_ps    0
rows_skipped_normal    5328
rows_skipped_ps    0
copy_on_write_saved    6740
copy_on_write_performed    11528
command_buffer_too_small    12
connect_success    18
connect_failure    2
connection_reused    0
reconnect    0
pconnect_success    0
active_connections    0
active_persistent_connections    0
explicit_close    18
implicit_close    0
disconnect_close    0
in_middle_of_command_close    0
explicit_free_result    146
implicit_free_result    0
explicit_stmt_close    0
implicit_stmt_close    0
mem_emalloc_count    0
mem_emalloc_ammount    0
mem_ecalloc_count    0
mem_ecalloc_ammount    0
mem_erealloc_count    2693
mem_erealloc_ammount    0
mem_efree_count    344
mem_malloc_count    0
mem_malloc_ammount    0
mem_calloc_count    0
mem_calloc_ammount    0
mem_realloc_count    0
mem_realloc_ammount    0
mem_free_count    0
proto_text_fetched_null    0
proto_text_fetched_bit    0
proto_text_fetched_tinyint    1134
proto_text_fetched_short    304
proto_text_fetched_int24    885
proto_text_fetched_int    138
proto_text_fetched_bigint    2647
proto_text_fetched_decimal    28
proto_text_fetched_float    26
proto_text_fetched_double    0
proto_text_fetched_date    26
proto_text_fetched_year    0
proto_text_fetched_time    0
proto_text_fetched_datetime    880
proto_text_fetched_timestamp    0
proto_text_fetched_string    7736
proto_text_fetched_blob    3639
proto_text_fetched_enum    0
proto_text_fetched_set    0
proto_text_fetched_geometry    0
proto_text_fetched_other    0
proto_binary_fetched_null    0
proto_binary_fetched_bit    0
proto_binary_fetched_tinyint    0
proto_binary_fetched_short    0
proto_binary_fetched_int24    0
proto_binary_fetched_int    0
proto_binary_fetched_bigint    0
proto_binary_fetched_decimal    0
proto_binary_fetched_float    0
proto_binary_fetched_double    0
proto_binary_fetched_date    0
proto_binary_fetched_year    0
proto_binary_fetched_time    0
proto_binary_fetched_datetime    0
proto_binary_fetched_timestamp    0
proto_binary_fetched_string    0
proto_binary_fetched_blob    0
proto_binary_fetched_enum    0
proto_binary_fetched_set    0
proto_binary_fetched_geometry    0
proto_binary_fetched_other    0
init_command_executed_count    0
init_command_failed_count    0
com_quit    18
com_init_db    23
com_query    257
com_field_list    0
com_create_db    0
com_drop_db    0
com_refresh    0
com_shutdown    0
com_statistics    0
com_process_info    0
com_connect    0
com_process_kill    0
com_debug    0
com_ping    0
com_time    0
com_delayed_insert    0
com_change_user    0
com_binlog_dump    0
com_table_dump    0
com_connect_out    0
com_register_slave    0
com_stmt_prepare    0
com_stmt_execute    0
com_stmt_send_long_data    0
com_stmt_close    0
com_stmt_reset    0
com_stmt_set_option    18
com_stmt_fetch    0
com_deamon    0

pcre
PCRE (Perl Compatible Regular Expressions) Support    enabled
PCRE Library Version    8.00 2009-10-19

Directive   Local Value   Master Value
pcre.backtrack_limit   100000   100000
pcre.recursion_limit   100000   100000

PDO
PDO support   enabled
PDO drivers    mysql, sqlite, sqlite2

pdo_mysql
PDO Driver for MySQL   enabled
Client API version    mysqlnd 5.0.6-dev - 091022 - $Revision: 291051 $
Persistent cache   enabled
put_hits    0
put_misses    0
get_hits    0
get_misses    0
size    2000
free_items    2000
references    2

Directive   Local Value   Master Value
pdo_mysql.cache_size   2000   2000
pdo_mysql.default_socket   /tmp/mysql.sock   /tmp/mysql.sock

pdo_sqlite
PDO Driver for SQLite 3.x   enabled
SQLite Library    3.6.20

pgsql
PostgreSQL Support   enabled
PostgreSQL(libpq) Version    8.3.7
Multibyte character support    enabled
SSL support    disabled
Active Persistent Links    0
Active Links    0

Directive   Local Value   Master Value
pgsql.allow_persistent   On   On
pgsql.auto_reset_persistent   Off   Off
pgsql.ignore_notice   Off   Off
pgsql.log_notice   Off   Off
pgsql.max_links   Unlimited   Unlimited
pgsql.max_persistent   Unlimited   Unlimited

Phar
Phar: PHP Archive support   enabled
Phar EXT version    2.0.1
Phar API version    1.1.1
SVN revision    $Revision: 290435 $
Phar-based phar archives    enabled
Tar-based phar archives    enabled
ZIP-based phar archives    enabled
gzip compression    enabled
bzip2 compression    disabled (install pecl/bz2)
OpenSSL support    disabled (install ext/openssl)

Phar based on pear/PHP_Archive, original concept by Davey Shafik.
Phar fully realized by Gregory Beaver and Marcus Boerger.
Portions of tar implementation Copyright (c) 2003-2009 Tim Kientzle.

Directive   Local Value   Master Value
phar.cache_list   no value   no value
phar.readonly   On   On
phar.require_hash   On   On

posix
Revision    $Revision: 288943 $

Reflection
Reflection   enabled
Version    $Revision: 290515 $

session
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   no value   no value
session.serialize_handler   php   php
session.use_cookies   On   On
session.use_only_cookies   On   On
session.use_trans_sid   0   0

SimpleXML
Simplexml support   enabled
Revision    $Revision: 289279 $
Schema support    enabled

SPL
SPL support   enabled
Interfaces    Countable, OuterIterator, RecursiveIterator, SeekableIterator, SplObserver, SplSubject
Classes    AppendIterator, ArrayIterator, ArrayObject, BadFunctionCallException, BadMethodCallException, CachingIterator, DirectoryIterator, DomainException, EmptyIterator, FilesystemIterator, FilterIterator, GlobIterator, InfiniteIterator, InvalidArgumentException, IteratorIterator, LengthException, LimitIterator, LogicException, MultipleIterator, NoRewindIterator, OutOfBoundsException, OutOfRangeException, OverflowException, ParentIterator, RangeException, RecursiveArrayIterator, RecursiveCachingIterator, RecursiveDirectoryIterator, RecursiveFilterIterator, RecursiveIteratorIterator, RecursiveRegexIterator, RecursiveTreeIterator, RegexIterator, RuntimeException, SplDoublyLinkedList, SplFileInfo, SplFileObject, SplFixedArray, SplHeap, SplMinHeap, SplMaxHeap, SplObjectStorage, SplPriorityQueue, SplQueue, SplStack, SplTempFileObject, UnderflowException, UnexpectedValueException

SQLite
SQLite support   enabled
PECL Module version    2.0-dev $Id: sqlite.c 289587 2009-10-12 19:04:00Z felipe $
SQLite Library    2.8.17
SQLite Encoding    iso8859

Directive   Local Value   Master Value
sqlite.assoc_case   0   0

sqlite3
SQLite3 support   enabled
SQLite3 module version    0.7-dev
SQLite Library    3.6.20

Directive   Local Value   Master Value
sqlite3.extension_dir   no value   no value

standard
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
Tokenizer Support    enabled

xml
XML Support    active
XML Namespace Support    active
libxml2 Version    2.7.3

xmlreader
XMLReader    enabled

xmlwriter
XMLWriter    enabled

zlib
ZLib Support    enabled
Stream Wrapper support    compress.zlib://
Stream Filter support    zlib.inflate, zlib.deflate
Compiled Version    1.2.3
Linked Version    1.2.3

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

Environment
Variable   Value
PATH    /usr/bin:/bin:/usr/sbin:/sbin
LD_LIBRARY_PATH    /usr/local/lib/

PHP Variables
Variable   Value
_COOKIE["SMFCookieDE001"]   a:4:{i:0;s:1:"3";i:1;s:40:"ecbdd47d60791a957782e4ed26c3863f7cb23203";i:2;i:1287340415;i:3;i:0;}
_SERVER["HTTP_HOST"]   www.simplemachines.test
_SERVER["HTTP_USER_AGENT"]   Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.2.10) Gecko/20100914 Firefox/3.6.10
_SERVER["HTTP_ACCEPT"]   text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
_SERVER["HTTP_ACCEPT_LANGUAGE"]   en-us,en;q=0.5
_SERVER["HTTP_ACCEPT_ENCODING"]   gzip,deflate
_SERVER["HTTP_ACCEPT_CHARSET"]   ISO-8859-1,utf-8;q=0.7,*;q=0.7
_SERVER["HTTP_KEEP_ALIVE"]   115
_SERVER["HTTP_CONNECTION"]   keep-alive
_SERVER["HTTP_COOKIE"]   SMFCookieDE001=a%3A4%3A%7Bi%3A0%3Bs%3A1%3A%223%22%3Bi%3A1%3Bs%3A40%3A%22ecbdd47d60791a957782e4ed26c3863f7cb23203%22%3Bi%3A2%3Bi%3A1287340415%3Bi%3A3%3Bi%3A0%3B%7D
_SERVER["HTTP_X_LORI_TIME_1"]   1287337230525
_SERVER["PATH"]   /usr/bin:/bin:/usr/sbin:/sbin
_SERVER["SERVER_SIGNATURE"]   no value
_SERVER["SERVER_SOFTWARE"]   Apache/2.2.13 (Unix) PHP/5.3.2-dev
_SERVER["SERVER_NAME"]   www.simplemachines.test
_SERVER["SERVER_ADDR"]   127.0.0.1
_SERVER["SERVER_PORT"]   80
_SERVER["REMOTE_ADDR"]   127.0.0.1
_SERVER["DOCUMENT_ROOT"]   /home/sites/simplemachines.org/public_html
_SERVER["SERVER_ADMIN"]   you@example.com
_SERVER["SCRIPT_FILENAME"]   /home/smf/index_files/phpinfo.php
_SERVER["REMOTE_PORT"]   51846
_SERVER["GATEWAY_INTERFACE"]   CGI/1.1
_SERVER["SERVER_PROTOCOL"]   HTTP/1.1
_SERVER["REQUEST_METHOD"]   GET
_SERVER["QUERY_STRING"]   no value
_SERVER["REQUEST_URI"]   /phpinfo.php
_SERVER["SCRIPT_NAME"]   /phpinfo.php
_SERVER["PHP_SELF"]   /phpinfo.php
_SERVER["REQUEST_TIME"]   1287337230

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.
#64
PasteBin / Paste-1286400900:v:use_geshi-1...
Last post by SleePy - Oct 06, 2010, 09:35 PM
Tue-13:36:44 * Looking up Loopy.NJ.US.VillageIRC.net
Tue-13:36:47 * Connecting to loopy.villageirc.net (69.72.215.132) port 9999...
Tue-13:37:21 * * Subject: /CN=irc.villageirc.net
Tue-13:37:21 * * Issuer: /O=Root CA/OU=http://www.cacert.org/CN=CA Cert Signing Authority/emailAddress=support@cacert.org
Tue-13:37:21 * * Subject: /CN=irc.villageirc.net
Tue-13:37:21 * * Issuer: /O=Root CA/OU=http://www.cacert.org/CN=CA Cert Signing Authority/emailAddress=support@cacert.org
Tue-13:37:21 * * Subject: /CN=irc.villageirc.net
Tue-13:37:21 * * Issuer: /O=Root CA/OU=http://www.cacert.org/CN=CA Cert Signing Authority/emailAddress=support@cacert.org
Tue-13:37:22 * * Certification info:
Tue-13:37:22 *   Subject:
Tue-13:37:22 *     CN=irc.villageirc.net
Tue-13:37:22 *   Issuer:
Tue-13:37:22 *     O=Root CA
Tue-13:37:22 *     OU=http:
Tue-13:37:22 *    
Tue-13:37:22 *     www.cacert.org
Tue-13:37:22 *     CN=CA Cert Signing Authority
Tue-13:37:22 *     emailAddress=support@cacert.org
Tue-13:37:22 *   Public key algorithm: rsaEncryption (1024 bits)
Tue-13:37:22 *   Sign algorithm sha1WithRSAEncryption
Tue-13:37:22 *   Valid since Feb 18 20:01:58 2009 GMT to Aug 17 20:01:58 2009 GMT
Tue-13:37:22 * * Cipher info:
Tue-13:37:22 *   Version: TLSv1/SSLv3, cipher AES256-SHA (256 bits)
Tue-13:37:22 * * Verify E: unable to verify the first certificate.? (21) -- Ignored
Tue-13:37:22 * Connected. Now logging in...
Tue-13:37:22 * Welcome to the VillageIRC network SleePy!~SleePy@pool-71-115-217-112.spknwa.dsl-w.verizon.net
Tue-13:37:22 * Your host is Loopy.NJ.US.VillageIRC.net[@0.0.0.0], running UltimateIRCd(Tsunami)-3.0(02)
Tue-13:37:22 * This server was last (re)started on Mon Feb 5 2007 at 12:03:34 EST and is located in Clifton, New Jersey, USA
Tue-13:37:22 * Loopy.NJ.US.VillageIRC.net UltimateIRCd(Tsunami)-3.0(02) adhioprxDOPRSWZ acehimnopqstvAKMNORS
Tue-13:37:22 * SAFELIST SILENCE KNOCK FNC WATCH=128 CHANLIMIT=#&:20 MAXLIST=be:60 NICKLEN=30 TOPICLEN=307 KICKLEN=307 CHANNELLEN=32 :are available on this server
Tue-13:37:22 * EXCEPTS=e CHANTYPES=#& PREFIX=(aohv)!@%+ CHANMODES=be,k,l,cimnpqstAKMNORS STATUSMSG=!@%+ NETWORK=VillageIRC CASEMAPPING=ascii STD=i-d :are available on this server
Tue-13:37:22 * There are 0 users and 52 invisible on 5 servers
Tue-13:37:22 * 6 :IRC Operators online
Tue-13:37:22 * 53 :channels formed
Tue-13:37:22 * I have 52 clients and 1 servers
Tue-13:37:22 * Current local users: 52 Max: 298
Tue-13:37:22 * Current global users: 52 Max: 308
Tue-13:37:22 * *** Notice -- motd was last changed at 9/8/2009 12:48
Tue-13:37:22 * - Loopy.NJ.US.VillageIRC.net Message of the Day -
Tue-13:37:22 * - 5/10/2010 17:31
Tue-13:37:22 * - -=( Welcome To The VillageIRC Network )=-
Tue-13:37:22 * -
Tue-13:37:22 * -  L o o p y . N J . U S . V i l l a g e I R C . N e t
Tue-13:37:22 * -
Tue-13:37:22 * - -=( Loopy IRC )=-
Tue-13:37:22 * -
Tue-13:37:22 * -  Ports: 6660-6670, 7000, 9999 (SSL)
Tue-13:37:22 * -
Tue-13:37:22 * - -=( Rules Of Conduct )=-
Tue-13:37:22 * -
Tue-13:37:22 * -  To view the complete list of our Rules Of Conduct issue the command:
Tue-13:37:22 * -  /Rules
Tue-13:37:22 * -
Tue-13:37:22 * -  Or review our rules listed at http://www.villageirc.net/
Tue-13:37:22 * -
Tue-13:37:22 * -  If these terms are not acceptable to you, please do not use this network.
Tue-13:37:22 * -  Violators will be ejected from the system!
Tue-13:37:22 * -  We reserve the right to disconnect, and/or deny access to this server
Tue-13:37:22 * -  for any reason. Remember,this is a service we give to you, not a right.
Tue-13:37:22 * -
Tue-13:37:22 * - -=( IRC Staff )=-
Tue-13:37:22 * -
Tue-13:37:22 * -  The administration consists of the following people:
Tue-13:37:22 * -  Cynapede - ShadowMaster - Douglas
Tue-13:37:22 * -
Tue-13:37:22 * -  In addition you can view a list of all online IRC Operators
Tue-13:37:22 * -  on the entire network by doing /IRCOPS
Tue-13:37:22 * -
Tue-13:37:22 * -  Just to humor Runic... UPDATED!
Tue-13:37:22 * -
Tue-13:37:22 * - Happy Chatting!
Tue-13:37:22 * End of /MOTD.
Tue-16:27:02 * Disconnected (Remote host closed socket).
Tue-16:27:03 * Looking up Loopy.NJ.US.VillageIRC.net
Tue-16:27:03 * Connecting to loopy.villageirc.net (69.72.215.132) port 9999...
Tue-16:28:17 * Connection failed. Error: Operation timed out
Tue-16:28:18  Cycling to next server in VillageIRC...
Tue-16:28:18 * Disconnected ().
Tue-16:28:18 * Looking up Loopy.NJ.US.VillageIRC.net
Tue-16:28:18 * Connecting to loopy.villageirc.net (69.72.215.132) port 9999...
Tue-16:29:00 * * Subject: /CN=irc.villageirc.net
Tue-16:29:00 * * Issuer: /O=Root CA/OU=http://www.cacert.org/CN=CA Cert Signing Authority/emailAddress=support@cacert.org
Tue-16:29:00 * * Subject: /CN=irc.villageirc.net
Tue-16:29:00 * * Issuer: /O=Root CA/OU=http://www.cacert.org/CN=CA Cert Signing Authority/emailAddress=support@cacert.org
Tue-16:29:00 * * Subject: /CN=irc.villageirc.net
Tue-16:29:00 * * Issuer: /O=Root CA/OU=http://www.cacert.org/CN=CA Cert Signing Authority/emailAddress=support@cacert.org
Tue-16:29:03 * * Certification info:
Tue-16:29:03 *   Subject:
Tue-16:29:03 *     CN=irc.villageirc.net
Tue-16:29:03 *   Issuer:
Tue-16:29:03 *     O=Root CA
Tue-16:29:03 *     OU=http:
Tue-16:29:03 *    
Tue-16:29:03 *     www.cacert.org
Tue-16:29:03 *     CN=CA Cert Signing Authority
Tue-16:29:03 *     emailAddress=support@cacert.org
Tue-16:29:03 *   Public key algorithm: rsaEncryption (1024 bits)
Tue-16:29:03 *   Sign algorithm sha1WithRSAEncryption
Tue-16:29:03 *   Valid since Feb 18 20:01:58 2009 GMT to Aug 17 20:01:58 2009 GMT
Tue-16:29:03 * * Cipher info:
Tue-16:29:03 *   Version: TLSv1/SSLv3, cipher AES256-SHA (256 bits)
Tue-16:29:03 * * Verify E: unable to verify the first certificate.? (21) -- Ignored
Tue-16:29:03 * Connected. Now logging in...
Tue-16:29:04 * Welcome to the VillageIRC network SleePy!~SleePy@pool-71-115-217-112.spknwa.dsl-w.verizon.net
Tue-16:29:04 * Your host is Loopy.NJ.US.VillageIRC.net[@0.0.0.0], running UltimateIRCd(Tsunami)-3.0(02)
Tue-16:29:04 * This server was last (re)started on Mon Feb 5 2007 at 12:03:34 EST and is located in Clifton, New Jersey, USA
Tue-16:29:04 * Loopy.NJ.US.VillageIRC.net UltimateIRCd(Tsunami)-3.0(02) adhioprxDOPRSWZ acehimnopqstvAKMNORS
Tue-16:29:04 * SAFELIST SILENCE KNOCK FNC WATCH=128 CHANLIMIT=#&:20 MAXLIST=be:60 NICKLEN=30 TOPICLEN=307 KICKLEN=307 CHANNELLEN=32 :are available on this server
Tue-16:29:04 * EXCEPTS=e CHANTYPES=#& PREFIX=(aohv)!@%+ CHANMODES=be,k,l,cimnpqstAKMNORS STATUSMSG=!@%+ NETWORK=VillageIRC CASEMAPPING=ascii STD=i-d :are available on this server
Tue-16:29:04 * There are 0 users and 10 invisible on 5 servers
Tue-16:29:04 * 11072 :unknown connection(s)
Tue-16:29:04 * 4 :channels formed
Tue-16:29:04 * I have 10 clients and 1 servers
Tue-16:29:04 * Current local users: 10 Max: 298
Tue-16:29:04 * Current global users: 10 Max: 308
Tue-16:29:04 * *** Notice -- motd was last changed at 9/8/2009 12:48
Tue-16:29:04 * - Loopy.NJ.US.VillageIRC.net Message of the Day -
Tue-16:29:04 * - 5/10/2010 20:25
Tue-16:29:04 * - -=( Welcome To The VillageIRC Network )=-
Tue-16:29:04 * -
Tue-16:29:04 * -  L o o p y . N J . U S . V i l l a g e I R C . N e t
Tue-16:29:04 * -
Tue-16:29:04 * - -=( Loopy IRC )=-
Tue-16:29:04 * -
Tue-16:29:23 * Disconnected ().
Tue-16:29:23 * Looking up Loopy.NJ.US.VillageIRC.net
Tue-16:29:23 * Connecting to loopy.villageirc.net (69.72.215.132) port 9999...
Tue-16:29:34 * * Subject: /CN=irc.villageirc.net
Tue-16:29:34 * * Issuer: /O=Root CA/OU=http://www.cacert.org/CN=CA Cert Signing Authority/emailAddress=support@cacert.org
Tue-16:29:34 * * Subject: /CN=irc.villageirc.net
Tue-16:29:34 * * Issuer: /O=Root CA/OU=http://www.cacert.org/CN=CA Cert Signing Authority/emailAddress=support@cacert.org
Tue-16:29:34 * * Subject: /CN=irc.villageirc.net
Tue-16:29:34 * * Issuer: /O=Root CA/OU=http://www.cacert.org/CN=CA Cert Signing Authority/emailAddress=support@cacert.org
Tue-16:30:58 * Connection failed. Error: SSL handshake timed out
Tue-16:31:59 * Looking up Loopy.NJ.US.VillageIRC.net
Tue-16:31:59 * Connecting to loopy.villageirc.net (69.72.215.132) port 9999...
Tue-16:32:03 * * Subject: /CN=irc.villageirc.net
Tue-16:32:03 * * Issuer: /O=Root CA/OU=http://www.cacert.org/CN=CA Cert Signing Authority/emailAddress=support@cacert.org
Tue-16:32:03 * * Subject: /CN=irc.villageirc.net
Tue-16:32:03 * * Issuer: /O=Root CA/OU=http://www.cacert.org/CN=CA Cert Signing Authority/emailAddress=support@cacert.org
Tue-16:32:03 * * Subject: /CN=irc.villageirc.net
Tue-16:32:03 * * Issuer: /O=Root CA/OU=http://www.cacert.org/CN=CA Cert Signing Authority/emailAddress=support@cacert.org
Tue-16:33:33 * Connection failed. Error: SSL handshake timed out
Tue-16:36:29 * Looking up 69.72.215.132
Tue-16:36:29 * Connecting to 69.72.215.132 (69.72.215.132) port 6667...
Tue-16:37:44 * Connection failed. Error: Operation timed out
Tue-19:01:06 * Looking up 69.72.215.132
Tue-19:01:06 * Connecting to 69.72.215.132 (69.72.215.132) port 6667...
Tue-19:01:06 * Connected. Now logging in...
Tue-19:01:06 * *** Looking up your hostname...
Tue-19:01:06 * *** Found your hostname, cached
Tue-19:01:06 * *** Checking Ident
Tue-19:01:06 * *** Got Ident response
Tue-19:01:06 * Welcome to the VillageIRC network SleePy!SleePy@pool-71-115-217-112.spknwa.dsl-w.verizon.net
Tue-19:01:06 * Your host is Loopy.NJ.US.VillageIRC.net[@0.0.0.0], running UltimateIRCd(Tsunami)-3.0(02)
Tue-19:01:06 * This server was last (re)started on Mon Feb 5 2007 at 12:03:34 EST and is located in Clifton, New Jersey, USA
Tue-19:01:06 * Loopy.NJ.US.VillageIRC.net UltimateIRCd(Tsunami)-3.0(02) adhioprxDOPRSWZ acehimnopqstvAKMNORS
Tue-19:01:06 * SAFELIST SILENCE KNOCK FNC WATCH=128 CHANLIMIT=#&:20 MAXLIST=be:60 NICKLEN=30 TOPICLEN=307 KICKLEN=307 CHANNELLEN=32 :are available on this server
Tue-19:01:06 * EXCEPTS=e CHANTYPES=#& PREFIX=(aohv)!@%+ CHANMODES=be,k,l,cimnpqstAKMNORS STATUSMSG=!@%+ NETWORK=VillageIRC CASEMAPPING=ascii STD=i-d :are available on this server
Tue-19:01:06 * There are 0 users and 43 invisible on 5 servers
Tue-19:01:06 * 4 :IRC Operators online
Tue-19:01:06 * 11111 :unknown connection(s)
Tue-19:01:06 * 50 :channels formed
Tue-19:01:06 * I have 43 clients and 1 servers
Tue-19:01:06 * Current local users: 43 Max: 298
Tue-19:01:06 * Current global users: 43 Max: 308
Tue-19:01:07 * *** Notice -- motd was last changed at 9/8/2009 12:48
Tue-19:01:07 * - Loopy.NJ.US.VillageIRC.net Message of the Day -
Tue-19:01:07 * - 5/10/2010 22:28
Tue-19:01:07 * - -=( Welcome To The VillageIRC Network )=-
Tue-19:01:07 * -
Tue-19:01:07 * -  L o o p y . N J . U S . V i l l a g e I R C . N e t
Tue-19:01:07 * -
Tue-19:01:07 * - -=( Loopy IRC )=-
Tue-19:01:07 * -
Tue-19:01:07 * -  Ports: 6660-6670, 7000, 9999 (SSL)
Tue-19:01:07 * -
Tue-19:01:07 * - -=( Rules Of Conduct )=-
Tue-19:01:07 * -
Tue-19:01:07 * -  To view the complete list of our Rules Of Conduct issue the command:
Tue-19:01:07 * -  /Rules
Tue-19:01:07 * -
Tue-19:01:07 * -  Or review our rules listed at http://www.villageirc.net/
Tue-19:01:07 * -
Tue-19:01:07 * -  If these terms are not acceptable to you, please do not use this network.
Tue-19:01:07 * -  Violators will be ejected from the system!
Tue-19:01:07 * -  We reserve the right to disconnect, and/or deny access to this server
Tue-19:01:07 * -  for any reason. Remember,this is a service we give to you, not a right.
Tue-19:01:07 * -
Tue-19:01:07 * - -=( IRC Staff )=-
Tue-19:01:07 * -
Tue-19:01:07 * -  The administration consists of the following people:
Tue-19:01:07 * -  Cynapede - ShadowMaster - Douglas
Tue-19:01:07 * -
Tue-19:01:07 * -  In addition you can view a list of all online IRC Operators
Tue-19:01:07 * -  on the entire network by doing /IRCOPS
Tue-19:01:07 * -
Tue-19:01:07 * -  Just to humor Runic... UPDATED!
Tue-19:01:07 * -
Tue-19:01:07 * - Happy Chatting!
Tue-19:01:07 * End of /MOTD.
Tue-19:01:07 * SleePy sets modes [SleePy :+ix]
Tue-19:01:07 -Proxy- Please Note, we are scanning your host for insecure open proxies. Please ignore any connections originating from 69.72.215.132 as it will be the scanner in action.
Tue-19:01:07  Ignore on NeoStats changed.
Tue-19:01:07 * Received a CTCP VERSION from NeoStats
Tue-19:01:07 -Network-HQ- [Random News - Aug 10 2001] Remember to join #Trivia to participate in a friendly game of mixed trivia.
Tue-19:01:07 -NickServ- This nickname is registered and protected.  If it is your
Tue-19:01:07 -NickServ- nick, type /msg NickServ IDENTIFY password.  Otherwise,
Tue-19:01:07 -NickServ- please choose a different nick.
Tue-19:01:07 * Found your IP: [71.115.217.112]
Tue-19:01:07  GARBAGE: SleePy NMODE SleePy :+sw
#65
PasteBin / Paste-1285310146:v:use_geshi-1...
Last post by Guest - Sep 24, 2010, 06:35 AM
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
   <title>Curve CSS3 Test</title>
   <style type="text/css">
      * {
         border: 0 none;
         margin: 0;
         padding: 0;
         }
      a:link, a:visited {
         color: #346;
         text-decoration: none;
         }
      a:hover {
         text-decoration: underline;
         }
      html {
         background-color: #e9eef2;
         background-image: -moz-linear-gradient(top, #375a77, #e9eef2 477px, #e9eef2);
         background-image: -webkit-gradient(linear, left top, left bottom, from(#375a77), color-stop(80%, #e9eef2), to(#e9eef2));
         background-attachment: fixed;
         height: 100%;
         }
      body {
         padding: 15px 5% 10px;
         font: 78%/130% "Verdana","Arial","Helvetica",sans-serif;
         color: #444444;
         }
      #outer_edge {
         border: 3px solid white;
         -moz-border-radius: 8px;
         -webkit-border-radius: 8px;
         border-radius: 8px;
         background-image: -moz-linear-gradient(top, #c9d7e8, white 145px, white 92%, #e1e9f3);
         background-image: -webkit-gradient(linear, left top, left bottom, from(#c9d7e8), color-stop(30%, #ffffff), color-stop(92%, #ffffff), to(#e1e9f3));
         /* simulate a second border */
         -moz-box-shadow: 0 0 1px #6a6a6a;
         -webkit-box-shadow: 0 0 1px #6a6a6a;
         box-shadow: 0 0 1px #6a6a6a;
         padding: 5px;
         }
      .forum_title {
         font-family: Geneva,verdana,sans-serif;
         font-size: 1.8em;
         line-height: 42px;
         padding: 0 0 0 10px;
         margin: 0;
         }
      #outer_container {
         margin: 10px 0 10px;
         }
      #upper_section {
         padding: 20px;
         margin-bottom: 1.5em;
         -moz-border-radius: 8px;
         -webkit-border-radius: 8px;
         border-radius: 8px;
         background-image: -moz-linear-gradient(top, #c3cfde, white);
         background-image: -webkit-gradient(linear, left top, left bottom, from(#c3cfde), to(#ffffff));
         min-height: 90px;
         font-size: 0.9em;
         line-height: 1.2em;
         }
      .greeting {
         font-size: 1.2em;
         line-height: 1.7em;
         font-weight: bold;
         }
      #menu {
         font-size: 90%;
         padding: 5px 15px;
         }
      #menu a {
         background-color: white;
         -moz-border-radius: 4px;
         -webkit-border-radius: 4px;
         border-radius: 4px;
         padding: 2px 5px;
         }
      #menu a.active {
         background-color: #fd9604;
         color: white;
         font-weight: bold;
         }
      #menu a:hover {
         background-color: #375a77;
         color: white;
         text-decoration: none;
         }
      #navigation {
         border-top: 1px solid #cccccc;
         font-size: 90%;
         margin: 5px 15px;
         padding: 5px;
         }
      #content {
         font-size: 90%;
         padding: 5px 15px;
         background-color: white;
         -moz-border-radius: 8px;
         -webkit-border-radius: 8px;
         border-radius: 8px;
         height: 300px; /* FAKE IT */
         }
      .catbg {
         padding: 7px 10px;
         font-size: 1.2em;
         font-weight: bold;
         -moz-border-radius: 5px;
         -webkit-border-radius: 5px;
         border-radius: 5px;
         background-image: -moz-linear-gradient(top, #6a7f97, #a6b8cb);
         background-image: -webkit-gradient(linear, left top, left bottom, from(#6a7f97), to(#a6b8cb));
         color: white;
         }
      #copyright {
         font-size: 80%;
         text-align: center;
         padding: 5px;
         }
      #copyright span {
         word-spacing: 8px;
         }
   </style>
</head>
<body>
   <div id="outer_edge">
      <h1 class="forum_title"><a href="#">My Forum Name</a></h1>
      <div id="outer_container">
         <p id="upper_section">
            <span class="greeting">Hello, Fustrate</span>

            <a href="#">Show unread posts since last visit.</a>

            <a href="#">Show new replies to your posts.</a>

            <time>August 04, 2010, 09:02:58 AM</time>
         </p>

         <!-- Menu -->
         <nav id="menu">
            <ul>
               <li class="active" href="#">Home</a>
               <li href="#">Help</a>
               <li href="#">Search</a>
               <li href="#">Admin</a>
               <li href="#">Moderate</a>
               <li href="#">Profile</a>
               <li href="#">My Messages</a>
               <li href="#">Members</a>
               <li href="#">Logout</a>
            </ul>
         </nav>

         <!-- Breadcrumbs -->
         <div id="navigation">
            My Forum Name
         </div>

         <header>
            <span>Author</span>
            <span>Topic: </span>
            <h2 class="catbg">CSS3 Curve-like Demo</h2>
            <p>Read 1460 times</p>
         </header>
         <article id="content">
            <article id="msg2748933">
               <header>
                  <h3>CSS3 Curve-like Demo</h3>
                  <p>on: <time pubdate>August 16, 2010, 11:31:09 PM</time></p>
               </header>
               <div class="author">
                  <h3><a rel="author" href="#">groundup</a></h3>

                  <a rel="author" href="#"><img src="#"></a>
               </div>
               <footer>
                  <span class="bbc_bold">How have you bettered the world today?</span>

Information is power. Empower the people.
               </footer>
            </article>
            <article id="msg2748939">
               <header>
                  <h3>Re: CSS3 Curve-like Demo</h3>
                  <p>Reply #1 on: <time pubdate>August 16, 2010, 11:38:39 PM</time></p>
               </header>
               <div class="author">
                  <h3><a rel="author" href="#">groundup2</a></h3>

                  <a rel="author" href="#"><img src="#"></a>
               </div>
               <footer>
                  <span class="bbc_bold">How have you bettered the world today?</span>

Information is power. Empower the people.
               </footer>
            </article>
         </article>
      </div>
   </div>

   <!-- Copyright, etc. -->
   <footer id="copyright">
      Powered by SMF 2.0 RC4... Not Really | The Copyright Goes Here

      <span>XHTML RSS WAP2</span>
   </footer>
</body>
</html>
#66
PasteBin / Paste-1284416102:v:use_geshi-1...
Last post by Guest - Sep 13, 2010, 10:15 PM
class Connection
{
   private $type = 'read';
   private $prefix = '';
   private $section = '';
   // other attributes - needed to establish a connection

   // Connection management: this could be its own ConnectionManager class,
   // if it becomes a bit too big
   private static $siteConnections = array();

   // Every attribute should have its accessor functions (*if* they're necessary)
   // meaning, forbid any other means to be accessed from outside the class
   function __getType()
   {
      return $type;
   }
   function __setType($t)
   {
      $this->type = $t;
   }

   private function __construct($settings, $type)
   {
      // Make this object.
      // No Connection object exists unless this function is called,
      // so make sure everything is fine with the new object, here.
      // it must be as fully defined as possible.

      // Then:
      $this->type = $settings['type'];
      $this->prefix = $settings['prefix'];
      $this->section = $settings['section'];
      // etc, the rest of initializations if any

      // Now the Connection object knows its own settings
      // and can be used anytime to connect/test connection to the stuff it knows about
   }

   // This is the only function which makes a Connection object
   // It tries to do that for $section and the type sent.
   static function getInstance($section, $write = false)
   {
      $section = empty($section) ? $site_section : $section;
      $type = $write ? 'write' : 'read';

      if (empty($siteConnections[$section][$type]))
      {
         // Okay, we need to make a new one.
         // With what settings?
         $settings = Settings::getSettings($section);

         // Okay, now make it
         $connection = new Connection($settings, $type);
      }
   }

   function loadSiteDb()
   {
      // There's no need for global $site_section, $siteman_settings etc, since
      // the needed attributes are set for this object

      smf_db_initiate($server, $databaseName, $user, $passwd, $prefix, array('persist' => false));

   }
}

class Settings
{
   // Just a rather dummy class here
   // (these settings could be grabbed directly in a Manager-type class too)
   private $settings = array();
   private function __construct()
   {
      // SiteMan settings tells us what to do.
      // It should never change, so it's better as a non-writable static var
      // like SiteMan::$settingsDir, or a $settingsDir here, in the Settings class.
      require(SiteMan::$settingsDir . '/settings_' . '.php');
      // let's assume we always read a $sitedb_settings here. (make whatever checks necessary)
      $settings = &$sitedb_settings;
   }

   public static function getSettings($section)
   {
      if (empty($settings[$section]))
         $settings[$section] = new Settings();
      // Problems? I hope not!
      // but we could handle then here, if Settings initialization from the disk
      // didn't work.
      return $settings[$section];
   }
}

// This is dummy stuff
class SiteMan
{
   // more central stuff
   static $settingsDir = "/home/sites/simplemachines.org";
}
#67
PasteBin / Paste-1284322976:v:use_geshi-1...
Last post by SleePy - Sep 12, 2010, 08:22 PM
class SmcController_manageType extends SmcController
{
   protected $_typeForm;
   protected $action;

   public function initialize()
   {
      global $siteman_settings;

      require_once($siteman_settings['sourcedir'] . '/Subs-SiteMan-Type.php');

      // Sorry, we shouldn't let too many people change the types.  We don't modify this that often.
      siteman_isAllowedTo('admin_siteman');
   }

   public function action_index()
   {
      // Default to sa=display.
      return $this->action_display();
   }

   public function action_display()
   {
      $id_type = isset($_GET['id_type']) ? (int) $_GET['id_type'] : 0;
      $version_info = gettypeInfo($id_type);

      $this->_inittypeForm();
      $this->_typeForm->handleAction('display');
   }

   public function action_edit()
   {
      $id_type = isset($_GET['id_type']) ? (int) $_GET['id_type'] : 0;

      $type_info = gettypeInfo($id_type);

      $this->_inittypeForm();
      $this->_typeForm->handleAction('edit');
   }

   public function action_add()
   {
      $this->_inittypeForm();
      $this->action = 'add';
      $this->_typeForm->handleAction('add');
   }

   protected function _inittypeForm()
   {
      global $siteman_settings;

      require_once($siteman_settings['sourcedir'] . '/Class-Form.php');

      $this->_typeForm = new SmcForm(array(
         'id' => 'manageType',
         'params' => array(
            'action' => 'string',
            'sa' => 'string',
            'id_type' => 'int',

         ),
         'actions' => array(
            'add' => array(
               'label' => 'Add a Type',
               'scripturl' => $siteman_settings['scripturl'],
               'controls' => array(
                  'name',
               ),
               'submit_function' => array($this, 'form_manageType_add_submit'),
               'redirect_href' => $siteman_settings['scripturl'] . '?action=manageType;sa=edit;id_type={id_type};refresh_tree=r_mb_eb:{id_type}',
            ),
            'edit' => array(
               'label' => 'Edit Type {type_name}',
               'scripturl' => $siteman_settings['scripturl'],
               'retrieve_function' => array($this, 'form_manageType_edit_retrieve'),
               'submit_function' => array($this, 'form_manageType_edit_submit'),
               'redirect_href' => $siteman_settings['scripturl'] . '?action=manageType;id_type={id_type};refresh_tree=r_mb_eb:{id_type}',
            ),
            'display' => array(
               'label' => 'Type {type_name}',
               'scripturl' => $siteman_settings['scripturl'],
               'read_only_controls' => array(
                  'name',
               ),
               'retrieve_function' => array($this, 'form_manageType_display_retrieve'),
               'tabs' => array(
                  'edit' => array(
                     'href' => $siteman_settings['scripturl'] . '?action=manageType;sa=edit;id_type={id_type}',
                     'label' => 'Edit Type',
                  ),
               ),
            ),

         ),
         'controls' => array(
            'name' => array(
               'label' => 'Type name',
               'edit_hint' => 'e.g. \'Converters\'',
               'type' => 'text',
               'validation' => array(
                  'isRequired' => true,
               ),
            ),
         ),
      ));
   }

   public function form_manageType_add_submit($form, $submittedValues)
   {
      $id_type = addType($submittedValues);
      $form->updateParam('id_type', $id_type);
   }

   public function form_manageType_edit_retrieve($form)
   {
      return getTypeInfo($form->params['id_type']);
   }

   public function form_manageType_edit_submit($form, $submittedValues)
   {
      editType($form->params['id_type'], $submittedValues);
   }

   public function form_manageType_display_retrieve($form)
   {
      return getTypeInfo($form->params['id_type']);
   }
}
#68
PasteBin / Paste-1284084983:v:use_geshi-1...
Last post by SleePy - Sep 10, 2010, 02:16 AM
function getTypeInfo($id_type)
{
   $request = smcFunc::db_query('', '
      SELECT name
      FROM {raw:download_prefix}types
      WHERE id_type = {int:id_type}',
      array(
         'download_prefix' => smcFunc::dbPrefix('downloads'),
         'id_type' => $id_type,
      ), smcFunc::dbConnection('downloads')
   );
   if (smcFunc::db_num_rows($request) === 0)
      fatal_error('Branch not found.');

   $row = smcFunc::db_fetch_assoc($request);
   smcFunc::db_free_result($request);
   
   return array(
      'name' => $row['name'],
   );
}

function editType($id_type, $typeData)
{
   smcFunc::db_query('', '
      UPDATE {raw:download_prefix}types
      SET
         name = {string:name},
      WHERE id_type = {int:id_type}',
      array(
         'download_prefix' => smcFunc::dbPrefix('downloads'),
         'name' => $branchData['name'],
      ), smcFunc::dbConnection('downloads', true)
   );
}

function addType($typeData)
{
   smcFunc::db_insert('',
      smcFunc::dbPrefix('downloads') . 'types',
      array(
         'name' => 'string-255',
      ),
      array(
         $branchData['name'],
      ),
      array('id_type'),
      false,
      smcFunc::dbConnection('downloads', true)
   );

   $id_branch = smcFunc::db_insert_id($download_prefix . 'branches', 'id_branch');

   return $id_branch;
}

// Get all of our types.
function getIdTypeList()
{
   $request = smcFunc::db_query('', '
      SELECT id_type, name
      FROM {raw:download_prefix}types',
      array(
         'download_prefix' => smcFunc::dbPrefix('downloads'),
      ), smcFunc::dbConnection('downloads')
   );

   $types = array();
   while ($row = smcFunc::db_fetch_assoc($request))
      $types[$row['id_type']] = $row['name'];
   smcFunc::db_free_result($request);

   return $types;
}

function getTypeValues($id_type)
{
   if (in_array($id_type, array(0,1,2,3,5,7,8,10)))
      return array('0' => 'No Options available');

   // The conversion list.
   $type_table = getIdTypeTable();

   $request = smcFunc::db_query('', '
      SELECT {raw:id_row_name}, name
      FROM {raw:download_prefix}section_{raw:table_name}',
      array(
         'download_prefix' => smcFunc::dbPrefix('downloads'),
         'id_row_name' => $type_table[$id_type][1],
         'table_name' => $type_table[$id_type][0],
      ), smcFunc::dbConnection('downloads')
   );

   $types = array();
   while ($row = smcFunc::db_fetch_assoc($request))
      $types[$row[$type_table[$id_type][1]]] = $row['name'];
   smcFunc::db_free_result($request);

   return $types;
}

function getIdTypeTable()
{
   $type_table = array(
      4 => array('languages', 'id_language'),
      6 => array('converters', 'id_converter'),
      9 => array('bridges', 'id_bridge')
   );

   return $type_table;
}
#69
PasteBin / Paste-1284084905:v:use_geshi-1...
Last post by SleePy - Sep 10, 2010, 02:15 AM
class smcFunc
{
   private static $site_connections = array();
   private static $site_prefixes = array();

   public static function __callStatic($name, $arugments)
   {
      global $smcFunc;
      return call_user_func_array($smcFunc[$name], $arugments);
   }

   // What prefix?
   public static function dbPrefix($section, $write = false)
   {
      if (!isset(self::$site_prefixes[$section][$write !== false ? 'write' : 'read']))
         self::loadSiteDb($section, $write);

      return self::$site_prefixes[$section][$write !== false ? 'write' : 'read'];
   }

   // Is the database loaded?
   public static function dbConnection($section, $write = false)
   {
      if (!isset(self::$site_connections[$section][$write !== false ? 'write' : 'read']))
         self::loadSiteDb($section, $type);

      return self::$site_connections[$section][$write !== false ? 'write' : 'read'];
   }

   // This creates the connection if it doesn't exist.
   public static function loadSiteDb($section, $write = false, $return_connection = false)
   {
      global $site_section, $siteman_settings, $sitedb_settings;

      // No section, how lame is that.
      if (empty($section) && empty($site_section))
         trigger_error('site_load_db() no section set', E_ERROR);
      $section = empty($section) ? $site_section : $section;

      // Doing both?
      if ($write == 'both')
      {
         siteman_load_db($section, false);
         $write = true;
      }

      // Try to include our database information if we haven't already
      if (!empty($section) && !isset($site_connections[$section][$write ? 'write' : 'read']))
         require($siteman_settings['settings_dir'] . '/settings_' . $section . '.php');

      // Make the connection!
      $type = $write ? 'write' : 'read';
      if (!isset(self::$site_connections[$section][$type]))
      {
         // No read or write data? Its old skool and needs updating.
         if (!isset($sitedb_settings[$section][$type]))
         {
            $sitedb_settings[$section][$type] = $sitedb_settings[$section];

            if (empty($sitedb_settings[$section][$type]['prefix']))
               $sitedb_settings[$section][$type]['prefix'] = '';
         }
   
         // The actual connection.
         self::$site_connections[$section][$type] = smf_db_initiate($sitedb_settings[$section][$type]['server'], $sitedb_settings[$section][$type]['name'], $sitedb_settings[$section][$type]['user'], $sitedb_settings[$section][$type]['passwd'], $sitedb_settings[$section][$type]['prefix'], array('persist' => false));

         // Using a special connection?
         if ($return_connection)
            return array($sitedb_settings[$section][$type]['prefix'], $site_connections[$section][$type]);

         self::$site_prefixes[$section][$type] = '`' . $sitedb_settings[$section][$type]['name'] . '`.' . $sitedb_settings[$section][$type]['prefix'];
      }

      return self::$site_prefixes[$section][$type];
   }
}
#70
PasteBin / Paste-1283910778:v:use_geshi-1...
Last post by SleePy - Sep 08, 2010, 01:52 AM
# Added team group.
$wgRestrictionLevels[] = 'SMF_Team_Members';
$wgGroupPermissions['SMF_Team_Members'] = $wgGroupPermissions['user'];
$wgGroupPermissions['SMF_Team_Members']['SMF_Team_Members'] = true;
$wgGroupPermissions['sysop']['SMF_Team_Members'] = true;