I have a file all.php like this:
<?php
$url=file('file.txt');
foreach($url as $url1) {
include($url1);
sleep(60);
}
?>
file.txt contain:
http://mywebsite.com/1.php
http://mywebsite.com/2.php
http://mywebsite.com/3.php
When I run all.php, it showed: PHP Warning: include(): Failed opening '$url1' for inclusion (include_path='.;C:\php\pear')
How to fix it ? Any recommend would be highly appreciated ! Thanks !