php-general Digest 14 Feb 2010 00:45:05 - Issue 6589
Topics (messages 302061 through 302076):
Re: optional object arguments to a function
302061 by: Jochem Maas
302074 by: Richard Quadling
Re: SQL insert () values (),(),(); how to get auto_increments properly?
I've started working on a class using DOMDocument to assemble MathML in
php. The class, assuming I actually succeed, will eventually be used for
parsing LaTeX math equations to MathML without the need to have TeX
installed. I probably won't be able to support all the possibilities for
On Sat, Feb 13, 2010 at 2:07 PM, Rene Veerman rene7...@gmail.com wrote:
Hi.
I'm looking for the most efficient way to insert several records and
retrieve the auto_increment values for the inserted rows, while
avoiding crippling concurrency problems caused by multiple php threads
doing this
Rene Veerman wrote:
Hi.
I'm looking for the most efficient way to insert several records and
retrieve the auto_increment values for the inserted rows, while
avoiding crippling concurrency problems caused by multiple php threads
doing this on the same table at potentially the same time.
Any
Op 2/13/10 8:05 AM, Michael A. Peters schreef:
I've started working on a class using DOMDocument to assemble MathML in
php. The class, assuming I actually succeed, will eventually be used for
parsing LaTeX math equations to MathML without the need to have TeX
installed. I probably won't be
Op 2/13/10 10:08 AM, Lester Caine schreef:
Rene Veerman wrote:
Hi.
I'm looking for the most efficient way to insert several records and
retrieve the auto_increment values for the inserted rows, while
avoiding crippling concurrency problems caused by multiple php threads
doing this on the
On Sat, Feb 13, 2010 at 6:55 PM, Jochem Maas joc...@iamjochem.com wrote:
Op 2/13/10 10:08 AM, Lester Caine schreef:
Rene Veerman wrote:
Hi.
I'm looking for the most efficient way to insert several records and
retrieve the auto_increment values for the inserted rows, while
avoiding
Op 2/13/10 11:36 AM, Eric Lee schreef:
On Sat, Feb 13, 2010 at 6:55 PM, Jochem Maas joc...@iamjochem.com
mailto:joc...@iamjochem.com wrote:
Op 2/13/10 10:08 AM, Lester Caine schreef:
Rene Veerman wrote:
Hi.
I'm looking for the most efficient way to insert
Robert Cummings wrote:
Ashley Sheridan wrote:
On Fri, 2010-02-12 at 16:12 -0500, Robert Cummings wrote:
John Allsopp wrote:
Hi everyone
There may be blinding bits of total ignorance in this so don't
ignore the obvious.
This is a security question, but a sentence of background: I'm
At 12:36 PM + 2/13/10, John Allsopp wrote:
Sorted, I think .. unless you spot any faulty reasoning in the
above. Thanks very much guys :-)
The faulty reasoning is that you want to provide something to a
select group of people but are exposing it to the world. That's not
going to work.
At 7:07 AM +0100 2/13/10, Rene Veerman wrote:
Hi.
I'm looking for the most efficient way to insert several records and
retrieve the auto_increment values for the inserted rows, while
avoiding crippling concurrency problems caused by multiple php threads
doing this on the same table at
In order to make this as sql server independent as possible, the first
thing you need to do is not use extended inserts as that is a MySQL
capability. If you are insistent on using the extended inserts, then look
at the mysql_info() function. That will return the number of rows inserted,
etc. on
On Sat, 2010-02-13 at 08:46 -0600, Joseph Thayne wrote:
In order to make this as sql server independent as possible, the first
thing you need to do is not use extended inserts as that is a MySQL
capability. If you are insistent on using the extended inserts, then look
at the mysql_info()
John Allsopp wrote:
Robert Cummings wrote:
Ashley Sheridan wrote:
On Fri, 2010-02-12 at 16:12 -0500, Robert Cummings wrote:
John Allsopp wrote:
Hi everyone
There may be blinding bits of total ignorance in this so don't
ignore the obvious.
This is a security question, but a sentence of
Ashley Sheridan wrote:
But getting the number of rows isn't really all that useful, as it won't
tell you what the auto increment id values are, and if any inserts fail,
it won't tell you which ones.
Which is one of the reasons that MySQL still has problems with consistency ;)
Auto-increment
John Allsopp wrote:
Well no they are not logged in, it's just an embedded iframe so that's
my main issue with my method, anyone could look at the web page source,
pinch the URL of the iframe and they'd have the username and password.
I think the only way to do it is to make a key per
On 13 February 2010 10:07, Jochem Maas joc...@iamjochem.com wrote:
Op 2/13/10 8:05 AM, Michael A. Peters schreef:
I've started working on a class using DOMDocument to assemble MathML in
php. The class, assuming I actually succeed, will eventually be used for
parsing LaTeX math equations to
Michael A. Peters wrote:
John Allsopp wrote:
Well no they are not logged in, it's just an embedded iframe so that's
my main issue with my method, anyone could look at the web page
source, pinch the URL of the iframe and they'd have the username and
password.
I think the only way to do it
I'm looking for a report generator which will be used to create
management reports for my client from a MySQL database. The web site
is implemented in PHP.
Some characteristics that would be nice to have, roughly in order of
importance:
* It is moderately priced (a few hundred dollars at most)
On 2/13/2010 1:56 PM, Jonathan Sachs wrote:
I'm looking for a report generator which will be used to create
management reports for my client from a MySQL database. The web site
is implemented in PHP.
Some characteristics that would be nice to have, roughly in order of
importance:
* It is
Op 2/13/10 8:59 PM, Richard Quadling schreef:
On 13 February 2010 10:07, Jochem Maas joc...@iamjochem.com wrote:
...
Try stdClass.
I guess you didn't read what I wrote then.
If you know the class type, then that can be the type hint.
You can also use func_get_args() to read all the
On Sat, Feb 13, 2010 at 9:05 AM, Michael A. Peters mpet...@mac.com wrote:
How do I specify a default null object, or otherwise make the argument
argument optional?
To my knowledge: can't be done.
But you can check any args through the func_get_arg*() functions, then
per-parameter push 'm
Rene Veerman wrote:
On Sat, Feb 13, 2010 at 9:05 AM, Michael A. Peters mpet...@mac.com wrote:
How do I specify a default null object, or otherwise make the argument
argument optional?
To my knowledge: can't be done.
But you can check any args through the func_get_arg*() functions, then
23 matches
Mail list logo