69.gif

Search (advanced search)
Use this Search form before posting, asking or make a new thread.
Tips: Use Quotation mark to search words (eg. "How To Make Money Online")

08-09-2017, 09:57 PM
Post: #1
[ASK] PHP Code problem.
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');]:

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...

Thanks
08-11-2017, 01:13 AM
Post: #2
RE: [ASK] PHP Code problem.
I really didn't get what u are trying to say but I think this can be helpful for u
http://php.net/manual/en/function.include.php




77.gif