note 100631 deleted from function.passthru by sp
| From: | sp@php.net | Date: | Mon, 16 Apr 2012 07:47:47 +0000 |
| Subject: | note 100631 deleted from function.passthru by sp | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-187172@lists.php.net to get a copy of this message | ||
Note Submitter: houston_roadrunner at yahoo dot com
----
It is worth noting that the passthru can be picky about the quotes used...
this does not work.
passthru("'lp -d ".$printer."
/var/www/BE2/java2/deliveryticket/".$store."/".$filename."'");
but this does.
passthru("lp -d $printer /var/www/BE2/java2/deliveryticket/$store/$filename");
tested on debian sarge...