Menu
I recently inquired about how to have HTML codes inserted into a webpage from a remote file. What I discovered, worked like a charm;
<!–#include file=”example.txt” –> or <!–#include virtual=” example.txt” –>
However, where this fell short was in calling the remote file into a ‘cgi-bin script’ or .php file. I tried researching a solution which lead me to using the following codes;
<?php include example.php’; ?> or <?php include example. txt; ?>
This was unsuccessful. Am I missing anything? Can anyone please offer some advice on what would be the easiest way to have my .php file recognize HTML codes from a remote file?