PHP's CURL & Tor integration hangi

coderman coderman at gmail.com
Wed Jul 25 23:36:09 UTC 2007


On 7/25/07, Mr. Blue <trashdsfg at yahoo.com> 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 at localhost

if you don't have mailx, mail should work too.

best regards,



More information about the tor-talk mailing list