[snip] One would think this should be really simple but it's not. I need to retrieve the file somewhere on the internet. I read somewhere in order to read a php script's output you need to add the "php" command in front, as such:
php http://yoursite.com/cronjob.php | lpr -P hp1300n however I am getting the following error: Status: 404 suggesting that the page doesn't exist, however it does. Is there something I am missing here? [/snip] You are trying to run a PHP script on a remote site? Have a look at cURL http://www.php.net/curl -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php