View Single Post
Old 10-17-2007, 10:52 AM  
alex79
Confirmed User
 
Join Date: Jun 2002
Location: france
Posts: 996
php/apache question

i execute the below command from apache (php script):
Code:
<?
$command="wget http://domain.com/file.php > /dev/null";
passthru("$command");	
?>
the problem is that after execution on my server is copied 0kb file with the name file.php... i don't want nothing to be copied on my server (this is why i puted there /dev/null)..
what i'm doing wrong? how can i fix this, so no file to be copyed on my server?
__________________
alex79 is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote