IIS

Ye' old general discussion board. Basically, for everything that isn't covered elsewhere. Come here to shoot the breeze, shoot your mouth off, or whatever suits your fancy.
This forum is not for asking programming related questions.

Moderator: General Moderators

Straterra
Forum Regular
Posts: 527
Joined: Mon Nov 24, 2003 8:46 am
Location: Indianapolis, Indiana
Contact:

IIS

Post by Straterra »

You guys wouldn't happen to know if ISS is compatable with Win98SE, do ya?
kettle_drum
DevNet Resident
Posts: 1150
Joined: Sun Jul 20, 2003 9:25 pm
Location: West Yorkshire, England

Post by kettle_drum »

Im guessing you mean IIS, and if so yes. You should be able to find it on your win 98 CD.
User avatar
twigletmac
Her Royal Site Adminness
Posts: 5371
Joined: Tue Apr 23, 2002 2:21 am
Location: Essex, UK

Post by twigletmac »

I thought only PWS came with Windows 98?

Mac
User avatar
JayBird
Admin
Posts: 4524
Joined: Wed Aug 13, 2003 7:02 am
Location: York, UK
Contact:

Post by JayBird »

Yeah PWS only for win98SE.

Mark
Straterra
Forum Regular
Posts: 527
Joined: Mon Nov 24, 2003 8:46 am
Location: Indianapolis, Indiana
Contact:

Post by Straterra »

So..i will have to download it, correct?
User avatar
twigletmac
Her Royal Site Adminness
Posts: 5371
Joined: Tue Apr 23, 2002 2:21 am
Location: Essex, UK

Post by twigletmac »

You can't install IIS on Windows 98 at all AFAIK and that also seems to be what MS say:
Cannot Install IIS 5.0 on Windows 95, Windows 98, or Windows NT 4.0
You can install PWS from your Windows 98 disk, or you can forget about PWS and IIS and just use Apache.

Mac
Straterra
Forum Regular
Posts: 527
Joined: Mon Nov 24, 2003 8:46 am
Location: Indianapolis, Indiana
Contact:

Post by Straterra »

Well, I am using Apache..the whole reason I wanted to use IIS is because it has a built in mail server, right?
User avatar
twigletmac
Her Royal Site Adminness
Posts: 5371
Joined: Tue Apr 23, 2002 2:21 am
Location: Essex, UK

Post by twigletmac »

Err, not a very good one. Do you need your own mailserver? When I'm developing at home I can use my ISP's SMTP address to send mail via PHP.

Mac
Straterra
Forum Regular
Posts: 527
Joined: Mon Nov 24, 2003 8:46 am
Location: Indianapolis, Indiana
Contact:

Post by Straterra »

Yes, I do need my own mailserver. I downloaded one, PostCast, and I am installing it right now...How did you use your ISP's server?
User avatar
twigletmac
Her Royal Site Adminness
Posts: 5371
Joined: Tue Apr 23, 2002 2:21 am
Location: Essex, UK

Post by twigletmac »

I use the same SMTP address that I do when setting up an email account. It works fine.

Mac
Straterra
Forum Regular
Posts: 527
Joined: Mon Nov 24, 2003 8:46 am
Location: Indianapolis, Indiana
Contact:

Post by Straterra »

But, with my ISP, I have to log in to send and view email..how would I have PHP login?
User avatar
twigletmac
Her Royal Site Adminness
Posts: 5371
Joined: Tue Apr 23, 2002 2:21 am
Location: Essex, UK

Post by twigletmac »

There's two different types of servers that you connect to when you do your e-mail, there is the POP3 or IMAP server where your e-mail is stored, this normally requires you to login in to it so that you can see that e-mail. However, when you send an e-mail you do not use the POP3 or IMAP server, you use the SMTP server which, in the vast majority of cases for ISPs does not require authentication in the same way. If you want to send e-mail from PHP you only want to use the SMTP server and probably won't have to authenticate yourself (above and beyond being connected to your ISP's network).

Check your account settings for your e-mail, look for the SMTP server address (outgoing server). Put that in as the SMTP address in your php.ini and run a simple mail script to see if it works.

Mac
Straterra
Forum Regular
Posts: 527
Joined: Mon Nov 24, 2003 8:46 am
Location: Indianapolis, Indiana
Contact:

Post by Straterra »

I found that my ISP's email adress is smtp.earthlink.net..

I get this error when I try to send an email

Warning: mail(): Failed to connect to mailserver at "localhost" port 25, verify your "SMTP" and "smtp_port" setting in php.ini or use ini_set() in c:\ftp\users\straterra\cgi-bin\mail.php on line 2

And I have these lines filled out in my php.ini

[mail function]
; For Win32 only.
SMTP=smtp.earthlink.net; for Win32 only

; For Win32 only.
sendmail_from=straterra@eckclan.sytes.net; for Win32 only


I wonder..why does it say localhost when I told it to connect to earthlink's smtp server?
User avatar
twigletmac
Her Royal Site Adminness
Posts: 5371
Joined: Tue Apr 23, 2002 2:21 am
Location: Essex, UK

Post by twigletmac »

Hmm, are you sure you're editing the right php.ini, that's the first thing to check if you are getting an error message that doesn't correspond to your php.ini settings. Do a quick check by running:

Code: Select all

<?php phpinfo(); ?>
and see where PHP thinks it's getting its config information from.

Mac
Straterra
Forum Regular
Posts: 527
Joined: Mon Nov 24, 2003 8:46 am
Location: Indianapolis, Indiana
Contact:

Post by Straterra »

I had to restart my webserver for the changes to take place. It says it sent correctly, now to check the email addy I sent the message to...


Whoo hoo! It worked! thanks! :)
Post Reply