From: <mge...@us...> - 2006-04-29 13:15:38
|
Revision: 20 Author: mgeisler Date: 2006-04-29 06:15:10 -0700 (Sat, 29 Apr 2006) ViewCVS: http://svn.sourceforge.net/phpshell/?rev=20&view=rev Log Message: ----------- Updated footers with link to AUTHORS file and version info. Modified Paths: -------------- trunk/phpshell.php trunk/pwhash.php trunk/style.css Modified: trunk/phpshell.php =================================================================== --- trunk/phpshell.php 2006-04-29 11:27:55 UTC (rev 19) +++ trunk/phpshell.php 2006-04-29 13:15:10 UTC (rev 20) @@ -50,24 +50,25 @@ <link rel="stylesheet" href="style.css" type="text/css"> </head> <body> - <h1>Fatal Error!</h1> - <p><b>' . $errstr . '</b></p> - <p>in <b>' . $errfile . '</b>, line <b>' . $errline . '</b>.</p> - <hr> +<h1>Fatal Error!</h1> +<p><b>' . $errstr . '</b></p> +<p>in <b>' . $errfile . '</b>, line <b>' . $errline . '</b>.</p> - <p>Please consult the <a href="README">README</a>, <a - href="INSTALL">INSTALL</a>, and <a href="SECURITY">SECURITY</a> files for - instruction on how to use PHP Shell.</p> +<hr> - <hr> +<p>Please consult the <a href="README">README</a>, +<a href="INSTALL">INSTALL</a>, and <a href="SECURITY">SECURITY</a> +files for instruction on how to use PHP Shell.</p> - <address> - Copyright © 2000–2005, <a - href="mailto:mge...@mg...">Martin Geisler</a>. Get the latest - version at <a +<hr> + +<address> + Copyright © <a href="mailto:mge...@mg...">Martin + Geisler</a> and others, please see <a href="AUTHORS">AUTHORS</a>. + This is PHP Shell @VERSION@, get the latest version at <a href="http://mgeisler.net/php-shell/">mgeisler.net/php-shell/</a>. - </address> +</address> </body> </html>'); @@ -403,9 +404,10 @@ <hr> <address> -By <a href="mailto:mge...@mg...">Martin Geisler</a>. Get the -latest version at <a -href="http://mgeisler.net/php-shell/">mgeisler.net/php-shell/</a>. + Copyright © <a href="mailto:mge...@mg...">Martin + Geisler</a> and others, please see <a href="AUTHORS">AUTHORS</a>. + This is PHP Shell @VERSION@, get the latest version at <a + href="http://mgeisler.net/php-shell/">mgeisler.net/php-shell/</a>. </address> </body> Modified: trunk/pwhash.php =================================================================== --- trunk/pwhash.php 2006-04-29 11:27:55 UTC (rev 19) +++ trunk/pwhash.php 2006-04-29 13:15:10 UTC (rev 20) @@ -93,9 +93,10 @@ <hr> <address> -By <a href="mailto:mge...@mg...">Martin Geisler</a>. Get the -latest version at <a -href="http://mgeisler.net/php-shell/">mgeisler.net/php-shell/</a>. + Copyright \xA9 <a href="mailto:mge...@mg...">Martin + Geisler</a> and others, please see <a href="AUTHORS">AUTHORS</a>. + This is PHP Shell @VERSION@, get the latest version at <a + href="http://mgeisler.net/php-shell/">mgeisler.net/php-shell/</a>. </address> </body> Modified: trunk/style.css =================================================================== --- trunk/style.css 2006-04-29 11:27:55 UTC (rev 19) +++ trunk/style.css 2006-04-29 13:15:10 UTC (rev 20) @@ -1,6 +1,8 @@ /* style.css file for PHP Shell @VERSION@ * Copyright (C) 2003-2006 Martin Geisler <mge...@mg...> * Licensed under the GNU GPL. See the file COPYING for details. + * + * $Rev$ $Date$ */ body { This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <mge...@us...> - 2006-05-09 00:46:49
|
Revision: 24 Author: mgeisler Date: 2006-05-07 15:52:30 -0700 (Sun, 07 May 2006) ViewCVS: http://svn.sourceforge.net/phpshell/?rev=24&view=rev Log Message: ----------- Added new configuration variable: safe-mode-warning. When running in Safe Mode a big warning will be displayed, unless this variable is set to false. Modified Paths: -------------- trunk/config.php trunk/phpshell.php trunk/style.css Modified: trunk/config.php =================================================================== --- trunk/config.php 2006-05-07 22:16:45 UTC (rev 23) +++ trunk/config.php 2006-05-07 22:52:30 UTC (rev 24) @@ -60,3 +60,10 @@ ; directory. home-directory = "." + +; Safe Mode warning. PHP Shell will normally display a big, fat +; warning if it detects that PHP is running in Safe Mode. If you find +; that PHP Shell works anyway, then set this to false to get rid of +; the warning. + +safe-mode-warning = true Modified: trunk/phpshell.php =================================================================== --- trunk/phpshell.php 2006-05-07 22:16:45 UTC (rev 23) +++ trunk/phpshell.php 2006-05-07 22:52:30 UTC (rev 24) @@ -126,7 +126,8 @@ /* Default settings --- these settings should always be set to * something. */ -$default_settings = array('home-directory' => '.'); +$default_settings = array('home-directory' => '.', + 'safe-mode-warning' => true); /* Merge settings. */ $ini['settings'] = array_merge($default_settings, $ini['settings']); @@ -357,6 +358,26 @@ <?php } else { /* Authenticated. */ ?> +<?php if ($ini['settings']['safe-mode-warning'] && ini_get('safe_mode')) { ?> + +<div class="warning"> + <p><b>Warning:</b> PHP is running in <a + href="http://php.net/features.safe-mode">Safe Mode</a>. This means + that PHP Shell is likely to <b>fail</b> in strange ways. See the <a + href="SECURITY">SECURITY</a> file for some background information + about Safe Mode and its effects on PHP Shell.</p> + + <p>Please note that there is nothing that PHP Shell can do to + deactivate Safe Mode. You will have to talk to your system + administrator about it.</p> + + <p>PHP Shell will try its best to carry on despite Safe Mode. You + can disable this warning by setting <code>safe-mode-warning</code> + to <code>false</code> in the configuration file.</p> +</div> + +<?php } /* Safe mode. */ ?> + <fieldset> <legend>Current Working Directory: <code><?php echo htmlspecialchars($_SESSION['cwd'], ENT_COMPAT, 'UTF-8'); Modified: trunk/style.css =================================================================== --- trunk/style.css 2006-05-07 22:16:45 UTC (rev 23) +++ trunk/style.css 2006-05-07 22:52:30 UTC (rev 24) @@ -58,3 +58,10 @@ .error { color: red; } + +div.warning { + background-color: rgb(255, 150, 150); + border: medium solid rgb(255, 60, 60); + padding: 0.5em; + margin: 0.25em; +} This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <mge...@us...> - 2006-05-15 19:11:36
|
Revision: 26 Author: mgeisler Date: 2006-05-15 12:11:22 -0700 (Mon, 15 May 2006) ViewCVS: http://svn.sourceforge.net/phpshell/?rev=26&view=rev Log Message: ----------- Enable keyword expansion. Property Changed: ---------------- trunk/AUTHORS trunk/COPYING trunk/ChangeLog trunk/INSTALL trunk/README trunk/SECURITY trunk/config.php trunk/phpshell.php trunk/pwhash.php trunk/style.css Property changes on: trunk/AUTHORS ___________________________________________________________________ Name: svn:keywords + Revision Date Author Property changes on: trunk/COPYING ___________________________________________________________________ Name: svn:keywords + Revision Date Author Property changes on: trunk/ChangeLog ___________________________________________________________________ Name: svn:keywords + Revision Date Author Property changes on: trunk/INSTALL ___________________________________________________________________ Name: svn:keywords + Revision Date Author Property changes on: trunk/README ___________________________________________________________________ Name: svn:keywords + Revision Date Author Property changes on: trunk/SECURITY ___________________________________________________________________ Name: svn:keywords + Revision Date Author Property changes on: trunk/config.php ___________________________________________________________________ Name: svn:keywords + Revision Date Author Property changes on: trunk/phpshell.php ___________________________________________________________________ Name: svn:keywords + Revision Date Author Property changes on: trunk/pwhash.php ___________________________________________________________________ Name: svn:keywords + Revision Date Author Property changes on: trunk/style.css ___________________________________________________________________ Name: svn:keywords + Revision Date Author This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <mge...@us...> - 2006-05-15 19:08:22
|
Revision: 25 Author: mgeisler Date: 2006-05-15 12:08:12 -0700 (Mon, 15 May 2006) ViewCVS: http://svn.sourceforge.net/phpshell/?rev=25&view=rev Log Message: ----------- Add SVN keywords for revision and commit date. Modified Paths: -------------- trunk/phpshell.php trunk/pwhash.php Modified: trunk/phpshell.php =================================================================== --- trunk/phpshell.php 2006-05-07 22:52:30 UTC (rev 24) +++ trunk/phpshell.php 2006-05-15 19:08:12 UTC (rev 25) @@ -6,6 +6,8 @@ * PHP Shell @VERSION@ * ************************************************************** + $Rev$ $Date$ + PHP Shell is an interactive PHP script that will execute any command entered. See the files README, INSTALL, and SECURITY or http://mgeisler.net/php-shell/ for further information. Modified: trunk/pwhash.php =================================================================== --- trunk/pwhash.php 2006-05-07 22:52:30 UTC (rev 24) +++ trunk/pwhash.php 2006-05-15 19:08:12 UTC (rev 25) @@ -3,6 +3,8 @@ * pwhash.php file for PHP Shell @VERSION@ * Copyright (C) 2005, 2006 Martin Geisler <mge...@mg...> * Licensed under the GNU GPL. See the file COPYING for details. + * + * $Rev$ $Date$ */ This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <mge...@us...> - 2008-05-12 12:20:08
|
Revision: 32 http://phpshell.svn.sourceforge.net/phpshell/?rev=32&view=rev Author: mgeisler Date: 2008-05-12 05:20:15 -0700 (Mon, 12 May 2008) Log Message: ----------- Updated webpage to the one hosted at SourceForge. Modified Paths: -------------- trunk/INSTALL trunk/phpshell.php trunk/pwhash.php Modified: trunk/INSTALL =================================================================== --- trunk/INSTALL 2008-05-12 12:09:09 UTC (rev 31) +++ trunk/INSTALL 2008-05-12 12:20:15 UTC (rev 32) @@ -1,14 +1,14 @@ INSTALL file for PHP Shell @VERSION@ -Copyright (C) 2000-2006 Martin Geisler <mge...@mg...> +Copyright (C) 2000-2006, 2008 Martin Geisler <mge...@mg...> Licensed under the GNU GPL. See the file COPYING for details. Downloading PHP Shell ===================== -You can always get the latest version of PHP Shell from my homepage: +You can always get the latest version of PHP Shell from: - http://mgeisler.net/php-shell/ + http://phpshell.sf.net/ Modified: trunk/phpshell.php =================================================================== --- trunk/phpshell.php 2008-05-12 12:09:09 UTC (rev 31) +++ trunk/phpshell.php 2008-05-12 12:20:15 UTC (rev 32) @@ -10,9 +10,9 @@ PHP Shell is an interactive PHP script that will execute any command entered. See the files README, INSTALL, and SECURITY or - http://mgeisler.net/php-shell/ for further information. + http://phpshell.sf.net/ for further information. - Copyright (C) 2000-2006 Martin Geisler <mge...@mg...> + Copyright (C) 2000-2006, 2008 Martin Geisler <mge...@mg...> This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License @@ -69,7 +69,7 @@ Copyright © <a href="mailto:mge...@mg...">Martin Geisler</a> and others, please see <a href="AUTHORS">AUTHORS</a>. This is PHP Shell @VERSION@, get the latest version at <a - href="http://mgeisler.net/php-shell/">mgeisler.net/php-shell/</a>. + href="http://phpshell.sourceforge.net/">phpshell.sf.net</a>. </address> </body> @@ -429,7 +429,7 @@ Copyright © <a href="mailto:mge...@mg...">Martin Geisler</a> and others, please see <a href="AUTHORS">AUTHORS</a>. This is PHP Shell @VERSION@, get the latest version at <a - href="http://mgeisler.net/php-shell/">mgeisler.net/php-shell/</a>. + href="http://phpshell.sourceforge.net/">phpshell.sf.net</a>. </address> </body> Modified: trunk/pwhash.php =================================================================== --- trunk/pwhash.php 2008-05-12 12:09:09 UTC (rev 31) +++ trunk/pwhash.php 2008-05-12 12:20:15 UTC (rev 32) @@ -1,7 +1,7 @@ <?php /* * pwhash.php file for PHP Shell @VERSION@ - * Copyright (C) 2005, 2006 Martin Geisler <mge...@mg...> + * Copyright (C) 2005, 2006, 2008 Martin Geisler <mge...@mg...> * Licensed under the GNU GPL. See the file COPYING for details. * * $Rev$ $Date$ @@ -98,7 +98,7 @@ Copyright \xA9 <a href="mailto:mge...@mg...">Martin Geisler</a> and others, please see <a href="AUTHORS">AUTHORS</a>. This is PHP Shell @VERSION@, get the latest version at <a - href="http://mgeisler.net/php-shell/">mgeisler.net/php-shell/</a>. + href="http://phpshell.sourceforge.net/">phpshell.sf.net</a>. </address> </body> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |