is there such a script?
Is there such a script that allows you to run it and it will tell you path to sendmail, path to perl and the root directory path? i would rather work with a script than many support services that are offered by my clients hosts!!
Anonymous posted this at 12:51 — 18th May 2000.
They have: 5,633 posts
Joined: Jan 1970
There are quite a few scripts like this on the Internet. I just quickly checked cgi-resources.com and they have a number of them.
One the we use can be found out http://www.scriptsolutions.com/programs/free/perldiver/index.html
The script works well and it provides you with all the information you are requesting (and than some). It also tells you every module the host has installed which is also a very useful tool.
------------------
TWF Administrator
Dynamic Internet Solutions : Windows NT and UNIX Hosting & Dedicated Servers
Matt Kaufman posted this at 17:04 — 18th May 2000.
They have: 324 posts
Joined: Dec 1999
I wrote one of those once..Lemme look for it on my other computer, once I find it I will send it to you via e-mail.
Anonymous posted this at 21:56 — 18th May 2000.
They have: 5,633 posts
Joined: Jan 1970
but doesnt that mean that i have to install that script, with the right address to perl? or how does that one work?
roBofh posted this at 22:14 — 18th May 2000.
They have: 122 posts
Joined: Jun 2000
You could always try:
[code]
#!/bin/bash
echo -en "Content-type: text/html\n\n"
which sendmail; echo "<br>"
which perl; echo "<br>"
pwd
Rob Radez
OSInvestor.com
aeneas posted this at 23:06 — 18th May 2000.
They have: 20 posts
Joined: May 2000
If you can telnet into your webspace provide, "which sendmail" and "which perl" will work without a script.
[This message has been edited by aeneas (edited 18 May 2000).]
Anonymous posted this at 00:26 — 19th May 2000.
They have: 5,633 posts
Joined: Jan 1970
You're kind of contradicting yourself, DoubleOK
You asked for a "script" that tells you certain information, but you don't want to install it? All scripts have to be installed in one form or another.
99% of hosts have perl setup so that it can be accessed with the following shebang line:
#!/usr/bin/perl
------------------
TWF Administrator
Dynamic Internet Solutions : Windows NT and UNIX Hosting & Dedicated Servers
Anonymous posted this at 10:06 — 19th May 2000.
They have: 5,633 posts
Joined: Jan 1970
yes chad you are right, i was maybe thinking like a php script, but then i realised not as many hosts have it installed
thanks guys
Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.