I'm working on a "Print This Page" script that will make a printable version without all the navigation, ads, etc. I have the main content (the stuff I want to extract for this printable version) separated from my includes and stuff with comments. I'm wondering what the best way to open a file and get just thing info from a certain comment tag to another so that I can do some formatting on that and then send it to the browser. Do I read the whole file into a string and then use a combination of strpos and substr to get just the part I need? I've only been working with PHP for about 2 weeks so I could use some help. Thanks.
Jake