Re: [PHP] need some ideas here...

2001-05-16 Thread Christian Dechery
At 09:27 16/5/2001 +0100, James Holloway wrote: >Hi Christian, > >I have an account with f2s.com that I use for sampling scripts with - I set >up a mailform yesterday after reading this, using mail() to send the email >to myself. It got here - albeit 6am today (I sent it yesterday >lunchtime)

Re: [PHP] need some ideas here...

2001-05-16 Thread James Holloway
Hi Christian, I have an account with f2s.com that I use for sampling scripts with - I set up a mailform yesterday after reading this, using mail() to send the email to myself. It got here - albeit 6am today (I sent it yesterday lunchtime) Perhaps you're using the mail() function incorrectly

Re: [PHP] need some ideas here...

2001-05-15 Thread Christian Dechery
At 22:40 14/5/2001 -0700, Ethan Schroeder wrote: >I don't know how you can find sendmail on that system if you don't have >telnet access. Try writing a script that does an exec("which sendmail") and >see if it tells you. I doubt it will, though. Otherwise try different >sendmail locations: /usr

Re: [PHP] need some ideas here...

2001-05-15 Thread Christian Dechery
At 20:32 14/5/2001 -0500, Ben Gollmer wrote: >If you have an account on a remote host, you can always do something like >this: > > include("http://www.remotehost.com/~myaccount/mailfunction.inc";); > > mymail($to, $mailbody); >?> > >where mailfunction.inc has the mymail function d

Re: [PHP] need some ideas here...

2001-05-14 Thread Ben Gollmer
On Monday, May 14, 2001, at 10:00 PM, Chris Adams wrote: > On 14 May 2001 19:04:43 -0700, Ben Gollmer <[EMAIL PROTECTED]> wrote: >> If you have an account on a remote host, you can always do something >> like this: >> >> > include("http://www.remotehost.com/~myaccount/mailfunction.inc";); >>

Re: [PHP] need some ideas here...

2001-05-14 Thread Ethan Schroeder
ED]> Sent: Monday, May 14, 2001 10:40 PM Subject: Re: [PHP] need some ideas here... > I don't know how you can find sendmail on that system if you don't have > telnet access. Try writing a script that does an exec("which sendmail") and > see if it tells you. I do

Re: [PHP] need some ideas here...

2001-05-14 Thread Chris Adams
On 14 May 2001 19:04:43 -0700, Ben Gollmer <[EMAIL PROTECTED]> wrote: > If you have an account on a remote host, you can always do something > like this: > > include("http://www.remotehost.com/~myaccount/mailfunction.inc";); > > mymail($to, $mailbody); > ?> > > where mailfunction.i

Re: [PHP] need some ideas here...

2001-05-14 Thread Ethan Schroeder
send mail off properly. Ethan Schroeder - Original Message - From: "Christian Dechery" <[EMAIL PROTECTED]> To: "Ethan Schroeder" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Monday, May 14, 2001 6:30 PM Subject: Re: [PHP] need some ideas here... > wh

Re: [PHP] need some ideas here...

2001-05-14 Thread Ben Gollmer
If you have an account on a remote host, you can always do something like this: 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 mai

Re: [PHP] need some ideas here...

2001-05-14 Thread Christian Dechery
ut this in an .htaccess file: php_value >sendmail_path '/path/to/sendmail -t' > >Ethan Schroeder > >- Original Message - >From: "Christian Dechery" <[EMAIL PROTECTED]> >To: <[EMAIL PROTECTED]> >Sent: Monday, May 14, 2001 7:04 PM >Subject

Re: [PHP] need some ideas here...

2001-05-14 Thread Joe Conway
> My free-web-hosting (www.f2s.com) does not allow PHP to send emails... I've > tried everything... the mail() function, my alternate function which calls > popen("/usr/lib/sendmail -t") and even a script.cgi with '#!/usr/bin/php' > and all that stuff... > > the mail simply won't go an mail() alwa

Re: [PHP] need some ideas here...

2001-05-14 Thread Chris Adams
On 14 May 2001 16:59:48 -0700, Christian Dechery <[EMAIL PROTECTED]> wrote: > My free-web-hosting (www.f2s.com) does not allow PHP to send emails... I've > tried everything... the mail() function, my alternate function which calls > popen("/usr/lib/sendmail -t") and even a script.cgi with '#!/us

Re: [PHP] need some ideas here...

2001-05-14 Thread Ethan Schroeder
Find where there sendmail is and put this in an .htaccess file: php_value sendmail_path '/path/to/sendmail -t' Ethan Schroeder - Original Message - From: "Christian Dechery" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, May 14, 2001 7:04 P

[PHP] need some ideas here...

2001-05-14 Thread Christian Dechery
My free-web-hosting (www.f2s.com) does not allow PHP to send emails... I've tried everything... the mail() function, my alternate function which calls popen("/usr/lib/sendmail -t") and even a script.cgi with '#!/usr/bin/php' and all that stuff... the mail simply won't go an mail() always retur