|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2000-07-06 09:01 UTC] sas at cvs dot php dot net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Fri Oct 24 01:00:02 2025 UTC |
If session.auto_start=0 then phpinfo() shows ... This program makes use of the Zend scripting language engine: Zend Engine v1.00, Copyright (c) 1998-2000 Zend Technologies ... But if session.auto_start=1 then phpinfo() gives ... This program makes use of the Zend scripting language engine: Z?????w^]@Ze?????w^]@en?????w^]@nd?????w^]@d E?????w^]@En... ... Everything in the output of phpinfo() is fine, just the copyright-message and the Credits link are wrong. This strange copyright-message seems to be generated by the following rule: write first letter of message; do { write eight bytes (e.g. ac f2 ff bf ee 77 1d 40); write previous letter, perhaps combined with a write next letter; } until copyright-message has been written; Fragments of the original copyright-message in phpinfo()-output: Z Ze en nd d E En ng gi in ne e v v1 1. .0 00 0, , C Co op py yr ri ig gh ht t ( (c c) ) 1 19 99 98 8- -2 20 00 00 0 Z Ze en nd d T Te ch hn no ol lo gi ie es s<br> hex-dump of phpinfo()-output: 910: 61 6c 69 67 6e 3d 22 72 69 67 68 74 22 3e 3c 2f align="right"></ 920: 61 3e 0a 54 68 69 73 20 70 72 6f 67 72 61 6d 20 a>.This program 930: 6d 61 6b 65 73 20 75 73 65 20 6f 66 20 74 68 65 makes use of the 940: 20 5a 65 6e 64 20 73 63 72 69 70 74 69 6e 67 20 Zend scripting 950: 6c 61 6e 67 75 61 67 65 20 65 6e 67 69 6e 65 3a language engine: 960: 3c 42 52 3e 5a ac f2 ff bf ee 77 1d 40 5a 65 ac <BR>Z.....w.@Ze. 970: f2 ff bf ee 77 1d 40 65 6e ac f2 ff bf ee 77 1d ....w.@en.....w. 980: 40 6e 64 ac f2 ff bf ee 77 1d 40 64 26 6e 62 73 @nd.....w.@d&nbs 990: 70 3b 45 ac f2 ff bf ee 77 1d 40 45 6e ac f2 ff p;E.....w.@En... 9a0: bf ee 77 1d 40 6e 67 ac f2 ff bf ee 77 1d 40 67 ..w.@ng.....w.@g 9b0: 69 ac f2 ff bf ee 77 1d 40 69 6e ac f2 ff bf ee i.....w.@in..... 9c0: 77 1d 40 6e 65 ac f2 ff bf ee 77 1d 40 65 26 6e w.@ne.....w.@e&n 9d0: 62 73 70 3b 76 ac f2 ff bf ee 77 1d 40 76 31 ac bsp;v.....w.@v1. 9e0: f2 ff bf ee 77 1d 40 31 2e ac f2 ff bf ee 77 1d ....w.@1......w. ... b10: f2 ff bf ee 77 1d 40 6e 64 ac f2 ff bf ee 77 1d ....w.@nd.....w. b20: 40 64 26 6e 62 73 70 3b 54 ac f2 ff bf ee 77 1d @d T.....w. b30: 40 54 65 ac f2 ff bf ee 77 1d 40 65 63 ac f2 ff @Te.....w.@ec... b40: bf ee 77 1d 40 63 68 ac f2 ff bf ee 77 1d 40 68 ..w.@ch.....w.@h b50: 6e ac f2 ff bf ee 77 1d 40 6e 6f ac f2 ff bf ee n.....w.@no..... b60: 77 1d 40 6f 6c ac f2 ff bf ee 77 1d 40 6c 6f ac w.@ol.....w.@lo. b70: f2 ff bf ee 77 1d 40 6f 67 ac f2 ff bf ee 77 1d ....w.@og.....w. b80: 40 67 69 ac f2 ff bf ee 77 1d 40 69 65 ac f2 ff @gi.....w.@ie... b90: bf ee 77 1d 40 65 73 ac f2 ff bf ee 77 1d 40 73 ..w.@es.....w.@s ba0: 3c 62 72 3e 3c 2f 42 52 3e 0a 3c 2f 54 44 3e 3c <br></BR>.</TD>< bb0: 2f 54 52 3e 0a 3c 2f 54 41 42 4c 45 3e 3c 42 52 /TR>.</TABLE><BR Is there a connection with the wrong Credits-link? Credits link if auto_start=0: <a href="/test.phtml?=PHPB8B5F2A0-3C92-11d3-A3A9-4C7B08C10000"><h1>PHP 4.0 Credits</h1></a> Credits link if auto_start=1: <a href="&PHPSESSID=c788dfe450a1f071dba2f7270c4d80af"/test.phtml?=PHPB8B5F2A0-3C92-11d3-A3A9-4C7B08C10000"><h1>PHP 4.0 Credits</h1></a> Compile-options: ./configure --with-mysql --with-apxs=/usr/sbin/apxs --with-xml --with-gd=/usr --enable-trans-sid --prefix=/usr/local/php-4.0.0 Part of used php.ini: [Session] session.save_handler = files session.save_path = /tmp/session session.use_cookies = 0 session.name = PHPSESSID session.auto_start = 1