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

[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

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 compare the

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

2003-01-29 Thread jochen schultz
the 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] 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 mrfroa...@gmail.com 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 -

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, mrfroasty mrfroa

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 who

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 Skip

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

2010-03-10 Thread Jochen Schultz
this: VirtualHost 192.168.1.250:443 ServerName www.example.de GnuTLSEnable on GnuTLSPriorities NORMAL GnuTLSCertificateFile /etc/certs/example_server.pem GnuTLSKeyFile /etc/certs/example_key.pem DocumentRoot /var/www/example.de ... /DocumentRoot regards Jochen Schultz P.S. I think i will have to give

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

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 is

Re: [PHP] Spreadsheet_Excel_Reader problem

2010-03-18 Thread Jochen Schultz
it with another double quote. For example: aaa,bbb,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, spaces and all sorts of other characters to delimit data

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 ?php

Re: [PHP] web sniffer

2010-03-19 Thread Jochen Schultz
)) { echo $v.'br/'; } ? regards Jochen madunix schrieb: can any one give a complete sample script how to retrieve data content from web (jpg, pdf, field). Thanks On Fri, Mar 19, 2010 at 9:53 AM, Jochen Schultz jschu...@sportimport.de wrote: Btw., when you use file_get_contets, is there a good way

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 jschu...@sportimport.de wrote: Btw., when you use file_get_contets, is there a good way to tell

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 'tr style:background-color:'.$color[$i%2]... regards Jochen Jay Blanchard schrieb: [snip] Before your table; $trColor = 0; Then during the loop; while(foo){ $tr = (0 == $trColor % 2)? #E8E8E8 : #FF; echo tr

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

2010-05-03 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

Re: [PHP] Brandon Rampersad wants to chat

2010-05-21 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