08-09-2017, 09:57 PM
Hi Peeps.
I hope that someone more knowledgable than I can help me out with this.
I have the following piece of php code that is calling a local file on line 7 - [include('included/myrss.php');]:
How do I alter the code so that it calls the file from a URL, like this:
Many thanks in advance...
I hope that someone more knowledgable than I can help me out with this.
I have the following piece of php code that is calling a local file on line 7 - [include('included/myrss.php');]:
PHP Code:
<?php
$_GET['search'] = 'horse';
$_GET['site'] = '1';
$_GET['mn'] = '1';
$_GET['mx'] = '100';
$_GET['results'] = '1';
include('included/myrss.php');
?>
How do I alter the code so that it calls the file from a URL, like this:
PHP Code:
include('http://www.MyDomain.com/included/myrss.php');
Many thanks in advance...