php-windows Digest 3 Nov 2001 23:52:13 -0000 Issue 836

Topics (messages 10202 through 10212):

Re: Wrong date stamp with mail()
        10202 by: anch.org

Re: Creating dns via code...
        10203 by: anch.org
        10210 by: Christian C.

Re: Connecting to a database
        10204 by: anch.org

Re: Login-System
        10205 by: anch.org

Re: PHP.ini problems
        10206 by: anch.org

Re: log-in system
        10207 by: anch.org
        10211 by: GreatKent
        10212 by: Ross Fleming

Need advise: COM object in a session variable
        10208 by: Alexander Sokolsky

Re: Looking for a script
        10209 by: anch.org

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]


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


Woops I had my email address as admin@ and this newsgroup automatically
appended pb1.pair.com to the end of it.  Sorry but I'm NOT
[EMAIL PROTECTED] just so you know.

"Anch.Org" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> How about trying GMT +1600?  Ugly solution but hey...
>
> Now for my mail() question.  How to send AUTH info?
>
>
> "Ralph Nicovich" <[EMAIL PROTECTED]> wrote in message
> [EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> > Hello,
> >
> > I have a recent instalation on Win2k using an Apache server.
> > I am able to use the mail() function but it puts the wrong time on the
> > mail...
> >
> > I send mail to the same smtp server as I use for Netscape messenger ...
> > and netscape properly sets the time sent.
> >
> > I am at GMT -0800 but the mail gets stamped with GMT +0800 so all the
> > mail is stamped with a time that is 16 hours earlisr than it was sent
> > ....
> >
> > Any Ideas ?
> >
> > --
> >                _  _____________________________________  _
> >               / )|            Ralph Nicovich           |( \
> >              / / |               Cal Poly              | \ \
> >            _( (_ |      San Luis Obispo, CA 93407      | _) )_
> >           (((\ \>|_/ )_____________________________( \_|</ /)))
> >           (\\\\ \_/ /                               \ \_/ ////)
> >            \       /                                 \       /
> >             \    _/                                   \_    /
> >             /   /                                       \   \
>
>






Have you tried a hosts file?






> Have you tried a hosts file?
What's a host file???
Christian






I'm your "Tech Psychic".  You're obviously running one of those M$ productz
and trying to install your own phpBB forum, aren't you?  What you want to do
is enter localhost as the host name (since you're a newbie you wouldn't be
doing distributed access) and you'll have to use WinMySQLadmin to create a
database and give it arbitrary user name and password.  Then use those that
user name and password in your forum install form.

http://anch.org
Anchorage Non-Commercial Host
Your Tech Psychic Headquarters






Have you considered .httaccess?






I'm having the same problem.  It's due to the mail server set to AUTH
permissions for mail relay via SMTP.  The only way I know of to make it work
is to open up your mail server to act as a full mail relay, letting spammers
do what they want...  Not a happy solution.

Now I ask this question again.  How do I send a valid AUTH header in a PHP
mail() request?






use .httaccess






Thank you very much~
I have got another question: How can I get rid of the popup box window and
replace it with a form??
Thank you for your help~

"Anch.Org" <[EMAIL PROTECTED]> 撰寫於郵件新聞
:[EMAIL PROTECTED]
> use .httaccess
>
>






I suggest you check the php manual and look into sessions:
http://www.php.net/manual/en/ref.session.php

Failing that you could use cookies, but both methods can be easily exploited
by people intent on accessing your pages.  The best way really is the
.httaccess file.

R

-----Original Message-----
From: GreatKent [mailto:[EMAIL PROTECTED]]
Sent: 03 November 2001 17:43
To: [EMAIL PROTECTED]
Subject: [PHP-WIN] Re: log-in system


Thank you very much~
I have got another question: How can I get rid of the popup box window and
replace it with a form??
Thank you for your help~

"Anch.Org" <[EMAIL PROTECTED]> 撰寫於郵件新聞
:[EMAIL PROTECTED]
> use .httaccess
>
>



--
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 am porting a "legacy" application from IIS/ASP to Apache/PHP4.  The 
ASP application instantiates server side COM object implemented by 
custom out of process server.  This COM object is then maintained for 
the duration of the session.  Subsequent HTTP request are processed by 
the ASP code which calls methods of the same COM object instance.  Also 
appreciated is the fact that IIS takes care of garbage collection - the 
COM object is gracefully destroyed upon session expiration even if the 
session was abandoned.

I'd like to implement the behavior described above in PHP4/Apache. 
Ideally both CGI and server API versions of PHP should be supported.

I consider implementation of the custom session handler.  It could be 
done in the context of the separate process which will garbage collect 
expired sessions and more importantly, destroy COM objects.

Thoughts? Recommendations?

Thanks





I thought push technology went out with commuting to work.




Reply via email to