php-windows Digest 25 Jun 2001 20:53:18 -0000 Issue 627

Topics (messages 8015 through 8020):

Re: using the PHP4 mail() function  in (Newbie)
        8015 by: Peter Haywood

Re: Testing php in Win2000?
        8016 by: Bryan

Problems running php from samba network shares...
        8017 by: Mattias Segerdahl

php scripts only work when connected to the internet.
        8018 by: Bryan

Need help with variables
        8019 by: Michel Laine

mail() on Windows 2000
        8020 by: Namwonmkw.aol.com

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]


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


Result!

Changing the mail server did the trick!  Many thanks to you and all who
replied.

Pete


"Michael Kelley" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> You need to change
> SMTP = localhost ; for Win32 only
> to
> SMTP = MyMailhost.domain.edu ; for Win32 only
>
> (MyMailHost being your mail service's server -> pop3.hotmail.com)
> If you don't have that then you may need to install a mail service of
> your own ...
> If you need to do that research the archieves I know I've seen a load of
> different free mail services and how to install (I didn't have to do
> that so I'm not going to try to tell you how to do it ...)
>
>
> Peter Haywood wrote:
>
> > Any advice on this would be much appreciated:
> >
> > I am trying to send a simple email.  in the php file, i have entered:
> >
> > <?php
> > mail ("[EMAIL PROTECTED]", "This is the Subject", "This is the message
> > body");
> > ?>
> >
> > when i load the page, i get the following:
> >
> > Warning: Server Error in C:\inetpub\wwwroot/php/tests/test.php on line 2
> > test.php being the file containing the PHP mail code
> >
> > this is the sendmail info in my php.ini file:
> >
> > [mail function]
> > ; For Win32 only.
> > SMTP = localhost ; for Win32 only
> >
> > ; For Win32 only.
> > sendmail_from = [EMAIL PROTECTED] ; for Win32 only
> >
> >
> > thanks,
> >
> > pete
>
>
> --
>
> Michael Kelley
> [EMAIL PROTECTED]
>
> Programmer/Systems Analyst I
> New Mexico State University
> Information and Communication Technologies
> Work # (505)-646-1374
> P.O. Box 30001
> MSC: 3AT
> Las Cruces, NM 88003
>
>
>
>
>
>
> --
> 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,

I have a similar problem, but can only view the output in my browser from
the php files when I am connected to the Internet.
When I am not connected, I get the standard error page in the broswer.

Hope someone can help??

Thanks,
Bryan.

""John Lim"" <[EMAIL PROTECTED]> wrote in message
9du5jf$n38$[EMAIL PROTECTED]">news:9du5jf$n38$[EMAIL PROTECTED]...
> You need to install IIS on windows 2000, and then install the PHP
> executables from php.net. If you are using windows 2000,
> IIS is probably preinstalled. Look for a wwwroot directory on your hard
> disk.
>
> Regards, John
>
> "Geoff" <[EMAIL PROTECTED]> wrote in message
> 9dpbks$qgs$[EMAIL PROTECTED]">news:9dpbks$qgs$[EMAIL PROTECTED]...
> >
> > How do I test my .php files in windows2000?
> >
> > I run it in explorer and it gives me a blank screen. I try to test it in
> DW4
> > and it gives me a blank screen.
> >
> > The only way I can do it now is by uploading to my server and testing it
> > online.
> >
> > I use Dreamweaver 4 for my coding.
> >
> > Also, where can I find good newbie tutorials? I'm really interested in
> > getting some online databases going and have VB/Delphi/C experience.
> >
> > cheers...
> >
> > - Geoff
> >
> >
> >
> >
> >
> > --
> > 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]
>






Hello all,

I have a slight problem that someone out there might be able to help me
with. I recently installed Windows 2000 with Internet Information Server 5.0
and php 4.0.7-dev. When configuring the IIS 5.0 default webserver, I did the
following

=> Properties
=> Directory Security
=> Edit
=> Anonymous access -> Edit

Here I supplied a user I had created which already was on the samba server,
a user called webbert. The samba server has a directory called /www which is
accisable for the user webbert. Which full access, both group and user, and
read,execute for world.

I then did,

=> Properties
=> Home Directory
=> Choose the checkbox a"A share located on another computer"

Here I supplied the samba server share and the correct user, webbert.

This is all fine and dandy, I can access this directory using a client based
browser, surf around and check html files.

But when I try to access a php file, I get the following error message...






Hi,

Win2k, IIS, 4.05

I have a problem where I can only view the output in my browser from the php
files when I am connected to the Internet.
When I am not connected, I get the standard error page in the broswer.

Hope someone can help??







I am trying to assign a bunch of strings to some Template variables
where:

I have an array $day[n] where n is 0-34 and contain strings.
I have Template variables named "DAYn", where n is a number 1-35.

The template parsing is up and running, so i have left that part out.


  // Do it!
  for ($i = 0; $i <= 34; $i++) {

    // Need help with this part
    $j = $i + 1;
    $var = ${"DAY".$j};
    $val = $day[$i];

    // Set PHPLIB Template variable
    $t->set_var( $var => $val );

  }

// Do the rest (like parse templates)

I have tried so many different combinations that i don't remember them
all - The one above being the most recent.
Not that it worked any better than any of the other ones...
I have read Variable variables in the online manual.
If that was on the right track - it must mean that i am just too stupid
to get it right.

Please help!
--

Michel Laine






I am using the mail function and everything seems to be working correctly as far as 
the mail being sent of; however, I always get the following error:Fatal error: Maximum 
execution time of 30 seconds exceeded in ...

Can anyone offer any suggestions?

Matt


Reply via email to