Thanks Paul.
Actually, come to think of it, I do need to "replace that line" as well. Any idea how I might do that?
Also, another problem (similar, but for a different script I'm making)... I want to read an HTML file, and set everything AFTER the tag <!--EDITBEGIN--> and BEFORE the tag <!--EDITEND--> as an variable. I would also like to be able to rewrite just this area of the page with another variable.
Thanks again. It's great having a forum like this when you're learning something new :)
Peter
Actually, come to think of it, I do need to "replace that line" as well. Any idea how I might do that?
Also, another problem (similar, but for a different script I'm making)... I want to read an HTML file, and set everything AFTER the tag <!--EDITBEGIN--> and BEFORE the tag <!--EDITEND--> as an variable. I would also like to be able to rewrite just this area of the page with another variable.
Thanks again. It's great having a forum like this when you're learning something new :)
Peter