Web Hosting Talk







View Full Version : Printing shell results to file


macker123
08-25-2004, 09:50 PM
I need to run a php script via the shell interface to pull all of my members email addresses, but it currently just generates them on the screen.

What is the command so I can through them all into a file that I can download?

The command I am currently issuing is:

php ./emaildump.php

white_2kgt
08-25-2004, 09:53 PM
php ./emaildump.php > file

-c