[PHP] php output fills apache buffer for clients with slow internet connections

2005-04-19 Thread Martin Mandl
Dear Ladies and Gentlemen, the last couple of days I browsed the internet for the answer of a questions which seems to be a common problem ... but found now real solution: I would like to serve large files (100MB) to my clients using php: while (moreDataAvailable()) { printChunk(getChunk());

Re: [PHP] php output fills apache buffer for clients with slow internet

2005-04-19 Thread Martin Mandl
Try apaches' SendBufferSize config directive SendBufferSize sets the size of the TCP send buffer. Increasing the size would help only within high-speed networks to speed up the connection. However the 'slow-connection' clients are not in the same network. Thus increasing the TCP send buffer

Re: [PHP] .htaccess

2005-04-19 Thread Martin Mandl
4 hours = 60 * 60 * 4 = 14400 Mario de Frutos Dieguez wrote: pete M escribió: I'm trying to figure out out to put a directive in .htaccess to make the session timeout in 4 hours .. tried php_flag session.cookie_lifetime 240 and a few others can someone help ! tia Try

Re: [PHP] .htaccess

2005-04-19 Thread Martin Mandl
and try php_value instead of php flag: php_value session.cookie_lifetime 14400 Martin Mandl wrote: 4 hours = 60 * 60 * 4 = 14400 Mario de Frutos Dieguez wrote: pete M escribió: I'm trying to figure out out to put a directive in .htaccess to make the session timeout in 4 hours .. tried php_flag

[PHP] Re: need a new challenge

2003-03-14 Thread Martin Mandl
there were some nice threads last week: - formating the input of a name: eg: stuart o'neil - Stuart O'Neil RONALD MCDONALD - Ronald McDonald serge d'avignon - Serge d'Avignon von Braun - von Braun ... implementing that for all possible langugae struktures

Re: [PHP] Re user Identifying

2003-03-14 Thread Martin Mandl
The problem you are describing is implemented in a quite amazing GPL shop. You might want to have a look: www.oscommerce.org Regards Martin Peter Goggin wrote: I did not make my request for information clear. The two scenarios which I have to cover: 1. The user registers as a customer with the

Re: [PHP] what the hell in this sql

2003-03-12 Thread Martin Mandl
Nevertheless the $ looks weard ... George Pitcher wrote: Firstly, This isn't a php question and should be directed at a sql list or to php-db Have you lokked at erro 1064 in the manual? What does it say? There are several things that you should do before coming to the list with a problem.

Re: [PHP] PDF - PHP (on the fly using templates??)

2003-03-12 Thread Martin Mandl
it's not possible (at the moment) to manipulate existing pdf-files with fpdf. Rives Sergio Sofrecom wrote: maybe the link didn't work... www.fpdf.org sorry -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: how to uploads files

2003-03-12 Thread Martin Mandl
try the following ... http://www.faqts.com/knowledge_base/index.phtml/fid/62 Luis A wrote: hi every one :) how can i uploads files to my server by php script ? any hand on that i realy apreciate Thanks __ Luis Atala Profetional

[PHP] WebTV vs PHP

2003-02-26 Thread Martin Mandl
Has anybody expirienced troubles with clients using some sort of WebTV? I got a bug report saying - sbdy using WebTV has problems with our sites. We are using pure PHP - no JAVA, no JAVAScript ... Thus it's puzzling. The only thing I are sessions. However they are working also with cookies

Re: [PHP] newbie: installing gd in php4

2003-02-26 Thread Martin Mandl
just make sure, the php_gd.dll is in the directory where all your other php-dlls are ... -Original Message- Using MS Win 98 / PHP 4 and Apache. What is the best way to install php_gd.dll so that I can make use of the image library. -- PHP General Mailing List (http://www.php.net/) To

[PHP] Re: Too many connections - MySQL

2003-02-26 Thread Martin Mandl
don't use persitent connections ... that will solve your problem Stephen Craton wrote: On this site, www.roempire.com, which we host, they are having problems with too many connections. I think that someone messed with the GRANT option. How can we reverse this and allow unlimited connections per