Entry
I have been struggling to open a file and replace the current frameset with a new file. I try to open using readfile("filename.phtml?selected=$ref"); but this want open the file with the variable passed
Jul 16th, 2001 11:43
Rich Cavanaugh, Allan Taylor,
you can do the following:
<?php
readfile("http://www.mydomain.com/path/to/filename.phtml?
selected=$ref");
?>
The other way didn't call it through the webserver, so it wasn't being
parsed by php. Better yet, depending on exactly what you're trying to
do, you could just include() or require() it.