Jump to content

PHP.INI - Mail Function


mikecicc

Recommended Posts

k

I've been trying to utilize PHP's send mail function, problem is i need to change the PHP.ini file in order to swicthed around the default values of  SMTP_Port and SMTP Server, By default it's set to 'localhost' i need it to use my mail server; mail.whatever.com. ive been making the changes in the PHP.ini file under my c: on my web serv...don't see the php.ini file anywhere else, ive restarted my IIS numerous times, ive tried a bunch of things, any ideas? possibly an alternative route such as a PHP script which will chaneg these values fro me ? thanks
-mike

btw. when i do a phpinfo();
it thinks the config file (php.ini) is in c:\WINNt (which its not)...and it still dont recgnize the changes ive made to php.ini, although when i pull up the .ini file i see the changes...its as if i need to recompile php! .im lost please help :-[
Link to comment
Share on other sites

It was saying PHP.INI was in C:\WINNT on my local web server. which is wasn't. infact it was located : C:\PHP\php.ini     

but in any case, i changed the configuration of PHP from ASAPI module to a CGI, now PHP properly reads from php.ini located in my c:\PHP directory, which is great, now im experiecing another problem;

when i attempt to open; contact.php for example, or a majority of my .php documents, i get prompted to enter a login / password.

i login in as administrator and it takes me to the document just fine, everything works splended, but how do i turn of the CGI Authencation???????

im running an IIS server on windows 2000 server =[....although id like to go to apche , not everyone agrees here
Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.