| Monday, February 06, 2012 |
|
||||||||||||||||||||||||
![]() |
Promoting and Sharing the Memory and Spirit of Piedmont Airlines Celebrating 12 Years Online - 1999-2011
|
||||||||||||||||||||||||
|
|||||||||||||||||||||||||
|
Piedmont Airlines || Route of the Pacemaker #!/usr/local/bin/perl
##############################################################################
# Random Text Version 1.0 #
# Copyright 1996 Matt Wright #
##############################################################################
# Define Variables #
# This is the file in which all of your random text phrases are stored. #
$random_file = "/domains/jetpiedmont.com/public_html/include/random.txt";
# The delimiter specifies how each phrase is distinguished from another. For#
# instance, the common fortune file (a Unix program) is delimited by a new #
# line followed by two % signs on the next line and then a new line. This is#
# a pretty good format and you can read more about it in the README file. #
$delimiter = "\n\%\%\n";
# Done #
##############################################################################
# Open the file containing phrases and read it in.
open(FILE,"$random_file") || &error('open->random_file',$random_file);
@FILE = ERROR: Random File UnopenableEND_ERROR if (-e $random_file) { print "The file was found on your system, so make sure that it is\n"; print "readable by the web server. This means you will need to\n"; print "execute the following command: \n";
print " chmod 744 $random_file\n";
print "\n";
}
else {
print "The file was not found on your file system. This means that\n";
print "it has either not been created or the path you have specified\n";
print "in \$trrandom_file is incorrect.\n";
}
exit;
}
|
|||||||||||||||||||||||||
![]() P.O. Box 25864 | Winston-Salem, North Carolina 27114-5864 No part of this web site may be copied or reproduced without prior written consent. Copyright © 1999- All Rights Reserved
User IP Address Logged As: 38.107.179.210
|
|||||||||||||||||||||||||