php-windows Digest 9 Aug 2002 03:56:34 -0000 Issue 1280

Topics (messages 15178 through 15186):

Re: Warning: MS SQL: Unable to connect to server
        15178 by: Carlos Andre Marques Moreira

pop3 communication
        15179 by: Ross Fleming
        15180 by: Vail, Warren
        15181 by: Ross Fleming
        15182 by: Ross Fleming
        15183 by: Manuel Lemos

Apache+ PHP + Netscape 7.0
        15184 by: Andrew V. Romero
        15185 by: Rasmus Lerdorf
        15186 by: Andrew V. Romero

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 ---
Have you instaled MDAC in the server that is running PHP? Or you could just
copy the file ntwdblib.dll to windows\system32 folder in the server that is
running PHP.

I'm running PHP as CGI and connecting to MSSQL trough mssql functions.

Carlos André Marques Moreira
SENAI-CE / CETAE
[EMAIL PROTECTED]


-----Original Message-----
From: Christoph Grottolo [mailto:[EMAIL PROTECTED]]
Sent: quarta-feira, 7 de agosto de 2002 17:14
To: [EMAIL PROTECTED]
Subject: Re: Warning: MS SQL: Unable to connect to server


Hi

Frast Andreas wrote:
> I have installed PHP 4.2.2, phpinfo() shows well, also the extensions
> PHP_MSSQL seems OK.
> Now then I would connect from a PHP-Script to the MSSQL-Database (DB
> is on a other server and goes well) following  Warning comes:
>
> MS SQL: Unable to connect to server: DBName in
> D:\Inetpub\Project1\test_sql.php on line 2

In the same situation, I can only connect with PHP running as ISAPI, PHP as
CGI only connects to MSSQL over ODBC or ADO.

Christoph

--- End Message ---
--- Begin Message ---
Hi folks,

Just mulling over the prospect of future projects, and I fancy writing a php
script that can check the details of my unread email in a pop3 mailbox (ie
sender, date and subject).  Does anyone have (or know where I can get)
functions that have been written to do this task?  From my knowledge of the
php functions, there isn't one that can do this automatically for me, which
leaves me (I'd imagine) with using sockets and actually negotiating with the
server directly.

So, anyone done this already?  Feasible?  Anyone see any problems?

Appreciate the input

Ross

--- End Message ---
--- Begin Message ---
check out;

http://www.php.net/manual/en/function.imap-open.php

once connected most functions re: headers and basic mail work (no folders or
mailboxes in POP3)

course, I'm sure there are things you can imagine that these functions can't
do,

Warren Vail
Tools, Metrics & Quality Processes


-----Original Message-----
From: Ross Fleming [mailto:[EMAIL PROTECTED]]
Sent: Thursday, August 08, 2002 3:25 PM
To: PHP Windows mailing list
Subject: [PHP-WIN] pop3 communication


Hi folks,

Just mulling over the prospect of future projects, and I fancy writing a php
script that can check the details of my unread email in a pop3 mailbox (ie
sender, date and subject).  Does anyone have (or know where I can get)
functions that have been written to do this task?  From my knowledge of the
php functions, there isn't one that can do this automatically for me, which
leaves me (I'd imagine) with using sockets and actually negotiating with the
server directly.

So, anyone done this already?  Feasible?  Anyone see any problems?

Appreciate the input

Ross


-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
--- End Message ---
--- Begin Message ---
Thanks a lot, didn't occur to me that the IMAP functions would work with POP
servers.

Appreciate the rapid response :)

Ross

> -----Original Message-----
> From: Vail, Warren [mailto:[EMAIL PROTECTED]]
> Sent: 08 August 2002 23:33
> To: 'Ross Fleming'; PHP Windows mailing list
> Subject: RE: [PHP-WIN] pop3 communication
>
>
> check out;
>
> http://www.php.net/manual/en/function.imap-open.php
>
> once connected most functions re: headers and basic mail work (no
> folders or
> mailboxes in POP3)
>
> course, I'm sure there are things you can imagine that these
> functions can't
> do,
>
> Warren Vail
> Tools, Metrics & Quality Processes
>
>
> -----Original Message-----
> From: Ross Fleming [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, August 08, 2002 3:25 PM
> To: PHP Windows mailing list
> Subject: [PHP-WIN] pop3 communication
>
>
> Hi folks,
>
> Just mulling over the prospect of future projects, and I fancy
> writing a php
> script that can check the details of my unread email in a pop3 mailbox (ie
> sender, date and subject).  Does anyone have (or know where I can get)
> functions that have been written to do this task?  From my
> knowledge of the
> php functions, there isn't one that can do this automatically for
> me, which
> leaves me (I'd imagine) with using sockets and actually
> negotiating with the
> server directly.
>
> So, anyone done this already?  Feasible?  Anyone see any problems?
>
> Appreciate the input
>
> Ross
>
>
> --
> 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 ---
Note to anyone else who wants to use the imap functions, you need to enable
the relevant extension in php.ini

Damn these sneaky attempts to hinder my progress! ;)

Ross

> -----Original Message-----
> From: Ross Fleming [mailto:[EMAIL PROTECTED]]
> Sent: 08 August 2002 23:38
> To: Vail, Warren; PHP Windows mailing list
> Subject: RE: [PHP-WIN] pop3 communication
>
>
> Thanks a lot, didn't occur to me that the IMAP functions would
> work with POP
> servers.
>
> Appreciate the rapid response :)
>
> Ross
>
> > -----Original Message-----
> > From: Vail, Warren [mailto:[EMAIL PROTECTED]]
> > Sent: 08 August 2002 23:33
> > To: 'Ross Fleming'; PHP Windows mailing list
> > Subject: RE: [PHP-WIN] pop3 communication
> >
> >
> > check out;
> >
> > http://www.php.net/manual/en/function.imap-open.php
> >
> > once connected most functions re: headers and basic mail work (no
> > folders or
> > mailboxes in POP3)
> >
> > course, I'm sure there are things you can imagine that these
> > functions can't
> > do,
> >
> > Warren Vail
> > Tools, Metrics & Quality Processes
> >
> >
> > -----Original Message-----
> > From: Ross Fleming [mailto:[EMAIL PROTECTED]]
> > Sent: Thursday, August 08, 2002 3:25 PM
> > To: PHP Windows mailing list
> > Subject: [PHP-WIN] pop3 communication
> >
> >
> > Hi folks,
> >
> > Just mulling over the prospect of future projects, and I fancy
> > writing a php
> > script that can check the details of my unread email in a pop3
> mailbox (ie
> > sender, date and subject).  Does anyone have (or know where I can get)
> > functions that have been written to do this task?  From my
> > knowledge of the
> > php functions, there isn't one that can do this automatically for
> > me, which
> > leaves me (I'd imagine) with using sockets and actually
> > negotiating with the
> > server directly.
> >
> > So, anyone done this already?  Feasible?  Anyone see any problems?
> >
> > Appreciate the input
> >
> > Ross
> >
> >
> > --
> > 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
> >
> >
> >
>
>
> --
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
>

--- End Message ---
--- Begin Message ---
Hello,

On 08/08/2002 07:25 PM, Ross Fleming wrote:
> Hi folks,
> 
> Just mulling over the prospect of future projects, and I fancy writing a php
> script that can check the details of my unread email in a pop3 mailbox (ie
> sender, date and subject).  Does anyone have (or know where I can get)
> functions that have been written to do this task?  From my knowledge of the
> php functions, there isn't one that can do this automatically for me, which
> leaves me (I'd imagine) with using sockets and actually negotiating with the
> server directly.
> 
> So, anyone done this already?  Feasible?  Anyone see any problems?

Sure, I use this class extensively. No need for special PHP extensions.

http://www.phpclasses.org/pop3class


-- 

Regards,
Manuel Lemos

--- End Message ---
--- Begin Message ---
I am currently running Apache 2.0.39 and PHP 4.2.2 (module version) 
under Win XP Home for offline testing of scripts.  I have found that if 
I try to load any php pages in netscape 7.0 (preview release version 1), 
it brings up a dialog box asking should it save the file or open it, 
opening it brings up a list of programs and it wants me to pick one to 
open the file with.

I have found that if I change the http.conf line from AddType 
application/x-httpd-php .php  to AddType application/x-httpd-php .php4, 
then netscape brings up the page, but it displays the PHP code instead 
of parsing it and displaying it like it should.  Everything appears to 
work fine if I use internet explorer to open my local php pages. 
Netscape opens php pages that are on the internet fine.  There are 
currently no applications that netscape is set to open php pages with.
This doesn't make sense to me, why would apache be serving the my local 
php pages correctly to internet explorer but not serving them correctly 
to netscape?

Anyone have any ideas that I can try?

-Andrew V. Romero

--- End Message ---
--- Begin Message ---
You are going through http:// not file:// right?

On Thu, 8 Aug 2002, Andrew V. Romero wrote:

> I am currently running Apache 2.0.39 and PHP 4.2.2 (module version)
> under Win XP Home for offline testing of scripts.  I have found that if
> I try to load any php pages in netscape 7.0 (preview release version 1),
> it brings up a dialog box asking should it save the file or open it,
> opening it brings up a list of programs and it wants me to pick one to
> open the file with.
>
> I have found that if I change the http.conf line from AddType
> application/x-httpd-php .php  to AddType application/x-httpd-php .php4,
> then netscape brings up the page, but it displays the PHP code instead
> of parsing it and displaying it like it should.  Everything appears to
> work fine if I use internet explorer to open my local php pages.
> Netscape opens php pages that are on the internet fine.  There are
> currently no applications that netscape is set to open php pages with.
> This doesn't make sense to me, why would apache be serving the my local
> php pages correctly to internet explorer but not serving them correctly
> to netscape?
>
> Anyone have any ideas that I can try?
>
> -Andrew V. Romero
>
>
> --
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>

--- End Message ---
--- Begin Message ---
Yes, http://localhost/test/test.php.  Netscape keeps thinking that I 
want to download the php file.

Rasmus Lerdorf wrote:
> You are going through http:// not file:// right?
> 
> On Thu, 8 Aug 2002, Andrew V. Romero wrote:
> 
> 
>>I am currently running Apache 2.0.39 and PHP 4.2.2 (module version)
>>under Win XP Home for offline testing of scripts.  I have found that if
>>I try to load any php pages in netscape 7.0 (preview release version 1),
>>it brings up a dialog box asking should it save the file or open it,
>>opening it brings up a list of programs and it wants me to pick one to
>>open the file with.
>>
>>I have found that if I change the http.conf line from AddType
>>application/x-httpd-php .php  to AddType application/x-httpd-php .php4,
>>then netscape brings up the page, but it displays the PHP code instead
>>of parsing it and displaying it like it should.  Everything appears to
>>work fine if I use internet explorer to open my local php pages.
>>Netscape opens php pages that are on the internet fine.  There are
>>currently no applications that netscape is set to open php pages with.
>>This doesn't make sense to me, why would apache be serving the my local
>>php pages correctly to internet explorer but not serving them correctly
>>to netscape?
>>
>>Anyone have any ideas that I can try?
>>
>>-Andrew V. Romero
>>
>>
>>--
>>PHP Windows Mailing List (http://www.php.net/)
>>To unsubscribe, visit: http://www.php.net/unsub.php
>>
> 
> 

--- End Message ---

Reply via email to