[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
Re: PHP's CURL & Tor integration hangi
- To: or-talk@xxxxxxxxxxxxx
- Subject: Re: PHP's CURL & Tor integration hangi
- From: coderman <coderman@xxxxxxxxx>
- Date: Wed, 25 Jul 2007 16:36:09 -0700
- Delivered-to: archiver@xxxxxxxx
- Delivered-to: or-talk-outgoing@xxxxxxxx
- Delivered-to: or-talk@xxxxxxxx
- Delivery-date: Wed, 25 Jul 2007 19:36:18 -0400
- Dkim-signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=ZK2vzF6O3B7e6mOCX9pKXmIJegHtYxMwJ7yCunQ3uEVOiEHGZbGeiHHFNa5Z5uNzcPfGTYs9v/7SwMPsOIknfnTIMR/6xrOL8DdK6B9OnYQe0iboA3DLQCgAPJfTz5lJzhNJsDZv8s8OVaGxA/6O0aLISHXVyzPkoNwkzFcjako=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=k82yhSnWJOaNN0ZZLuJOkDfV7bH4K1QBUtoQG31qsfKQipm4BwqGyNtTw2LMcC471oFyIB25pnCXLUQGEx0KrI60FIWo5Js2Z+fDUBestoVUoIG/j70STl0P9xjQv4+NfDe3xWvF70IB1A4/qSMzbVb2ZquPeAqPIYZNWwHnqrg=
- In-reply-to: <806462.17505.qm@xxxxxxxxxxxxxxxxxxxxxxxxxxx>
- References: <806462.17505.qm@xxxxxxxxxxxxxxxxxxxxxxxxxxx>
- Reply-to: or-talk@xxxxxxxxxxxxx
- Sender: owner-or-talk@xxxxxxxxxxxxx
On 7/25/07, Mr. Blue <trashdsfg@xxxxxxxxx> wrote:
...
php -f chk_tor.php > /dev/null 2>&1 &
...
I want output that currently goes in /dev/null, be
saved in a variable ($OUTPUT), and then piped to mail
function where body=$OUTPUT
this is veering a bit off topic, but the following should work:
php -f chk_tor.php 2>&1 | mailx -s "my script output" root@localhost
if you don't have mailx, mail should work too.
best regards,