Re: need some ideas here...
| From: | Ben Gollmer | Date: | Tue, 15 May 2001 05:42:55 +0000 |
| Subject: | Re: need some ideas here... | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-52807@lists.php.net to get a copy of this message | ||
On Monday, May 14, 2001, at 10:00 PM, Chris Adams wrote:
On 14 May 2001 19:04:43 -0700, Ben Gollmer <ben@jatosoft.com> wrote:You are right - brain fart. Whomever suggested GETing or POSTing the mail text to a remote script earlier was correct. : ) BenIf you have an account on a remote host, you can always do something like this: <?php include("http://www.remotehost.com/~myaccount/mailfunction.inc"); mymail($to, $mailbody); ?> where mailfunction.inc has the mymail function defined to just take your parameters and stuff them into the standard mail().Wouldn't this still run the code on the local server with the dysfunctional mail() command?