Forum Moderators: coopster
I saw this post but I'm not sure if this is what I need to do or not. Can you tell I don't know beans about PHP? ;-)
[webmasterworld.com...]
Anyhow...I've got this tiny piece of PHP that I'd like to put on several HTML pages so that the page displays this random bit of content.
<?php
$html = file_get_contents("http://www.awebsite.com/cl/index.php?section=serve&id=46&affid=48&output=html");
echo $html;
?>
I read that you can do it with htaccess I think. (the above referenced post mentions that) but it also mentions that it is server intensive. If I put this code on say 20 pages would it make that much of a difference? What if I put it on 5000 pages? Would that be stupid?
If I do this htaccess trick would my page extension still be .html?
Thanks!
LisaB