[PHP] sending email to a mailing list
Hi everyone, I'm with a little doubt about the best way to send a mail message to a large mailing list using PHP. I'm not interested in existing mailing list managers, or source codes. I dont know if the best way to send emails is to use a repeat loop with mail() function, or use some other structure to send emails with timeouts intervals... Thanks in advance Hamzagic -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] ending a session
Hi, I'm just wanna know why the session doesn't end when the user closes the browser window and how can i make it. Thanks Raphael -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] ending a session
Thanks, But, if the client don't accept cookies? And if the user open a new browser window with the same url, the new window will use the same opened session. I'm having trouble with this Thanks, Raphael "Rasmus Lerdorf" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Because there is absolutely no way for PHP to know that the user has > closed the browser window. Nothing is sent from the browser to the server > on a window close. By using session cookies (cookies without a specified > expiry time) the session is effectively ended since the cookie is gone > once the browser has been completely shut down (not just a window). When > that user comes back to the site after starting their browser again they > will get a new session. > > -Rasmus > > On Thu, 5 Sep 2002, Raphael Hamzagic wrote: > > > Hi, > > > > I'm just wanna know why the session doesn't end when the user closes the > > browser window and how can i make it. > > > > Thanks > > > > Raphael > > > > > > > > -- > > PHP General Mailing List (http://www.php.net/) > > To unsubscribe, visit: http://www.php.net/unsub.php > > > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] ending a session
Of course Gurhan, I have read all the php manual. How can I send a message when the user closes the browser to destroy the session? Thanks in advance Raphael "Gurhan Ozen" <[EMAIL PROTECTED]> wrote in message 1031261344.5091.266.camel@LOCALHOST">news:1031261344.5091.266.camel@LOCALHOST... > You can end the session by using function session_destroy(). > See: > > http://www.php.net/manual/en/function.session-destroy.php > > For general information on how PHP handles sessions see: > > http://www.php.net/manual/en/ref.session.php > > Hope this helps. > Gurhan > > On Thu, 2002-09-05 at 17:17, Raphael Hamzagic wrote: > > Hi, > > > > I'm just wanna know why the session doesn't end when the user closes the > > browser window and how can i make it. > > > > Thanks > > > > Raphael > > > > > > > > -- > > PHP General Mailing List (http://www.php.net/) > > To unsubscribe, visit: http://www.php.net/unsub.php > > > > > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] setting javascript variables on url
Anyone knows if there's a way to set a javascript variable in the calling url. Like: http://www.www.com/index.htm?foo=bar in index.htm: Should print "bar" Thanks Raphael -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] why php4.2.3 caches my pages?
Hi everyone, I'm using php 4.2.3 and putting the code that prevents caching. But this works in php4.1 but in 4.2.3 doesn't. I don't know if this is because I must change some directive in php.ini or if is someone that we can't change in php 4.2.3. Thanks in advance Rapha -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Why my php pages are cached in browsers?
Hi, In browsers, my php pages are cached. All the code that is returned by php are stored. In version 4.1 this not ocurred, anybody can help me? Thanks Rapha -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php