phpsysinfo
Leonard
lenc5570 at sbcglobal.net
Fri Jan 15 18:42:59 UTC 2010
Ray Leventhal wrote:
> Ray Leventhal wrote:
>> <huge snip>
>>> http://<server_name>/phpsysinfo
>>>
>>> Now, If I just knew what server name should be-:o)
>>>
>>
>> If I were a betting man, I'd assume that http://localhost/phpsysinfo or
>> http://127.0.0.1/phpsysinfo would work.
>>
>> The server name is usually determined by apache when it starts..if it
>> can't it uses the hostname which should be (if you're using bash as a
>> shell) part of your prompt in the form <user>@<host>:
>>
>> Not sure it will, but I hope this helps a bit.
>>
>> Best,
>> -Ray
>>
> verified to work as stated above on Karmic.
>
> -Ray
>
Thanks for the comeback, Ray. I tried that on Karmic using SM and
Firefox-3.5 but didn't get what I expected. SM & FF came back with
another url file with this output(snipped for size):
file:///tmp/t0mU1yqS.phtml-1.part(SM addr bar shows this after asking me
what to open http://localhost/phpsysinfo with and I select SM). Below is
the output:
addError('file_exists(/etc/phpsysinfo/config.php)',
'/etc/phpsysinfo/config.php does not exist or is not readable by the
webserver in the phpsysinfo directory.'); } else { require_once
('/etc/phpsysinfo/config.php'); // get the config file } if
($error->ErrorsExist()) { echo $error->ErrorsAsHTML(); exit; }
//redirection part include ('./includes/redir.php'); //checking
config.php setting for template, if not supportet set phpsysinfo.css as
default $template = template; if (!file_exists('templates/' .
$template)) { $template = 'phpsysinfo.css'; } // checking config.php
setting for language, if not supported set en as default if
(!defined('lang')) { define('lang', 'en'); } $lang = lang . ".xml"; if
(!file_exists('language/' . $lang)) { $lang = 'en.xml'; } $plugins =
explode(",", PSI_PLUGINS); echo "\n"; echo "\n"; echo " \n"; echo " \n";
echo " \n"; echo " \n"; foreach($plugins as $plugin) { $filename =
"/plugins/" . $plugin . "/css/" . $plugin . ".css"; if
(file_exists(APP_ROOT . $filename)) { echo " \n"; } } $dirlist =
gdc('./templates/'); sort($dirlist); $tpl_option_list = "";
foreach($dirlist as $file) { $tpl_ext = substr($file, strlen($file) -4);
$tpl_name = substr($file, 0, strlen($file) -4); if ($tpl_ext == ".css")
{ if ($tpl_name . ".css" == $template) { $tpl_option_list.= " " .
$tpl_name . "\n"; echo " \n"; } else { $tpl_option_list.= " " .
$tpl_name . "\n"; echo " \n"; } } } echo " \n"; echo " \n"; echo " \n";
echo " \n"; echo " \n"; echo " \n"; echo " \n"; foreach($plugins as
$plugin) { $filename = "./plugins/" . $plugin . "/js/" . $plugin .
".js"; if (file_exists($filename)) { echo " \n"; } } echo " \n"; echo "
\n"; echo " \n"; echo "
\n"; echo "
Loading... please wait!
\n"; echo "
\n"; echo "
\n"; echo "
\n"; echo "
Oh, I'm sorry. Something seems to be wrong.
\n"; echo "
\n"; echo "
\n"; echo "
\n"; echo "
\"warning\"
\n"; echo "
\n"; echo " Template\n"; echo " \n"; echo " Language\n"; echo " \n"; echo "
\n"; echo "
\n"; echo "
System vitals
\n"; echo "
\n"; echo "
\n"; echo "
\n"; echo "
Hardware Information
\n"; echo "
\n"; echo "
\"plus\"PCI devices
/etc/phpsysinfo/config.php
Don't know what I'm doing wrong or how to edit
/etc/phpsysinfo/config.php Correctly?
--
Leonard
lenc5570 at sbcglobal.net
More information about the ubuntu-users
mailing list