I want to read a PHP file located on the same server as the script. Yet, I want to read it as if it is from another server so that it views the HTML output of the file.
But when I read the file using file_get_contents() I just get the PHP Code.
NOTE: if this helps, I`m printing the contents of the file to fckEditor.