[ARAC]Skunk
26-10-1999, 02:08
Here ya go - pretty simple but I just don't know how to do it http://www.wireplay.co.uk/ubb/frown.gif
I need a PERL CGI script that does the following.
There is a text file in the cgi-bin called something.txt
In it is some HTML.
The CGI program loads up the text file and displays it in a text area. You can then edit it provided you enter the correct password in the password box above the text area. When you click the submit button the text in the text area is saved to the text file.
I want to do this because I want to include the text file as a server sidce include - basically I want a very smal area of the webpage to be editable by people who know the password.
Anyone who know's PERL should be able to knock this script out in a couple of minutes - so go on, give it a shot.
Skunk
I need a PERL CGI script that does the following.
There is a text file in the cgi-bin called something.txt
In it is some HTML.
The CGI program loads up the text file and displays it in a text area. You can then edit it provided you enter the correct password in the password box above the text area. When you click the submit button the text in the text area is saved to the text file.
I want to do this because I want to include the text file as a server sidce include - basically I want a very smal area of the webpage to be editable by people who know the password.
Anyone who know's PERL should be able to knock this script out in a couple of minutes - so go on, give it a shot.
Skunk