Printing shell results to file

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

 

 

 

 

Top