On Tuesday 01 Jul 2008 03:09:48 Tim Lieberman wrote:
> Passing arrays in a query string is the wrong way to do it. Too many
> things can go wrong.
True. It is not proper way. But if you still want to pass such data using GET
method then you can build Query string as shown below:
$cartStr='cart[
Passing arrays in a query string is the wrong way to do it. Too many
things can go wrong.
You could try creating a form, and sticking the serialize()d array
value in to a hidden field. Then POST the form to your gallery page.
';
?>
And in gallery.php
HTH
-Tim
On Jun 30, 2008, at 3
Hi,
I want to pass an unknow array cart[]: to "gallery" page through url link:
My url is:gallery.php?final=cart[]
On gallery.php page
I want to output everything in this array
My code is:
$finalcart=array();
$finalcart=$_get['final']
for(var i=0;ihttp://www.imtalkathon.com?source=TXT_
Rolan Yang wrote:
Allen Shaw wrote:
Patrick May wrote:
The odd issue is connectivity. If there is no network connectivity
to the primary mysql server, how can one use transactions to manage
synchronization?
In fact there /is/ connectivity. It's just bone-numbingly slow and
occassionally non-
Scott Mattocks wrote:
This probably isn't the answer you want to hear, but maybe the clients
money would be better spent on upgrading to a real connection instead
of on a development resource trying to fix a non-software problem with
software?
Actually, you're right, this is the true solution.
Allen Shaw wrote:
Patrick May wrote:
The odd issue is connectivity. If there is no network connectivity to
the primary mysql server, how can one use transactions to manage
synchronization?
In fact there /is/ connectivity. It's just bone-numbingly slow and
occassionally non-existent.
Not sur
Allen Shaw wrote:
In fact there /is/ connectivity. It's just bone-numbingly slow and
occassionally non-existent.
This probably isn't the answer you want to hear, but maybe the clients
money would be better spent on upgrading to a real connection instead of
on a development resource trying to
Patrick May wrote:
The odd issue is connectivity. If there is no network connectivity to
the primary mysql server, how can one use transactions to manage
synchronization?
In fact there /is/ connectivity. It's just bone-numbingly slow and
occassionally non-existent.
--
Allen Shaw
slidePresent
bzcoder wrote:
Allen Shaw wrote:
Hi Gang,
Banging my head against this wall, wondered if you all might know
something I don't. (It does happen often, I find.)
Well, it all depends on how you engineer the thing.
But something to look into is "replication"
Head, meet wall.
Sorry, here is
Allen Shaw wrote:
Hi Gang,
Banging my head against this wall, wondered if you all might know
something I don't. (It does happen often, I find.)
Well, it all depends on how you engineer the thing.
But something to look into is "replication"
I used it a lot in Lotus Notes, and you can use it
One other thing to look at is if keeping a database connection is the most
effective use of the limited bandwidth. Maybe sending the (partial)
queries/responses as text via sockets has less overhead.
You may also want to analyse the workflow more and see which information
really needs to be shar
tedd,
While you feel that transactions will not solve the problem you face, but
> the problem you face is the same problem that Transactions face. I think any
> solution you create, will resemble the method that transactions use.
The odd issue is connectivity. If there is no network connectivit
At 11:59 AM -0400 6/30/08, Allen Shaw wrote:
tedd wrote:
Oh, and there's a part 2 as well.
http://www.devshed.com/c/a/MySQL/Using-Transactions-In-MySQL-Part-2
Hi Tedd,
If I understand the intro correctly, that article is about standard
mysql transactions, but the problem I'm having won't rea
Another note
On Mon, Jun 30, 2008 at 12:06 PM, Allen Shaw <[EMAIL PROTECTED]> wrote:
> Thought it wouldn't hurt to ask for a magic bullet, but you're stating what
> I figured already: this is application-specific and it's up to me to program
> the collision detection and resolution methods.
Patrick May wrote:
I would point out that:
1. Transactions will not be useful if you cannot connect to the database
2. Google Gears and Prism seem to focus first on bridging the web /
application space for a single user, rather than dealing with
multi-way synchronization
Source code control
tedd wrote:
Oh, and there's a part 2 as well.
http://www.devshed.com/c/a/MySQL/Using-Transactions-In-MySQL-Part-2
Hi Tedd,
If I understand the intro correctly, that article is about standard
mysql transactions, but the problem I'm having won't really be solved
with usual START TRANSACTION /
I would point out that:
1. Transactions will not be useful if you cannot connect to the database
2. Google Gears and Prism seem to focus first on bridging the web /
application space for a single user, rather than dealing with multi-way
synchronization
Source code control systems are explicitly d
Oh, and there's a part 2 as well.
http://www.devshed.com/c/a/MySQL/Using-Transactions-In-MySQL-Part-2
Cheers,
tedd
--
---
http://sperling.com http://ancientstones.com http://earthstones.com
___
New York PHP Community Talk Mailing List
http://lis
[EMAIL PROTECTED] wrote:
-Original Message-
From: Allen Shaw <[EMAIL PROTECTED]>
... I need to provide several users with access to an online php/mysq
database app, where the user's Internet connection is intermittently
slow or down. ...
I would research Google Gears and/or Firefox
At 9:32 AM -0400 6/30/08, Allen Shaw wrote:
You all have any thoughts?
- Allen:
One word -- transactions.
http://dev.mysql.com/doc/refman/5.0/en/ansi-diff-transactions.html
The transaction scheme is one that solves the problems you address.
The theory is simply a record doesn't get update
-Original Message-
From: Allen Shaw <[EMAIL PROTECTED]>
Date: Monday, Jun 30, 2008 9:32 am
Subject: [nyphp-talk] mysql slow Internet connection trickery
To: NYPHP Talk Reply-To: NYPHP Talk
Hi Gang,
>
>Banging my head against this wall, wondered if you all might know
>something I don't.
Allen,
Maybe there's a way of storing data in a structured manner on the
filesystem, so that you can use subversion / etc to manage changes to that
data?
It might be a bad idea, but it's the first thing I thought of.
~ p
On Mon, Jun 30, 2008 at 9:32 AM, Allen Shaw <[EMAIL PROTECTED]> wrote:
Hi Gang,
Banging my head against this wall, wondered if you all might know
something I don't. (It does happen often, I find.)
I need to provide several users with access to an online php/mysq
database app, where the user's Internet connection is intermittently
slow or down. We've used this
Hi all,
Bruce's presentation, as well as links to his other, very technical and
useful PGSQL presentations, are online:
http://www.nyphp.org/content/presentations/
Thanks Bruce!
---
Hans Zaunere / President / New York PHP
www.nyphp.org / www.nyphp.com
_
24 matches
Mail list logo