|
System information
If you're going to use PHP or CGI, you'll need to know all sorts of information about the
system, such as paths, the version being used, which modules are installed etc.
Fortunately, I don't have to give all that information here and try to keep it current as there
is an easy way for you to find that out for yourself. Not only that, but the server will
update it automatically each time you load the page and show the information for your
CGI-BIN account.
CGI
There is a very useful free script available from Script Solutions called PerlDiver which will
tell you more than you are likely to need to know. Here are instructions for installing
it:-
- Download the latest copy of
PerlDiver from Script Solutions
- Unpack the files
- Upload perldiver.cgi to the public_html directory on the CGI-BIN server in
ASCII mode.
- CHMOD the file to 755
- Open the file in your browser
Simple huh?
You should now see a long page of information which includes paths and modules installed.
PHP
If you want to know about PHP at Spaceports, an information function is already available
without needing to download anything. Here are instructions for displaying it:-
Open Notepad, or some other text editor, and create a blank document.
Copy and paste the following code into that document:-
<? phpinfo(); ?>
(Yes, that is the entire code.)
Save the document as info.php and upload it inside the public_html directory
on the CGI-BIN server.
Open it in your browser.
You should now see a screen showing more information than you are likely to need in a very long
time.
|