buyoffit
Dec 11th 2004, 1:09 pm
hiya,
Got a bit of a problem, got the file on the route dir, but when you go down a certain amount of levels it fails to include it, is there a way of setting it to include
i.e: http://www.domain.com/file.php
rather than all the :
("include_path") . ':../:../../:../../../:../../../../');
Tried this :
<?php
include('http://www.domain.co.uk/file.php');
echo "<div><p>Some other internet browsing ideas:</p></div>";
echo '<p>'.$ad_network[0].' / '.$ad_network[1].' / '.$ad_network[2].' / '.$ad_network[3].' / '.$ad_network[4].'</p>';
?>
but it brings back no results. no parse errors etc..
Any ideas?
Edit : To illaborate, is there a fixed path method? that appears to be where the problem is, i tried modifying it to use a fixed path my self, but then it doesnt return anything, it returns the slashes and anything else i manually pu t there so it is executing it properly, just not using it properly since theres no include error.
Cheers
Got a bit of a problem, got the file on the route dir, but when you go down a certain amount of levels it fails to include it, is there a way of setting it to include
i.e: http://www.domain.com/file.php
rather than all the :
("include_path") . ':../:../../:../../../:../../../../');
Tried this :
<?php
include('http://www.domain.co.uk/file.php');
echo "<div><p>Some other internet browsing ideas:</p></div>";
echo '<p>'.$ad_network[0].' / '.$ad_network[1].' / '.$ad_network[2].' / '.$ad_network[3].' / '.$ad_network[4].'</p>';
?>
but it brings back no results. no parse errors etc..
Any ideas?
Edit : To illaborate, is there a fixed path method? that appears to be where the problem is, i tried modifying it to use a fixed path my self, but then it doesnt return anything, it returns the slashes and anything else i manually pu t there so it is executing it properly, just not using it properly since theres no include error.
Cheers