php-windows Digest 8 Jan 2004 03:15:14 -0000 Issue 2072

Topics (messages 22512 through 22520):

Re: mail()
        22512 by: Anthony Ritter
        22516 by: Manuel Lemos

Re: Why does php exit after 6 minutes?
        22513 by: Manuel Vázquez Acosta
        22514 by: Frank M. Kromann
        22515 by: Manuel Vázquez Acosta

IIS 6 and App Pools
        22517 by: Bryan Thoreson

the unsubscribe script must be broken...
        22518 by: Michael Estler

looking for php debugging tips
        22519 by: Jim MacDiarmid

500 internal PHP errors - custom error reporting
        22520 by: Jim MacDiarmid

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 ---
From: "Mike Brum" <[EMAIL PROTECTED]>


> It's very possible that they're not letting you relay through them since
> you're not providing any authentication for that mail server but just
trying
> to send (as far as it can tell) "random mail from an unknown
sender"...[snipped]
............

Thanks Mike.

In the event that the ISP does not allow me to relay through their mail
server, is there a way that I can test this mail script locally?

I'm on Win98 / Apache / php/ mysql

Thank you.
TR


---
[This E-mail scanned for viruses by gonefishingguideservice.com]

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

On 01/07/2004 04:11 AM, Anthony Ritter wrote:
Using php/apache/mysql

I am testing an mail script.

The script has a .html form which receives the text input and then a .php
script to execute the variables in a mail() function.

When I publish both files - the .html and .php - to my ISP's server and
enter the data and hit submit  I receive an e-mail.

In my php.ini file I have configured the SMTP to the name of the ISP's email
server.

However, when testing the same script out locally on Apache Server: I get
the form box, enter the data but I do not receive an email.

I only use one ISP.  Is it possble they have two name servers and that is
why I am not receiving an e-mail when testing on Apache Server?

Maybe your message is rejected because you are not allowed to access the ISP SMTP server from your Apache server, unless you authenticate to be authorized to relay the messages. Usually PHP throws some error messages in this case.


If that is the problem, you need to pass your ISP account user name and password to the SMTP server. However, PHP does not support SMTP authentication. In that case, you may want to try these classes that let you send messages to an SMTP server passing authentication credentials:

http://www.phpclasses.org/mimemessage

http://www.phpclasses.org/smtpclass



--

Regards,
Manuel Lemos

Free ready to use OOP components written in PHP
http://www.phpclasses.org/

--- End Message ---
--- Begin Message ---
Your configuration imposes the 6 mins limit:

> phpinfo(): max_execution_time:  1800s
> phpinfo(): mssql.timeout:  1800s

So, PHP scripts won't run more than 1800 seconds, ie 6 mins.

Try set_time_limit(0); at the beginning of your script to avoid time
limitations.

Manu.

--- End Message ---
--- Begin Message ---
The last time I checked 1800 seconds was equal to 30 min :-)

6 min is 360 seconds.

- Frank

> Your configuration imposes the 6 mins limit:
> 
> > phpinfo(): max_execution_time:  1800s
> > phpinfo(): mssql.timeout:  1800s
> 
> So, PHP scripts won't run more than 1800 seconds, ie 6 mins.
> 
> Try set_time_limit(0); at the beginning of your script to avoid time
> limitations.
> 
> Manu.
> 
> -- 
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
> 

--- End Message ---
--- Begin Message ---
Ops, I was missed up (I did 3600/2 instead 3600/10)

Manu.


"Frank M. Kromann" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
>
> The last time I checked 1800 seconds was equal to 30 min :-)
>
> 6 min is 360 seconds.
>
> - Frank
>
> > Your configuration imposes the 6 mins limit:
> >
> > > phpinfo(): max_execution_time:  1800s
> > > phpinfo(): mssql.timeout:  1800s
> >
> > So, PHP scripts won't run more than 1800 seconds, ie 6 mins.
> >
> > Try set_time_limit(0); at the beginning of your script to avoid time
> > limitations.
> >
> > Manu.
> >
> > -- 
> > PHP Windows Mailing List (http://www.php.net/)
> > To unsubscribe, visit: http://www.php.net/unsub.php
> >

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

Does anyone have any great suggestions on how to handle the Application Pools in II6 
and PHP?  Any suggestions would be greatly appreciated.

Bryan

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Bryan Thoreson                                             1/7/2004
Network Administrator
CLA OIT   University of Minnesota

--- End Message ---
--- Begin Message ---
I have been trying to unsubscribe and the thing just won't quit sending
me mail... somebody please remove me from the list...

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] 
Sent: Wednesday, January 07, 2004 10:11 AM
To: [EMAIL PROTECTED]
Subject: php-windows Digest 7 Jan 2004 15:11:10 -0000 Issue 2071


php-windows Digest 7 Jan 2004 15:11:10 -0000 Issue 2071

Topics (messages 22510 through 22511):

mail()
        22510 by: Anthony Ritter
        22511 by: Mike Brum

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]


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

--- End Message ---
--- Begin Message ---
Can anyone help out a newbie or point me in the right direction on
properly debugging php code?   I'm really having a rough time with this,
and things just don't seem to be working the way I'm expecting them to.
I'm trying to study this by using the "Teach yourself php, mysql, and
apache in 24 hours" and it appears there are a lot of errors in the
book, which is adding to my confusion.
 
Many thanks
Jim
 
 

--- End Message ---
--- Begin Message ---
In ASP/IIS 5.0, there is a way to have a custom error page displayed
that will show current environment variables, etc. Is there a way to do
this with PHP/Apache 2?
 
Thanks in advance,
Jim
 

--- End Message ---

Reply via email to