PHP Script

 
Post new topic   Reply to topic    Aprelium Forum Index -> PHP
View previous topic :: View next topic  
Author Message
ufb
-


Joined: 23 Jan 2004
Posts: 6

PostPosted: Fri Jan 23, 2004 4:03 pm    Post subject: PHP Script Reply with quote

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 View user's profile Send private message
Moxxnixx
-


Joined: 21 Jun 2003
Posts: 1226
Location: Florida

PostPosted: Fri Jan 23, 2004 5:30 pm    Post subject: Reply with quote

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 View user's profile Send private message Visit poster's website
ufb
-


Joined: 23 Jan 2004
Posts: 6

PostPosted: Fri Jan 23, 2004 7:12 pm    Post subject: Reply with quote

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 View user's profile Send private message
Anonymoose
-


Joined: 09 Sep 2003
Posts: 2192

PostPosted: Fri Jan 23, 2004 8:16 pm    Post subject: Reply with quote

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 View user's profile Send private message
ufb
-


Joined: 23 Jan 2004
Posts: 6

PostPosted: Fri Jan 23, 2004 8:55 pm    Post subject: Reply with quote

Im not using yahoo.
_________________
soccer362001
Back to top View user's profile Send private message
aprelium
-


Joined: 22 Mar 2002
Posts: 6800

PostPosted: Sun Jan 25, 2004 4:52 pm    Post subject: Reply with quote

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 View user's profile Send private message Send e-mail
Anonymoose
-


Joined: 09 Sep 2003
Posts: 2192

PostPosted: Sun Jan 25, 2004 6:06 pm    Post subject: Reply with quote

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 View user's profile Send private message
TRUSTAbyss
-


Joined: 29 Oct 2003
Posts: 3752
Location: USA, GA

PostPosted: Sun Jan 25, 2004 6:09 pm    Post subject: Reply with quote

All where saying is , get a new SMTP Service , use
http://www.hotpop.com , they have good SMTP
service that I advertise from one of my tutorials

http://os17fan.cjb.net
Back to top View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    Aprelium Forum Index -> PHP All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB phpBB Group