In a curl function I save an HTML file to a variable called $page.
I need to open $page and find the following occurrence:
s1.addParam("flashvars","file=/admin/files/Blah blah Blah 04.20.2010.flv&image=mediaplayer/preview.jpg&&stretching=uniform");
Any ideas on how to go about that?
I can just replace the whole $page var while the file is open but am having trouble doing that at present.