Best Blackhat Forum

Full Version: [ASK] PHP Code problem.
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
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
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
Reference URL's