Re: [PHP] Why my php page will reply "session expire" when the use press back button?

2001-04-10 Thread Carfield Yim
> > Why my php page will reply "session expire" when the use press back > > button? And then all the information in the form that user fill is lost, > > how can I fix this? thx > > > > Set your session.cache_limitter to private and set some reasonable expration > time for session.cache_expire. >

Re: [PHP] Why a javascript have problem if it is dynamic load?

2001-04-09 Thread Carfield Yim
Jean-Arthur Silve wrote: > Hi ! > > don't you think that the problem comes from : window.history.go(0); located > in your populateTown function ? > I guess that Netscape reload you page when you tell "history.go(0)" Thx, I have solve my problem -- PHP General Mailing List (http://www.php.net/

[PHP] Why a javascript have problem if it is dynamic load?

2001-04-09 Thread Carfield Yim
I have a page with javascript which is dynamic generated by php. That page is quite large and run ok with IE. But it netscape, I don't know why that it will reload every time when I select an option. If I save the resulting php page in HTML file and run it is netscape, no problem at all. Can anyon

[PHP] What is the difference between session_unset() and session_destroy()?

2001-03-28 Thread Carfield Yim
>From the manual, session_unset ¡X Free all session variables session_destroy ¡X Destroys all data registered to a session What do this document exactly mean? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PRO

[PHP] How to send attachment with email with php?

2001-03-27 Thread Carfield Yim
How to send attachment with email with php? -- PHP General 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] Why the data in HTML form lost when the user press back button?

2001-03-23 Thread Carfield Yim
Why the data in HTML form lost when the user press back button? And I find that this problem only exist if I use session_start() to enable session variable. But I can't disable it because the user information in session useful in every pages -- PHP General Mailing List (http://www.php.net/) To u

[PHP] Why my php page will reply "session expire" when the use press back button?

2001-03-15 Thread Carfield Yim
Why my php page will reply "session expire" when the use press back button? And then all the information in the form that user fill is lost, how can I fix this? thx -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

[PHP] Will my script run after redirect?

2001-03-15 Thread Carfield Yim
If I have code like: if( $i == 0) { print ""; } $i++; I find that $i++ will run but I hope it don't, if I alter the code to: if( $i == 0) { print ""; exit; } $i++; Will it work? Is it have any side-effect? -- PHP General Mailing List (http://www.php.net/) To unsubs