Looking for a good way to intergrate php instead of IFRAME
Posted: Sat Jul 17, 2004 10:14 pm
I have a random page that will display a new testimonial on each refresh. I was wondering what is a good php function to get the random page to display on any page. Right now I am using a IFRAME. I would like to use a php instead or at least have two options available for the user of my script.
I have used this before, but it does really work well as it is somethign I seen used on another script.
I have used this before, but it does really work well as it is somethign I seen used on another script.
Code: Select all
<?php
$extra = "";
@include("//mydomain/directory=".$_SERVER["PHP_SELF"].$extra);
?>