View previous topic :: View next topic |
Author |
Message |
ufb -
Joined: 23 Jan 2004 Posts: 6
|
Posted: Fri Jan 23, 2004 4:03 pm Post subject: PHP Script |
|
|
I have a PHP script that works on another server but wont work on the Abyss web server. The script can be found at www.ufb.compactvision.net/contact.php _________________ soccer362001 |
|
Back to top |
|
 |
Moxxnixx -
Joined: 21 Jun 2003 Posts: 1226 Location: Florida
|
Posted: Fri Jan 23, 2004 5:30 pm Post subject: |
|
|
ufb, welcome to the forums. :)
What exactly do you mean by "it won't work"?
Are you getting errors? a blank page?
Did you configure PHP according to the instructions on this page:
http://www.aprelium.com/abyssws/php.html ? |
|
Back to top |
|
 |
ufb -
Joined: 23 Jan 2004 Posts: 6
|
Posted: Fri Jan 23, 2004 7:12 pm Post subject: |
|
|
i get these errors
Warning: mail(): Failed to connect to mailserver at "yahoo" port 25, verify your "SMTP" and "smtp_port" setting in php.ini or use ini_set() in C:\Program Files\Abyss Web Server\htdocs\mailer.php on line 55
Warning: Cannot modify header information - headers already sent by (output started at C:\Program Files\Abyss Web Server\htdocs\mailer.php:55) in C:\Program Files\Abyss Web Server\htdocs\mailer.php on line 57 _________________ soccer362001 |
|
Back to top |
|
 |
Anonymoose -
Joined: 09 Sep 2003 Posts: 2192
|
Posted: Fri Jan 23, 2004 8:16 pm Post subject: |
|
|
I was under the impression Yahoo doesn't allow SMTP mail apart from paid accounts - you're not trying to use it on a free one are you ? |
|
Back to top |
|
 |
ufb -
Joined: 23 Jan 2004 Posts: 6
|
Posted: Fri Jan 23, 2004 8:55 pm Post subject: |
|
|
Im not using yahoo. _________________ soccer362001 |
|
Back to top |
|
 |
aprelium -
Joined: 22 Mar 2002 Posts: 6800
|
Posted: Sun Jan 25, 2004 4:52 pm Post subject: |
|
|
ufb,
The script doesn't work because the mail server settings in the script and/or PHP re wrong. You must set the SMTP server setting in the script and/or php.ini to the full name of the outgoing mail server you use to send mails in Outlook (or your mail program). _________________ Support Team
Aprelium - http://www.aprelium.com |
|
Back to top |
|
 |
Anonymoose -
Joined: 09 Sep 2003 Posts: 2192
|
Posted: Sun Jan 25, 2004 6:06 pm Post subject: |
|
|
ufb wrote: | i get these errors
Warning: mail(): Failed to connect to mailserver at "yahoo" port 25, verify your "SMTP" and "smtp_port" setting in php.ini or use ini_set() in C:\Program Files\Abyss Web Server\htdocs\mailer.php on line 55
|
ufb wrote: | Im not using yahoo. |
:? |
|
Back to top |
|
 |
TRUSTAbyss -
Joined: 29 Oct 2003 Posts: 3752 Location: USA, GA
|
|
Back to top |
|
 |
|