Gossamer Forum
Home : General : Perl Programming :

Deleting and writing to files...

Quote Reply
Deleting and writing to files...
I would like to set up a script to write to and delete from an .html file.

I want the end user to be able to add his own META keywords and change them any time he wants.

Is there a script for this already?

Thanks for your help,
Chris

------------------
webmaster@racedaze.com
Quote Reply
Re: Deleting and writing to files... In reply to
Easiest way to do this is to use server side includes (SSI), which will insert the text or HTML from a file where you place a tag formatted a special way. Because the insertion is done on the server side, the search engines should index the META tags correctly. I *think*. Smile Somebody might be able to confirm or deny this for me.

If you want the user to be able to edit the files, you could use FileMan on this site to do it. If you're not sure about the user, you could remove some of the functionality of FileMan by editing out CHMOD or denying access to certain filetypes.

I think that bignosebird has a tutorial on SSI and he's pretty good for explaining things in simple terms. If you can't find out there, search for "Server Side Includes" and "tutorial", and failing that post again here and I'll explain it.

BigNoseBird is at:
www.bignosebird.com

and Fileman is on this site at:
gossamer-threads.com/scripts/fileman/

adam

[This message has been edited by dahamsta (edited March 26, 1999).]