php-windows Digest 31 May 2007 10:45:04 -0000 Issue 3246
Topics (messages 28008 through 28014):
Re: How to use Windows Authentication (SSPI) with mssql_connect command ?
28008 by: Frank M. Kromann
Re: Configuring and send mails in winxp??
28009 by: Alejandro G.
28013 by: N.A.Morgan.bton.ac.uk
Firebug
28010 by: Gustav Wiberg
28011 by: Mikael Grön
28012 by: Gustav Wiberg
javascript :close()
28014 by: chandar
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 ---
use the mssql.secure_connection = On in your php.ini file and make sure the
IIS users has access to the database.
- Frank
> Hi,
>
> Does someone knows how to use the Windows Authentication (SSPI) with
> mssql_connect() ?
>
> Here's my trouble :
> I'm using an MS SQL Server 2000 and use the windows credential to
log...
> I can logon SSPI with ASP and Javascript using ADO...
> But it doesn't seems to work with PHP
>
> My Server is a Windows 2003 with MS SQL 2000 and IIS 6.0 and PHP
5.2.2.2
>
> I changed the following value to use the NT authentication ...
> mssql.secure_connection = On
> But when i try to connect supplying only the server... i get the
following
> error :
> Warning: mssql_connect() [function.mssql-connect]: message: Login failed
for
> user '(null)'. Reason: Not associated with a trusted SQL Server
connection.
> (severity 14) in C:\Inetpub\wwwroot\portail\Outils\functions.php on line
280
>
> And here's my authentication options in IIS ( see attachment )
>
> Could someone explain to me how to supply windows credential to PHP
using
> mssql_connect method
>
> Thanks
>
> Mat
>
>
>
> --
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
--- End Message ---
--- Begin Message ---
Neil, I'm doing this, I wrote some code with a basic use of the function
mail, the code itself its sending the mail (the function finish ok) but I
never receive the mail.
Here's my php.ini configuration the the mail function.
[mail function]
; For Win32 only.
SMTP = smtp.fibertel.com.ar
; for Win32 only
smtp_port = 25
sendmail_from= [EMAIL PROTECTED]
; For Unix only. You may supply arguments as well (default:
"sendmail -t -i").
sendmail_path = "c:\windows\system32\sendmail -t -i"
; Force the addition of the specified parameters to be passed as extra
parameters
; to the sendmail binary. These parameters will always replace the value of
; the 5th parameter to mail(), even in safe mode.
;mail.force_extra_parameters =
and here is the basic php code
<?
$body="<em>HTML</em> formatted <strong>PRUEBA</strong";
$headers = "From: [EMAIL PROTECTED] \r\n";
$headers.= "Content-Type: text/html; charset=ISO-8859-1 ";
$headers .= "MIME-Version: 1.0 ";
$mail_sent = mail("[EMAIL PROTECTED]", "An HTML Message", $body,
$headers);
echo $mail_sent ? "Mail sent" : "Mail failed";
?>
<[EMAIL PROTECTED]> escribió en el mensaje
news:[EMAIL PROTECTED]
If you are using a Windows version of PHP, the mail facility is
pre-compiled. All you need to do is set the PHP.INI directives below.
[mail function]
; For Win32 only.
SMTP = [EMAIL PROTECTED]
smtp_port = 25
; For Win32 only.
sendmail_from = [EMAIL PROTECTED]
Regards,
Neil
-----Original Message-----
From: Alejandro G. [mailto:[EMAIL PROTECTED]
Sent: 30 May 2007 01:19
To: [EMAIL PROTECTED]
Subject: [PHP-WIN] Configuring and send mails in winxp??
Hi Everybody! I need to configure the mail option in PHP because I want
to use the function mail( ) with the smtp of my ISP.
My machine is the server of an Intranet and the mail had to go to the
Internet.
This server is using Apache 2.x
How can I configure php to do that??
I read the documentation and I write some code but the mail is sent but
is going nowhere because I send to another mail direction (mine,
obviously) and it never arrive.
HELP!!!
--
PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit:
http://www.php.net/unsub.php
--- End Message ---
--- Begin Message ---
Do you have a firewall rule that prevents incoming email from this particular
host? I tried to ping the server smtp.fibertel.com.ar and could not receive a
reply. It may be our firewall is preventing a response from that server, or it
may be that the email provider has limited the access to web-only access.
Does your network allow outward transmission of email from your intranet
server? It may need to be set up in your ACLs or other wrappers.
Is the email being caught by spam filters?
Neil
-----Original Message-----
From: Alejandro G. [mailto:[EMAIL PROTECTED]
Sent: 31 May 2007 03:31
To: [EMAIL PROTECTED]
Subject: Re: [PHP-WIN] Configuring and send mails in winxp??
Neil, I'm doing this, I wrote some code with a basic use of the function mail,
the code itself its sending the mail (the function finish ok) but I never
receive the mail.
Here's my php.ini configuration the the mail function.
[mail function]
; For Win32 only.
SMTP = smtp.fibertel.com.ar
; for Win32 only
smtp_port = 25
sendmail_from= [EMAIL PROTECTED]
; For Unix only. You may supply arguments as well (default:
"sendmail -t -i").
sendmail_path = "c:\windows\system32\sendmail -t -i"
; Force the addition of the specified parameters to be passed as extra
parameters ; to the sendmail binary. These parameters will always replace the
value of ; the 5th parameter to mail(), even in safe mode.
;mail.force_extra_parameters =
and here is the basic php code
<?
$body="<em>HTML</em> formatted <strong>PRUEBA</strong";
$headers = "From: [EMAIL PROTECTED] \r\n"; $headers.= "Content-Type: text/html;
charset=ISO-8859-1 "; $headers .= "MIME-Version: 1.0 "; $mail_sent =
mail("[EMAIL PROTECTED]", "An HTML Message", $body, $headers); echo $mail_sent
? "Mail sent" : "Mail failed";
?>
<[EMAIL PROTECTED]> escribió en el mensaje news:[EMAIL PROTECTED]
If you are using a Windows version of PHP, the mail facility is pre-compiled.
All you need to do is set the PHP.INI directives below.
[mail function]
; For Win32 only.
SMTP = [EMAIL PROTECTED]
smtp_port = 25
; For Win32 only.
sendmail_from = [EMAIL PROTECTED]
Regards,
Neil
-----Original Message-----
From: Alejandro G. [mailto:[EMAIL PROTECTED]
Sent: 30 May 2007 01:19
To: [EMAIL PROTECTED]
Subject: [PHP-WIN] Configuring and send mails in winxp??
Hi Everybody! I need to configure the mail option in PHP because I want to use
the function mail( ) with the smtp of my ISP.
My machine is the server of an Intranet and the mail had to go to the Internet.
This server is using Apache 2.x
How can I configure php to do that??
I read the documentation and I write some code but the mail is sent but is
going nowhere because I send to another mail direction (mine,
obviously) and it never arrive.
HELP!!!
--
PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit:
http://www.php.net/unsub.php
--
PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit:
http://www.php.net/unsub.php
--- End Message ---
--- Begin Message ---
Hi there!
Trying to install Firebug, but nothing happens when I try to install firebug
(nothing happens when I click on the link Install Firebug 1.0) And the link
seems to some kind of .xpi!? - file. What is xpi?
(http://www.getfirebug.com/)
What am I doing wrong?
Best regards
/Gustav Wiberg
--- End Message ---
--- Begin Message ---
Firebug is a Firefox extension.
Start Firefox, Click Tools > Add-ons, open the folder on your machine in
which you've got the .xpi file, drag and drop it to the firefox Add-ons
window.
It's "Verktyg > Tillägg" in Swedish.
Mike
Gustav Wiberg skrev:
Hi there!
Trying to install Firebug, but nothing happens when I try to install firebug (nothing happens when I click on the link Install Firebug 1.0) And the link seems to some kind of .xpi!? - file. What is xpi?
(http://www.getfirebug.com/)
What am I doing wrong?
Best regards
/Gustav Wiberg
--- End Message ---
--- Begin Message ---
Hi
Aha. Thanx!
Best regards
/Gustav Wiberg
-----Original Message-----
From: Mikael Grön [mailto:[EMAIL PROTECTED]
Sent: Thursday, May 31, 2007 8:05 AM
To: 'php windows' ([EMAIL PROTECTED])
Subject: Re: [PHP-WIN] Firebug
Firebug is a Firefox extension.
Start Firefox, Click Tools > Add-ons, open the folder on your machine in
which you've got the .xpi file, drag and drop it to the firefox Add-ons
window.
It's "Verktyg > Tillägg" in Swedish.
Mike
Gustav Wiberg skrev:
> Hi there!
>
> Trying to install Firebug, but nothing happens when I try to install firebug
> (nothing happens when I click on the link Install Firebug 1.0) And the link
> seems to some kind of .xpi!? - file. What is xpi?
> (http://www.getfirebug.com/)
>
> What am I doing wrong?
>
> Best regards
> /Gustav Wiberg
>
>
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
--- End Message ---
--- Begin Message ---
Hi all,
I have a webpage with frames,i have provided a link and when the user
clicks the link i am closing the window.
For closing i am using javascript:window.close();
when i click the link in IE i get a command window telling you are going
to close this window.
Is there anyway to supress this alert?
thanks/Chandar
--- End Message ---