PC Playground  

Go Back   PC Playground > The Core > Scripting/Programming
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
  #11 (permalink)  
Old 02-26-2003, 09:35 PM
Junior Member
 
Join Date: Feb 2003
Location: USA
Posts: 5
Default

If it works on your site that means that perl is alive and well :wink:
so there must be a problem with the script or the path you are useing try a system info script to check your path like


#!/usr/bin/perl

#####################################
# System Information 1.0 #
#Created By: Mace & XxagentxX #
#You can pass around this script as #
#long as you keep this header in the#
#script. #
#####################################

################################################## ########################
# Installation #
# To install this script all you need to do is change the path to perl #
# at the top of the script, place it in your cgi enabled dir, chmod it #
# to 755, then run it =). #
################################################## ########################

print "Content-type: text/html \n\n";

print qq|
<html>
<head>
<title>Server Variables</title>
</head>
<body>
|;

foreach $env_var (keys %ENV)
{
print qq|

<font color=red>$env_var</font> is set to <font color=blue>$ENV{$env_var}</font>
|;
}

print qq|
</body>
</html>
|;

just copy to notepad and save as sysinfo.cgi upload in the text mode and set to 755

tom :)
Reply With Quote
  #12 (permalink)  
Old 02-27-2003, 12:00 AM
Senior Member
 
Join Date: Feb 2003
Location: Mars
Posts: 137
Default

Hey "OleTom", you posted the same script I gave him the link to. Try reading previous posts next time please.
Reply With Quote
  #13 (permalink)  
Old 02-27-2003, 10:00 AM
Junior Member
 
Join Date: Feb 2003
Location: USA
Posts: 5
Default

:oops:
Reply With Quote
  #14 (permalink)  
Old 02-27-2003, 10:05 AM
Junior Member
 
Join Date: Feb 2003
Location: USA
Posts: 5
Default

Quote:
[Sometimes people forget to be polite]
I can see that

thank You,
OleTom :roll:
Reply With Quote
  #15 (permalink)  
Old 02-27-2003, 11:16 AM
Senior Member
 
Join Date: Feb 2003
Location: Mars
Posts: 137
Default

Hey, sorry if I came off as mean. Good work with that other script though, I didn't know you could get that info with a script. 8O
Reply With Quote
  #16 (permalink)  
Old 02-28-2003, 01:07 AM
Junior Member
 
Join Date: Feb 2003
Location: USA
Posts: 5
Default

Good :D
I'm here to try to learn and play nice

OleTom :wink:
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT. The time now is 11:53 AM.