php-windows Digest 13 Mar 2002 22:32:55 -0000 Issue 1045
Topics (messages 12609 through 12615):
Problems with mail()
12609 by: Alberto. Sartori
12612 by: Adolfo Meneses
Re: Mssql trusted connections ?
12610 by: Paco Ortiz
How do you install PHP on Win98 with PWS?
12611 by: Keith Hughes
12613 by: Nicole Amashta
12614 by: Nicole Amashta
PHPTriad 2.11 (MySQL) connect problem.
12615 by: Peter Ruan
Administrivia:
To subscribe to the digest, e-mail:
[EMAIL PROTECTED]
To unsubscribe from the digest, e-mail:
[EMAIL PROTECTED]
To post to the list, e-mail:
[EMAIL PROTECTED]
----------------------------------------------------------------------
--- Begin Message ---
Hi guys. I've a big problem using mail() function. My system run under Win2k SP2
italian, with IIS 5 and PHP 4.1.2 (although I got this prob since 4.1.0). This is my
php.ini
[mail function]
; For Win32 only.
SMTP = localhost
; For Win32 only.
sendmail_from = [EMAIL PROTECTED]
I've tried to replace SMTP value with 127.0.0.1 or with my subnet IP....nothing to do!
It appears "Warning: Server Error in c:\inetpub\wwwroot\esempi\email.php on line 19"
This is my line 19:
mail("[EMAIL PROTECTED]","hi lamer","all ok?");
It could be a bug? if I run this code under a english version of Win2k all works fine.
My SMTP server in IIS is correctly configured, I'm sure about this!
Best regards, alb
--- End Message ---
--- Begin Message ---
Welcome to the club!
I have the same problem, try to put your ISP smtp server.
or install the smtp server that come with iis5.
i still dont have a solution to me.
Adolfo
----- Original Message -----
From: "Alberto. Sartori" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, March 13, 2002 6:40 AM
Subject: [PHP-WIN] Problems with mail()
> Hi guys. I've a big problem using mail() function. My system run under
Win2k SP2 italian, with IIS 5 and PHP 4.1.2 (although I got this prob since
4.1.0). This is my php.ini
>
> [mail function]
> ; For Win32 only.
> SMTP = localhost
>
> ; For Win32 only.
> sendmail_from = [EMAIL PROTECTED]
>
> I've tried to replace SMTP value with 127.0.0.1 or with my subnet
IP....nothing to do!
> It appears "Warning: Server Error in c:\inetpub\wwwroot\esempi\email.php
on line 19"
> This is my line 19:
>
> mail("[EMAIL PROTECTED]","hi lamer","all ok?");
>
> It could be a bug? if I run this code under a english version of Win2k all
works fine. My SMTP server in IIS is correctly configured, I'm sure about
this!
> Best regards, alb
>
>
> --
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
--- End Message ---
--- Begin Message ---
Hi,
>How does one use trusted connections with mssql_connect()?
mmm.... it seems it's not currently implemented in php_mssql.
anyway, in order to use it you would need that your webserver
service runs under a WinNT acount trusted by the SQL server.
¿can you afford that? (or maybe you need it under PHP.EXE CLI
mode, anyway the same applies).
What you propose can be put into php_mssql (just using
DBSETLSECURE from the DB-lib API),
but maybe you need to propose it first to the module maintainer,
Frank Kromman (frank_at_frontbase_dot_com)
I recommend you to use plain simple SQL Server logins, it should
be enough for everyone.
Greetings,
F.J.Ortiz
3/12/02 3:05:38 AM, "Kearns, Terry" <[EMAIL PROTECTED]> escribió:
>How does one use trusted connections with mssql_connect()?
>
>Also, the manual says something about an "interfaces" file.
>Where do I find this? Where is this interfaces file documented?
>
>--
>PHP Windows Mailing List (http://www.php.net/)
>To unsubscribe, visit: http://www.php.net/unsub.php
>
>
___________________________________
Francisco Javier Ortiz Torre
ComuNET,S.A.
mailto:[EMAIL PROTECTED]
ComuNET, S.A
Gral. Concha 39,6º
48012 Bilbao España
Tel: +34 944 700 101
Fax: +34 944 700 185
http://www.comunet.es
___________________________________
--- End Message ---
--- Begin Message ---
Hi,
I'm trying to get PHP (4.1.2 I think....the new one) working on my Windows
98 PC, using PWS (don't know what version).
I've downloaded the "install" CGI script from php.net, which says it does it
all for you, and I've also had a quick play round with the .ini files (moved
different ones to the c:\windows dir).
I still can't seem to get it working, and when I've published HTML files
with PHP script in them, it just displays a blank page.
The only thing I'm trying to do at the moment is getting it to say "hello
world", but later on I'll be using it to link with MySQL.
Can anybody tell me how to get this working.
Thanks
Keith
--- End Message ---
--- Begin Message ---
You need to make sure you have read and execute scripts enabled and also
make sure you are web sharing the directory that the scripts are running out
of.
Nicole
www.aeontrek.com
"Keith Hughes" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Hi,
> I'm trying to get PHP (4.1.2 I think....the new one) working on my Windows
> 98 PC, using PWS (don't know what version).
> I've downloaded the "install" CGI script from php.net, which says it does
it
> all for you, and I've also had a quick play round with the .ini files
(moved
> different ones to the c:\windows dir).
> I still can't seem to get it working, and when I've published HTML files
> with PHP script in them, it just displays a blank page.
> The only thing I'm trying to do at the moment is getting it to say "hello
> world", but later on I'll be using it to link with MySQL.
> Can anybody tell me how to get this working.
> Thanks
>
> Keith
>
>
--- End Message ---
--- Begin Message ---
and make sure PWS is running ...
"Nicole Amashta" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> You need to make sure you have read and execute scripts enabled and also
> make sure you are web sharing the directory that the scripts are running
out
> of.
>
> Nicole
> www.aeontrek.com
>
> "Keith Hughes" <[EMAIL PROTECTED]> wrote in message
> [EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> > Hi,
> > I'm trying to get PHP (4.1.2 I think....the new one) working on my
Windows
> > 98 PC, using PWS (don't know what version).
> > I've downloaded the "install" CGI script from php.net, which says it
does
> it
> > all for you, and I've also had a quick play round with the .ini files
> (moved
> > different ones to the c:\windows dir).
> > I still can't seem to get it working, and when I've published HTML files
> > with PHP script in them, it just displays a blank page.
> > The only thing I'm trying to do at the moment is getting it to say
"hello
> > world", but later on I'll be using it to link with MySQL.
> > Can anybody tell me how to get this working.
> > Thanks
> >
> > Keith
> >
> >
>
>
--- End Message ---
--- Begin Message ---
Hi,
I have installed PHPTriad 2.1.1 under Windows XP. When I run
phpmyAdmin I got this error.
Warning: MySQL Connection Failed: Can't connect to MySQL server on
'localhost' (10061) in C:\apache\htdocs\phpmyadmin\lib.inc.php on line
255
Error
It used to work under Win2K. What's the work around?
Thanks,
Peter
--- End Message ---