[EMAIL PROTECTED] (Kraa De Simon) wrote:

 > Hello,
>
 > I want to send a weekly report to a mailinglist. 
>
 > I would like to automate the process and use a cron job to execute 'php.exe
 > weekly.php' or something. 
>
 > I could gather the information, put it in a string and pass the string to
 > mail(). 
>
 > But...is it also possible to "grab" the html output of a .php file already
 > used in the application (some report) and e-mail it to someone? 

yeah fopen can open files over http also allowing you to get the
output of a script and put it in a string.

-- 
Henrik Hansen

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to