By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
424,963 Members | 1,902 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,963 IT Pros & Developers. It's quick & easy.

sending php page through mail

P: 19
hi friends,i have a problem actually i want to send a php file through a mail.
for ex suppose i have a php page in which i m showing all the list of employee in my company.when we run this page in a explorer it is show ing the list of employee.now what i want i want to send this output page to aor hr team by mail.so tell me how can i do this.the page should look same with same output when the receiver check its mail.
Dec 11 '07 #1
Share this Question
Share on Google+
1 Reply


Atli
Expert 5K+
P: 5,058
Hi.

You could use the Output Control Functions to capture the output of your PHP file, perhaps in conjunction with the include function.

Or, if you want a more elegant solution, you could check out the CURL functions.
Dec 11 '07 #2

Post your reply

Sign in to post your reply or Sign up for a free account.