Here's what I'm trying to do.
Site abc.com has a link file links.php, which I'm including into a page using <? include ("abc.com/links.php"
; ?>
Is it posible to use str_replace on the content of the included file?
I've tried
<?
$xlink = include("echo str_replace("index.html", "nothing.html", $xlink);
?>
** example replaces index.html with nothing.html**
but needless to say I got nowhere
anyone have any suggestions?
Site abc.com has a link file links.php, which I'm including into a page using <? include ("abc.com/links.php"
Is it posible to use str_replace on the content of the included file?
I've tried
<?
$xlink = include("echo str_replace("index.html", "nothing.html", $xlink);
?>
** example replaces index.html with nothing.html**
but needless to say I got nowhere
anyone have any suggestions?