php-windows Digest 30 Apr 2001 02:25:20 -0000 Issue 571

Topics (messages 7124 through 7139):

PHP, network shares, and IIS5
        7124 by: Paul Smith
        7125 by: OoCobra97.aol.com
        7126 by: Paul Smith

STMP
        7127 by: Manesh
        7128 by: Craig Morrison
        7130 by: Manesh

Web Sites Source
        7129 by: Sean

Re: SMTP
        7131 by: Tomasz Abramowicz
        7132 by: Manesh
        7133 by: Tomasz Abramowicz
        7135 by: Manesh
        7137 by: Tomasz Abramowicz

Compiled PHP 4.06 & ISAPI
        7134 by: Paul Smith
        7139 by: Joe Brown

PHP
        7136 by: Manesh
        7138 by: Tomasz Abramowicz

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]


----------------------------------------------------------------------


Hi,

I've been using PHP4 and IIS5 on Win2k and IIS5 for ages now.  I now need to
host some of my files on a network share instead of on a local drive.  All
that should need changing is the location on the files on IIS5, which is
\\computername\share\folder.  All the non-php sites still work OK after I do
this, but the php sites with the PHP4 isapi module just report

Warning: Failed opening '\\sharename\web sites\mysite\default.php' for
inclusion (include_path='') in Unknown on line 0   

The files are still there and if I change back to the local drive the php
module works fine.  I's pretty sure it has nothing to do with security as
the share just points to the same files used on the local disk and all the
permissions are the same.  Anyone have any idea if PHP isapi can handle
files on a network share?  

Thanks.




Have you tried mapping the drive, then accessing them like that?

Hi,

I've been using PHP4 and IIS5 on Win2k and IIS5 for ages now.  I now need to
host some of my files on a network share instead of on a local drive.  All
that should need changing is the location on the files on IIS5, which is
\\computername\share\folder.  All the non-php sites still work OK after I do
this, but the php sites with the PHP4 isapi module just report

Warning: Failed opening '\\sharename\web sites\mysite\default.php' for
inclusion (include_path='') in Unknown on line 0   

The files are still there and if I change back to the local drive the php
module works fine.  I's pretty sure it has nothing to do with security as
the share just points to the same files used on the local disk and all the
permissions are the same.  Anyone have any idea if PHP isapi can handle
files on a network share?  

Thanks.




Not yet, but I want to stay with the \\computername\share
<file://\\computername\share>  format if I can becuase then I can run the
same commands on any server without worrying about drive letters and drive.
Drive mappings are also made for the user, not the system which will cuase
me problems.
 
 -----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: 29 April 2001 17:43
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: Re: [PHP-WIN] PHP, network shares, and IIS5



Have you tried mapping the drive, then accessing them like that? 

Hi, 

I've been using PHP4 and IIS5 on Win2k and IIS5 for ages now.  I now need to

host some of my files on a network share instead of on a local drive.  All 
that should need changing is the location on the files on IIS5, which is 
\\computername\share\folder.  All the non-php sites still work OK after I do

this, but the php sites with the PHP4 isapi module just report 

Warning: Failed opening '\\sharename\web sites\mysite\default.php' for 
inclusion (include_path='') in Unknown on line 0    

The files are still there and if I change back to the local drive the php 
module works fine.  I's pretty sure it has nothing to do with security as 
the share just points to the same files used on the local disk and all the 
permissions are the same.  Anyone have any idea if PHP isapi can handle 
files on a network share?   

Thanks. 





Can somoen tell me EXACTLY how to set up a STMP server? i am IIS5 on win2k

and i need to now exactly what i put it my PHP.ini





Nice and simple..

[mail function]
SMTP    =               mail.smtp.server        ;for win32 only
sendmail_from   =       [EMAIL PROTECTED]     ;for win32 only


Manesh wrote:
> 
> Can somoen tell me EXACTLY how to set up a STMP server? i am IIS5 on win2k
> 
> and i need to now exactly what i put it my PHP.ini
> 
> --
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]

-- 

Craig Morrison
  http://www.2cah.com/
EzMTS - A _free_ Win32 EMail Server
  http://www.ezmts.org/
  Mirrors: http://www.ezmts.org/mirrors.php
  Anonymous FTP at ftp://2cah.com




how do u now what my STMP server is?

-----Original Message-----
From: Craig Morrison [mailto:[EMAIL PROTECTED]]
Sent: Sunday, April 29, 2001 1:42 PM
To: Manesh
Cc: [EMAIL PROTECTED]
Subject: Re: [PHP-WIN] STMP



Nice and simple..

[mail function]
SMTP    =               mail.smtp.server        ;for win32 only
sendmail_from   =       [EMAIL PROTECTED]     ;for win32 only


Manesh wrote:
>
> Can somoen tell me EXACTLY how to set up a STMP server? i am IIS5 on win2k
>
> and i need to now exactly what i put it my PHP.ini
>
> --
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]

--

Craig Morrison
  http://www.2cah.com/
EzMTS - A _free_ Win32 EMail Server
  http://www.ezmts.org/
  Mirrors: http://www.ezmts.org/mirrors.php
  Anonymous FTP at ftp://2cah.com

--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]





Hi there
  Are there any nice php sites with the source code
 that can be used as e commerce or forums? 
Or any other interesting or useful applications?
Cheers

Xon




your meant to know that, use the same one your useing to send your emails,
which is under:
(and i am guessing from your email headers your using outlook)

Tools > Accounts > Properties > Servers > Outgoing Mail SMTP




> how do u now what my STMP server is?
>
> -----Original Message-----
> From: Craig Morrison [mailto:[EMAIL PROTECTED]]
> Sent: Sunday, April 29, 2001 1:42 PM
> To: Manesh
> Cc: [EMAIL PROTECTED]
> Subject: Re: [PHP-WIN] STMP
>
>
>
> Nice and simple..
>
> [mail function]
> SMTP = mail.smtp.server ;for win32 only
> sendmail_from = [EMAIL PROTECTED] ;for win32 only
>
>
> Manesh wrote:
> >
> > Can somoen tell me EXACTLY how to set up a STMP server? i am IIS5 on
win2k
> >
> > and i need to now exactly what i put it my PHP.ini
> >
> > --
> > PHP Windows Mailing List (http://www.php.net/)
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> > To contact the list administrators, e-mail: [EMAIL PROTECTED]
>
> --
>
> Craig Morrison
>   http://www.2cah.com/
> EzMTS - A _free_ Win32 EMail Server
>   http://www.ezmts.org/
>   Mirrors: http://www.ezmts.org/mirrors.php
>   Anonymous FTP at ftp://2cah.com
>
> --
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
>
>
> --
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
>





i use pop3

-----Original Message-----
From: Tomasz Abramowicz [mailto:[EMAIL PROTECTED]]
Sent: Sunday, April 29, 2001 4:20 PM
To: Manesh
Cc: [EMAIL PROTECTED]
Subject: Re: [PHP-WIN] SMTP


your meant to know that, use the same one your useing to send your emails,
which is under:
(and i am guessing from your email headers your using outlook)

Tools > Accounts > Properties > Servers > Outgoing Mail SMTP




> how do u now what my STMP server is?
>
> -----Original Message-----
> From: Craig Morrison [mailto:[EMAIL PROTECTED]]
> Sent: Sunday, April 29, 2001 1:42 PM
> To: Manesh
> Cc: [EMAIL PROTECTED]
> Subject: Re: [PHP-WIN] STMP
>
>
>
> Nice and simple..
>
> [mail function]
> SMTP = mail.smtp.server ;for win32 only
> sendmail_from = [EMAIL PROTECTED] ;for win32 only
>
>
> Manesh wrote:
> >
> > Can somoen tell me EXACTLY how to set up a STMP server? i am IIS5 on
win2k
> >
> > and i need to now exactly what i put it my PHP.ini
> >
> > --
> > PHP Windows Mailing List (http://www.php.net/)
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> > To contact the list administrators, e-mail: [EMAIL PROTECTED]
>
> --
>
> Craig Morrison
>   http://www.2cah.com/
> EzMTS - A _free_ Win32 EMail Server
>   http://www.ezmts.org/
>   Mirrors: http://www.ezmts.org/mirrors.php
>   Anonymous FTP at ftp://2cah.com
>
> --
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
>
>
> --
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
>





of course you do. most of us do. but you use that only to recieve
emails, you use SMTP (Simple Mail Trasfer Protocol) to send it.

> i use pop3
>
> your meant to know that, use the same one your useing to send your emails,
> which is under:
> (and i am guessing from your email headers your using outlook)
>
> Tools > Accounts > Properties > Servers > Outgoing Mail SMTP
>
>
>
>
> > how do u now what my STMP server is?
> >
> > -----Original Message-----
> > From: Craig Morrison [mailto:[EMAIL PROTECTED]]
> > Sent: Sunday, April 29, 2001 1:42 PM
> > To: Manesh
> > Cc: [EMAIL PROTECTED]
> > Subject: Re: [PHP-WIN] STMP
> >
> >
> >
> > Nice and simple..
> >
> > [mail function]
> > SMTP = mail.smtp.server ;for win32 only
> > sendmail_from = [EMAIL PROTECTED] ;for win32 only
> >
> >
> > Manesh wrote:
> > >
> > > Can somoen tell me EXACTLY how to set up a STMP server? i am IIS5 on
> win2k
> > >
> > > and i need to now exactly what i put it my PHP.ini
> > >
> > > --
> > > PHP Windows Mailing List (http://www.php.net/)
> > > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > > For additional commands, e-mail: [EMAIL PROTECTED]
> > > To contact the list administrators, e-mail:
[EMAIL PROTECTED]
> >
> > --
> >
> > Craig Morrison
> >   http://www.2cah.com/
> > EzMTS - A _free_ Win32 EMail Server
> >   http://www.ezmts.org/
> >   Mirrors: http://www.ezmts.org/mirrors.php
> >   Anonymous FTP at ftp://2cah.com
> >
> > --
> > PHP Windows Mailing List (http://www.php.net/)
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> > To contact the list administrators, e-mail: [EMAIL PROTECTED]
> >
> >
> > --
> > PHP Windows Mailing List (http://www.php.net/)
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> > To contact the list administrators, e-mail: [EMAIL PROTECTED]
> >
>
>
> --
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
>





how do i set it up with II5 for win2k.  I haveno clue what do do, and tell
me how to do it?

-----Original Message-----
From: Tomasz Abramowicz [mailto:[EMAIL PROTECTED]]
Sent: Sunday, April 29, 2001 4:39 PM
To: Manesh
Cc: [EMAIL PROTECTED]
Subject: Re: [PHP-WIN] SMTP


of course you do. most of us do. but you use that only to recieve
emails, you use SMTP (Simple Mail Trasfer Protocol) to send it.

> i use pop3
>
> your meant to know that, use the same one your useing to send your emails,
> which is under:
> (and i am guessing from your email headers your using outlook)
>
> Tools > Accounts > Properties > Servers > Outgoing Mail SMTP
>
>
>
>
> > how do u now what my STMP server is?
> >
> > -----Original Message-----
> > From: Craig Morrison [mailto:[EMAIL PROTECTED]]
> > Sent: Sunday, April 29, 2001 1:42 PM
> > To: Manesh
> > Cc: [EMAIL PROTECTED]
> > Subject: Re: [PHP-WIN] STMP
> >
> >
> >
> > Nice and simple..
> >
> > [mail function]
> > SMTP = mail.smtp.server ;for win32 only
> > sendmail_from = [EMAIL PROTECTED] ;for win32 only
> >
> >
> > Manesh wrote:
> > >
> > > Can somoen tell me EXACTLY how to set up a STMP server? i am IIS5 on
> win2k
> > >
> > > and i need to now exactly what i put it my PHP.ini
> > >
> > > --
> > > PHP Windows Mailing List (http://www.php.net/)
> > > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > > For additional commands, e-mail: [EMAIL PROTECTED]
> > > To contact the list administrators, e-mail:
[EMAIL PROTECTED]
> >
> > --
> >
> > Craig Morrison
> >   http://www.2cah.com/
> > EzMTS - A _free_ Win32 EMail Server
> >   http://www.ezmts.org/
> >   Mirrors: http://www.ezmts.org/mirrors.php
> >   Anonymous FTP at ftp://2cah.com
> >
> > --
> > PHP Windows Mailing List (http://www.php.net/)
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> > To contact the list administrators, e-mail: [EMAIL PROTECTED]
> >
> >
> > --
> > PHP Windows Mailing List (http://www.php.net/)
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> > To contact the list administrators, e-mail: [EMAIL PROTECTED]
> >
>
>
> --
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
>


--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]





look at what Craig Morrison wrote below.
search your php.ini file for 'mail function'
and where he wrote 'mail.smtp.server' write in
your SMTP. If you dont know it, ask the person
which set up your email. If YOU set up your on
email, then check in your settings what your SMTP
server is. If you dont have one, then you'll need to
install one. i am not going to tell you how to do that,
not because im mean, but beacuse its got nothing
to do with PHP. anyways once you know what your
smtp is, and youve inserted it into php.ini file, then
go ahead and go to:
www.php.net/mail
copy&paste their example into your page and check
if it works.
t.

> how do i set it up with II5 for win2k.  I haveno clue what do do, and tell
> me how to do it?
>
>
> of course you do. most of us do. but you use that only to recieve
> emails, you use SMTP (Simple Mail Trasfer Protocol) to send it.
>
> > i use pop3
> >
> > your meant to know that, use the same one your useing to send your
emails,
> > which is under:
> > (and i am guessing from your email headers your using outlook)
> >
> > Tools > Accounts > Properties > Servers > Outgoing Mail SMTP
> >
> > > how do u now what my STMP server is?
> > >
> > > -----Original Message-----
> > > From: Craig Morrison [mailto:[EMAIL PROTECTED]]
> > >
> > > Nice and simple..
> > >
> > > [mail function]
> > > SMTP = mail.smtp.server ;for win32 only
> > > sendmail_from = [EMAIL PROTECTED] ;for win32 only
> > >
> > > Manesh wrote:
> > > > Can somoen tell me EXACTLY how to set up a STMP server? i am IIS5 on
> > > > win2k and i need to now exactly what i put it my PHP.ini






I don't supposed anyone has this, or knows where I could obtain a
precompiled version of 4.06 or better?  From what I've read in the PHP bug
database this version may fix at least some of the problems with UNC
filenames on windows platforms.

Regards,

Paul





LOL...

4.0.5 hasn't been released as yet, it's due to be released Monday (in a few
hours).  Yes, 4.0.6 has more bug fixes in it as well, but it's not been
alpha tested yet.

I built an Apache module today and OCI8.  Looks pretty good so far.
If you're really nice to me, and tell me what you require, I may be able to
generate something from the latest cvs.


"Paul Smith" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> I don't supposed anyone has this, or knows where I could obtain a
> precompiled version of 4.06 or better?  From what I've read in the PHP bug
> database this version may fix at least some of the problems with UNC
> filenames on windows platforms.
>
> Regards,
>
> Paul
>
>






PHP, I have @home and they use pop3  is there a way i can intergrate that
with PHP?





> PHP, I have @home and they use pop3  is there a way i can intergrate that
> with PHP?

yes, plenty of ways:
http://www.zend.com/apps.php?CID=30



Reply via email to