[PHP] fsockopen(); Connection closed, when an endless loop triggers maxexecutiontime before fclose()?

2003-01-29 Thread jochen schultz
server possibly have another timelimitation, cause of the output and flush() used inside the loop? tia, Jochen Schultz -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Active Page

2002-08-22 Thread jochen schultz
Hello, Another possibility might be to open a persistent http connection so the update would be in realtime instead of intervals of x seconds and with a cronjob it might as well be periodically *g* search for fsockopen() or 'persistant http conection' I can confirm Yamins answer also as a much

[PHP] OOP / dynamic SQL class

2002-08-22 Thread jochen schultz
Hi again, i got a question concerning OOP, would be nice if anyone could help. I am trying to build a class that builds SQL statements dynamically like i send tablenames, fieldnames, etc and it should build select, insert, update... statements. e.g. i have a table PERS_DATA with following stru

Re: [PHP] in_array()

2002-08-22 Thread jochen schultz
Hi Riccardo, >if(mysql_num_rows($rty->resu)) { //result >$rec = mysql_fetch_array($rty->resu); > if(!isset($_SESSION["bkmks"]) || When you save something for the first time, the element of $_SESSION["bkmks"] is a string and you can compa

Re: [PHP] Strange MySQL Problem

2009-12-14 Thread Jochen Schultz
Hello Parham, i think you should change this: $sql = "INSERT INTO BOOK(bookname, authorsname, ISBN) VALUES ('$_POST[bookname]', '$_POST[authorsname]', $_POST[ISBN]')"; to this: $sql = "INSERT INTO BOOK(bookname, authorsname, ISBN) VALUES ('".$_POST[bookname]."', '".$_POST[authorsname]."', '".

Re: [PHP] Want to learn to work with Zend Framework?

2010-03-04 Thread Jochen Schultz
Spam! Daniel Brown schrieb: On Thu, Mar 4, 2010 at 14:59, mrfroasty wrote: Looks expensive, definately NO Then do not reply. It was an offer to the community at large, not just you and the other top-poster. ;-P -- Sport Import GmbH - Amtsgericht Oldenburg - Tel: +49-4405-9280-

Re: [PHP] Want to learn to work with Zend Framework?

2010-03-05 Thread Jochen Schultz
> and not drugs, money or sex! So everyone should post their ads here, which are related to PHP? I think not. regards Jochen Ashley Sheridan schrieb: On Fri, 2010-03-05 at 08:11 +0100, Jochen Schultz wrote: Spam! Daniel Brown schrieb: > On Thu, Mar 4, 2010 at 14:59, mrf

Re: [PHP] Want to learn to work with Zend Framework?

2010-03-05 Thread Jochen Schultz
the community stays free from some companies decissions. Or just keep Ads out of here...no exceptions! just my 2 cents Lester Caine schrieb: Jochen Schultz wrote: > and not drugs, money or sex! So everyone should post their ads here, which are related to PHP? I think not. As someone

Re: [PHP] Re: Anyone good with multiple SSL on Apache?

2010-03-09 Thread Jochen Schultz
AFAIK Apache 2 doesn't support virtual hosts for SSL. But you may use one cert per socket, e.g it is possible to set one cert up on port 447 and one on 8080. https://example1.com https://example2.com:8080 regards Jochen Schultz Manuel Lemos schrieb: Hello, on 03/08/2010 07:13 PM

Re: [PHP] Re: Anyone good with multiple SSL on Apache?

2010-03-10 Thread Jochen Schultz
le.de GnuTLSEnable on GnuTLSPriorities NORMAL GnuTLSCertificateFile /etc/certs/example_server.pem GnuTLSKeyFile /etc/certs/example_key.pem DocumentRoot "/var/www/example.de" ... regards Jochen Schultz P.S. I think i will have to give it a try right now. Per Jessen schrieb: Jochen Schultz

Re: [PHP] Spreadsheet_Excel_Reader problem

2010-03-16 Thread Jochen Schultz
Or maybe you want to check out this: http://www.codeplex.com/PHPExcel I havn't checked it out for your special purpose but i found it useful for some other jobs (especially excell 2007 support). regards Jochen Ashley Sheridan schrieb: On Tue, 2010-03-16 at 20:16 +0800, I am on the top of th

Re: [PHP] Spreadsheet_Excel_Reader problem

2010-03-18 Thread Jochen Schultz
> Microsoft managed to basterdise this format > a bit as well, and lets you use tabs, spaces and all sorts of other > characters to delimit data fields. Someone obviously didn't mention to > them that the file type is 'comma separated values'! Or maybe it is because someone told them, that there

Re: [PHP] Spreadsheet_Excel_Reader problem

2010-03-18 Thread Jochen Schultz
another double quote. For example: "aaa","b""bb","ccc" regards Jochen Ashley Sheridan schrieb: On Thu, 2010-03-18 at 12:56 +0100, Jochen Schultz wrote: > Microsoft managed to basterdise this format > a bit as well, and lets you use tabs,

Re: [PHP] web sniffer

2010-03-19 Thread Jochen Schultz
Btw., when you use file_get_contets, is there a good way to tell the script to stop recieving the file after let's say 2 seconds - just in case the server is not reachable - to avoid using fsockopen? regards Jochen madunix schrieb: okay ..it works now i use http://www.my.com";); echo $data; ?

Re: [PHP] web sniffer

2010-03-19 Thread Jochen Schultz
27;image.jpg'; $file = $post->sendHttpRequest($host,$header,80,2); // Output while(list($k,$v)=each($file)) { echo $v.''; } ?> regards Jochen madunix schrieb: can any one give a complete sample script how to retrieve data content from web (jpg, pdf, field). Thanks O

Re: [PHP] web sniffer

2010-03-19 Thread Jochen Schultz
Thanks alot! regards Jochen Peter Lind schrieb: You should be able to do that by setting context options: http://www.php.net/manual/en/context.http.php On 19 March 2010 08:53, Jochen Schultz wrote: Btw., when you use file_get_contets, is there a good way to tell the script to stop recieving

Re: [PHP] Two color rows in table inside while iteration

2010-04-28 Thread Jochen Schultz
Like this? $color[0] = 'red'; $color[1] = 'blue'; for ($i=0;foo;$i++) { echo ' [snip] Before your table; $trColor = 0; Then during the loop; while(foo){ $tr = (0 == $trColor % 2)? "#E8E8E8" : "#FF"; echo ""; ... Replace the hex values with the colors you desire. Just one more question

Re: [PHP] Two color rows in table inside while iteration -- just say no to mod

2010-05-02 Thread Jochen Schultz
> [snip] And unless we are adding a multiple seconds to the load time is anyone going to notice a difference of 1 second? yes regards Jochen -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] how to check for bandwidth limitations when uploading files?

2010-05-05 Thread Jochen Schultz
OS? Robert P. J. Day schrieb: probably not really a PHP question but i'll take a chance, anyway. i want to examine the network throughput i can get when continually uploading files from a PHP script via a POST request using the HTTP_Request2 class. i have a client-side script that simpl

Re: [PHP] Brandon Rampersad wants to chat

2010-05-20 Thread Jochen Schultz
You are inviting the whole general list at once? "Powerful spam protection" doesn't work for outgoing mails? Brandon Rampersad schrieb: --- Brandon Rampersad wants to stay in better touch using some of Google's coolest new pr