[thelist] File manipulation tutorials with PHP/ helpful resources

Carol Stein techwatcher at accesswriters.com
Mon Mar 24 08:25:16 CST 2003


Hi, Tony --

>> What I'd like to do is open an html file, strip out the content between
>> the <body></body> tags so that I can insert it into my own template.

>> Has anyone got any good resources or tutorials I could read to help me
>> accomplish this simple sounding task.
This is REALLY simple for me, since I use an old ASCII-based WP called
XyWrite which comes with XPL (eXtended Programming Language), and write
programs like the one you're describing to change Web pages all the time.
You probably won't be able to find XyWrite, though, so perhaps you can use
Back Up & Replace 'Em. This is a powerful utility to process regular
expression (reg-ex), including wild cards and file extension/folder
capabilities. Search Google for it; it you can't find it, let me know and
I'll open the program on my hard drive and see what its help screen says,
or how to find or update it.

Cheers --
Carol





More information about the thelist mailing list