C
chewdon
I am trying to write a cgi script that will print text to a txt file
with the name of the txt file being the date and time it was created.
I am new to this and the only script I have been able to write is
Hello World!. From what I have found on the internet I tried to write
this but of course it does not work. This is what I have written.
#!/usr/local/bin/perl
#sends user back to my home page
Location: "http://www.mywebsite.com/index.html
print "text file data"; >> textfile.txt
This seems like it should be a pretty simple script but I can not
figure it out. Can anybody please tell me how to create this script?
Thanks
with the name of the txt file being the date and time it was created.
I am new to this and the only script I have been able to write is
Hello World!. From what I have found on the internet I tried to write
this but of course it does not work. This is what I have written.
#!/usr/local/bin/perl
#sends user back to my home page
Location: "http://www.mywebsite.com/index.html
print "text file data"; >> textfile.txt
This seems like it should be a pretty simple script but I can not
figure it out. Can anybody please tell me how to create this script?
Thanks