Hi,
$homepage = file_get_contents("echo $homepage;
in $homepage there is a image source statement I'm trying to replace with nothing "" and then display the page without the image.
the statement is:
<img SRC=" BORDER="0" alt="Bargain, Overstock, and Remainder Book News" hspace="6" vspace="1" align="top" >
I'm using the str_replace function but am having absolutely zero success. I've tried every way to present this string into the function for replacement. I already have it working in asp.net (VB) but need to get it working in PHP. I've tried double double quoting, single quotes, apostrophes etc..
Any help would be greatly appreciated.
Thanks
$homepage = file_get_contents("echo $homepage;
in $homepage there is a image source statement I'm trying to replace with nothing "" and then display the page without the image.
the statement is:
<img SRC=" BORDER="0" alt="Bargain, Overstock, and Remainder Book News" hspace="6" vspace="1" align="top" >
I'm using the str_replace function but am having absolutely zero success. I've tried every way to present this string into the function for replacement. I already have it working in asp.net (VB) but need to get it working in PHP. I've tried double double quoting, single quotes, apostrophes etc..
Any help would be greatly appreciated.
Thanks