Re: [PHP] Discarded extension on file download

2002-04-19 Thread Tom Mikulecky
This don't work for me :( Extension .gz is still throwed away. Tom Danny Shepherd wrote: Hi, I recently had this problem and, after hours of hair pulling, found that it seems to work best if you send the words Content-Type and Content-Disposition in **lower case**. Not sure why it has to

[PHP] PHP + Microsoft Access

2002-04-22 Thread Tom Mikulecky
Hello I have to interface an MSAccess database and Apache server on a linux box thru PHP. The only way I found to do that is to use ODBC with some specific drivers (I tried Openlink). This solution needs sort of server running on a Windows station, it serves requests to the Access database file.

[PHP] Program execution stops at exec()

2002-05-24 Thread Tom Mikulecky
Hello In one script I use exec() to execute a shell script which takes 2-3 hours to run. I disabled user abort and set time limit to more than one day. The shell script finishes well but no instruction after exec() is run. The script finishes with no error nor warnings. Some of you know hwat

[PHP] Re: Program execution stops at exec()

2002-05-27 Thread Tom Mikulecky
PROTECTED] schrieb im Newsbeitrag [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... check your max_execution_time settings in php.ini Michael Tom Mikulecky [EMAIL PROTECTED] schrieb im Newsbeitrag [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Hello In one s

Re: [PHP] Re: Program execution stops at exec()

2002-05-27 Thread Tom Mikulecky
David Freeman wrote: What I don't understand is why my php script dies while executing the shell script. Set_limit_time should make it wait. The build.sh script completes well. Not the exact solution here but perhaps a work-around. How dynamic is the data you're generating with your

[PHP] Re: Session's is slowing the page ??

2002-05-28 Thread Tom Mikulecky
Hi PHP's sessions are blocking, i.e. until a session is closed, all other calls to session_start() are pending. If you don't close a session explicitely, it remains opened until the script is terminated. The solution is to close a session as soon as possible (session_write_close) or use

[PHP] Re: Session's is slowing the page ??

2002-05-28 Thread Tom Mikulecky
please show me a little example how to use it on my pages ? THANKS !! Dima. Tom Mikulecky [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Hi PHP's sessions are blocking, i.e. until a session is closed, all other calls to session_start() are

[PHP] Re: Session's is slowing the page ??

2002-05-28 Thread Tom Mikulecky
Hat you do is the same as if you do nothing, because your session_write_close() is called near the end of script and sessions are automatically closed at the end of a script. You should 'copy' all needed variables from the session in your header.php like this: session_start(); $copy_user =

[PHP] Re: httpd runs forever

2002-05-30 Thread Tom Mikulecky
There's always at least one httpd process running which listens to incoming http connections. Tom Jacob Friis Larsen wrote: I sometimes have a httpd process that when I look at top has run for more than 100 min. Can I in some way find out why it will not stop or its url? Regards Jacob