[PHP] WebTV vs PHP
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 switched off Best regards Martin -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] newbie: installing gd in php4
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 unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Re: Too many connections - MySQL
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 site? Or is this a problem with the script? Thanks, Stephen Craton http://www.melchior.us -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] what the hell in this sql
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. Without checking I suspect that you need to specify a 'JOIN' in your statement - again refere to the manual for instructions. George -Original Message- From: Alawi [mailto:[EMAIL PROTECTED] Sent: 12 March 2003 11:07 am To: [EMAIL PROTECTED] Subject: [PHP] what the hell in this sql SELECT * FROM cont_types, cont_data, cont_cats WHERE cont_data.cont_id = $cont_id AND cont_types.type_id = cont_data.type_id AND cont_cats.cat_id = cont_data.cat_id its not work , give me 1064 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] PDF - PHP (on the fly using templates??)
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
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 Web Desinger Facultad de Cultura Fisica Linux User#: 412375 ICQ#: 132736035 Current ICQ status: + More ways to contact me __ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Re: need a new challenge
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 ... - another was formating street names Php-Editors.Com wrote: Im looking for ideas for a 2 programming contests. What I need is a very basic challenge - that new php programmers can do, but involves them mixing there thinking/programming and creative abilities. I also need a challenge for professional programmers - something that involves lots of thought, tests their problem solving ability and code useage. I would be very glad to hear your ideas on this. Stuart -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Re user Identifying
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 site. In this case the shopping basket and items can be attached to the customer Id. and the shopping basket made available across sessions. The shopping basket is created when the first item is added. It is closed when the final order is placed. I have already coded this and it works satisfactorily. 2. The user does not register. Instead the process is to add items to a shopping basket, which is then converted to an order or discarded at the end of the session. How do I identify shopping baskets belonging to different concurrent users? Should I include the session Id in the record, use cookies or what? Is the php session Id a unique ID ? Regards Peter Goggin -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] php output fills apache buffer for clients with slow internet connections
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()); flush(); waitToReduceBandwidth(); } Normally that works fine. However when the client has a slower internet connection than I set using waitToReduceBandwidth() the output of the php script builds up in the buffer of Apache. ... and the Apache process reaches a couple of hundred MBytes ... A solution would be to reduce the bandwidth so that is even lower than the slowest connection ... but then clients with faster connections would complain ... Therefore (finally) here come the questions: Is there a way to control the output speed of the php script according to the actual download speed between the browser and the server? Or is there a way to monitor the memory usage of the apache process (to slow down the data output when it increases)? Or is writing my own socket to act as web server a solution (is it possible to monitor the connection speed this way)? Or what should I do else? Any hints are welcome, cheers Martin -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] php output fills apache buffer for clients with slow internet
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 could even result in an increased number of tropped TCP packages ... Thanks (I was not aware of that directive) Martin -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] .htaccess
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 ini_set("session.gc_maxlifetime","2400"); -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] .htaccess
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 session.cookie_lifetime 240 and a few others can someone help ! tia Try ini_set("session.gc_maxlifetime","2400"); -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php