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
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
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
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
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]."', '".
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-
> 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
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
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
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
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
> 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
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,
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;
?
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
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
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
> [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
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
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
20 matches
Mail list logo