php-general Digest 26 Jan 2008 23:57:29 - Issue 5258
Topics (messages 268148 through 268161):
Re: Rename
268148 by: Nathan Rixham
268154 by: Nathan Nobbe
268156 by: Per Jessen
Re: how dod you get to do multiple mysql queries concurrently?
268149 by: Per
way offf topic-ish here..
class destructors, surely they differ from the
register_shutdown_function in execution style? seeing as one can echo /
do a bit of jiggery pokery before the buffers close.
what exactly is the difference?
Richard Lynch wrote:
On Fri, January 25, 2008 1:31 pm,
vote 2 for:
mv dir1/* dir2
:) backticks!
Per Jessen wrote:
Pastor Steve wrote:
I have been looking, but the problem is that I don¹t know what
questions to ask or what to look for. I think it is a rename function.
That works, but it only does one file at a time. I was looking for
something
Richard Lynch wrote:
On Fri, January 25, 2008 5:07 am, Colin Guthrie wrote:
Per Jessen wrote:
I know how to do multiple queries - the key issue in my question was
how
to do them concurrently (i.e. in parallel).
So you want to make PHP multithreaded???
No, he wants to leverage the
I posted you a short script on this thread at 04:07 GMT today that'll
get you multithreading (via cli) - but even then you can shell exec that
cli script from apache..
Per Jessen wrote:
Richard Lynch wrote:
On Fri, January 25, 2008 3:35 am, Per Jessen wrote:
I have a website where some of
Nathan Rixham wrote:
I posted you a short script on this thread at 04:07 GMT today that'll
get you multithreading (via cli) - but even then you can shell exec
that cli script from apache..
Yeah, I noticed, thanks. The thing is - once pcntl_fork() is added to
the mix, it's getting a little
On Jan 26, 2008 3:52 AM, Nathan Rixham [EMAIL PROTECTED] wrote:
vote 2 for:
mv dir1/* dir2
its nice, but its platform dependent.
-nathan
Richard Lynch wrote:
Is it really going to help anything to slam the database with 3 X
queries instead of just letting it finish one before you hit it again?
You have a VERY good chance of just thrashing MySQL server instead of
actually gaining any performance.
It's an 8-way box with 8Gb
Richard Lynch wrote:
Process forking has EVERYTHING to do with thread safety.
Whatever is going to go wrong in a threaded environment is going to
also go wrong when you fork the process, almost for sure.
Forking a process and creating a thread are really two very different
concepts (from a
Nathan Nobbe wrote:
On Jan 26, 2008 3:52 AM, Nathan Rixham [EMAIL PROTECTED] wrote:
vote 2 for:
mv dir1/* dir2
its nice, but its platform dependent.
Which surely is not that much of a drawback? (well, the OP didn't
mention it anyway).
/Per Jessen, Zürich
--
PHP General Mailing
Richard Lynch wrote:
On Fri, January 25, 2008 3:35 am, Per Jessen wrote:
I have a website where some of the pages require several mysql
queries -
they're independent, so in principle they could easily be run in
parallel. Has anyone looked at doing that?
If MySQL has implemented cursors
OK this is very general.
Whats the best way to do formatted printing via php?
In my case I have a postgre database that I connect to with a
php(naturally seeing as this is the php list).
My aim is to convert an Access db to php/postgre.
In this access db there are several reports that
On Jan 26, 2008 1:03 PM, Peter Jackson [EMAIL PROTECTED] wrote:
Whats the best way to do formatted printing via php?
You could try PDFlib().
Draw your reports to landscape formated pdf's and print them.
Oh and I'm aiming for a unix/windows outcome.
pdf is platform independent.
I hope this
On Sat, 2008-01-26 at 15:19 +0100, Floor Terra wrote:
On Jan 26, 2008 1:03 PM, Peter Jackson [EMAIL PROTECTED] wrote:
Whats the best way to do formatted printing via php?
You could try PDFlib().
Draw your reports to landscape formated pdf's and print them.
Oh and I'm aiming for a
Nathan Rixham schreef:
way offf topic-ish here..
class destructors, surely they differ from the
register_shutdown_function in execution style? seeing as one can echo /
do a bit of jiggery pokery before the buffers close.
what exactly is the difference?
the problem with destructors is
hi there,
is there a way to determine the tmp-filename of a file upload while the upload
is still in progress?
the tmp-file is stored in /tmp and it's name is something like PHP.
what i would like to do is:
i want to upload a file via a html-form and while the upload is in progress
On Jan 26, 2008 3:57 PM, Michael Fischer [EMAIL PROTECTED] wrote:
hi there,
is there a way to determine the tmp-filename of a file upload while the
upload is still in progress?
the tmp-file is stored in /tmp and it's name is something like PHP.
what i would like to do is:
i want
17 matches
Mail list logo