I have 10 images of different sizes.
If user clicks ROTATE, a script will go through all these 10 images and
rotates them.
If the user clicks TWICE, the first script will get aborted in the
middle (so few images are already rotated) and then the second request
will rotate all of them again.
yeh. if u want it to be on server side that is a good approach. but i
feel it'll be very easy to do it with javascript...
but what i did not understand is: what should happen if the user
clicks ROTATE second time(when the script completed rotating say 5
images)?
--
PHP General Mailing List (http
kranthi napsal(a):
yeh. if u want it to be on server side that is a good approach. but i
feel it'll be very easy to do it with javascript...
but what i did not understand is: what should happen if the user
clicks ROTATE second time(when the script completed rotating say 5
images)?
Well, few i
then u'll b needing a lock (a shared resource like a SESSION var will
do) even if u do it by javascript
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Fri, Apr 17, 2009 at 7:58 AM, David wrote:
> On Fri, Apr 17, 2009 at 8:55 PM, Andrew Ballard wrote:
>>
>> On Fri, Apr 17, 2009 at 12:41 AM, David wrote:
>> > On Thu, Apr 16, 2009 at 11:48 PM, haliphax wrote:
>> >
>> >> On Wed, Apr 15, 2009 at 9:17 PM, David
>> >> wrote:
>> >> > Except I als
On Mon, Apr 20, 2009 at 9:35 PM, haliphax wrote:
> On Fri, Apr 17, 2009 at 7:58 AM, David wrote:
> > On Fri, Apr 17, 2009 at 8:55 PM, Andrew Ballard
> wrote:
> >>
> >> On Fri, Apr 17, 2009 at 12:41 AM, David
> wrote:
> >> > On Thu, Apr 16, 2009 at 11:48 PM, haliphax
> wrote:
> >> >
> >> >> On
On Apr 19, 2009, at 9:43 AM, MEM wrote:
Hello, I have something like this:
$stmt = $this->_dbh->prepare("INSERT INTO DOG (name_dog, race_dog,
id_vet)
VALUES (?, ?, ?)");
$stmt->bindParam(1, $this->getNameDog() );
$stmt->bindParam(2, $this->getRaceDog());
On Mon, Apr 20, 2009 at 09:48, Marc Christopher Hall
wrote:
> Sun buys MySQL and now Oracle buys Sun (not final, yet). What will happen
> with the main db we PHP'ers have come to know and love especially since v 5
Become a MySQL developer and help make the decision.
--
daniel.br...@parasan
From: Marc Christopher Hall
>
> Sun buys MySQL and now Oracle buys Sun (not final, yet). What will
happen
> with the main db we PHP'ers have come to know and love especially
since v 5
Speak for yourself, I prefer PostgreSQL. But there are already two
announced forks of MySQL, created by developer
I see...
I will need this too:
ignore_user_abort(true);
kranthi napsal(a):
i dont think flock will help in this case..
flock will b of help when u want to lock a particular file(to
read/write) but it'll not help u to stop execution of a php script
--
PHP General Mailing List (http://www.
On Apr 20, 2009, at 8:48 AM, Marc Christopher Hall wrote:
Sun buys MySQL and now Oracle buys Sun (not final, yet). What will
happen
with the main db we PHP'ers have come to know and love especially
since v 5
Probably nothing. It would not behoove Oracle to get rid of or
significantly modi
2009/4/20 kranthi :
> then u'll b needing a lock (a shared resource like a SESSION var will
> do) even if u do it by javascript
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
Session variables will not solve race conditions. I woul
-Original Message-
From: Bob McConnell [mailto:r...@cbord.com]
Sent: Monday, April 20, 2009 9:59 AM
To: Marc Christopher Hall; php-general@lists.php.net
Subject: RE: [PHP] 800 pound gorilla
From: Marc Christopher Hall
>
> Sun buys MySQL and now Oracle buys Sun (not final, yet). What wi
Sun buys MySQL and now Oracle buys Sun (not final, yet). What will happen
with the main db we PHP'ers have come to know and love especially since v 5
Marc Christopher Hall wrote:
Sun buys MySQL and now Oracle buys Sun (not final, yet). What will happen
with the main db we PHP'ers have come to know and love especially since v 5
Sorry Marc, meant to send this to the list...
I don't know what to think of this yet. Oracle has always competed wi
-Original Message-
From: paras...@gmail.com [mailto:paras...@gmail.com] On Behalf Of Daniel
Brown
Sent: Monday, April 20, 2009 9:52 AM
To: Marc Christopher Hall
Cc: php-general@lists.php.net
Subject: Re: [PHP] 800 pound gorilla
On Mon, Apr 20, 2009 at 09:48, Marc Christopher Hall
wrote:
On Mon, Apr 20, 2009 at 09:58, Marc Christopher Hall
wrote:
>
> Ahhh, I love the smell of condescension first thing in the morning. BTW I am
> a MySQL developer thank you. A developer does not an owner make. Where do
> you get the idea that Oracle would put this to a democratic vote?
Condesce
hmmm...
a developer might not (won't) give you voting rights? (is there sucj a
thing!!!)
however, if you put together a number of really skilled c/c++ (whatever)
developers, then you could easily take the current existing sourcebase of
code, and go ahead and fork your own version, and never need
From: Marc Christopher Hall
> From: Bob McConnell
>> From: Marc Christopher Hall
>>>
>>> Sun buys MySQL and now Oracle buys Sun (not final, yet). What will
>> happen
>>> with the main db we PHP'ers have come to know and love especially
>> since v 5
>>
>> But there are already two
>> announced fork
On Mon, Apr 20, 2009 at 10:42 AM, Bob McConnell wrote:
> From: Marc Christopher Hall
> > From: Bob McConnell
> >> From: Marc Christopher Hall
> >>>
> >>> Sun buys MySQL and now Oracle buys Sun (not final, yet). What will
> >> happen
> >>> with the main db we PHP'ers have come to know and love esp
From: Martin Zvarík
> kranthi napsal(a):
>> yeh. if u want it to be on server side that is a good approach. but i
>> feel it'll be very easy to do it with javascript...
>>
>> but what i did not understand is: what should happen if the user
>> clicks ROTATE second time(when the script completed rota
Bastien Koert wrote:
> On Wed, Feb 18, 2009 at 8:34 AM, PJ wrote:
>
>
>> To focus on mysql_real_escape_string, I am recapping... questions below
>> QUOTE:==
>> Instead of doing this (for an imaginary table):
>> $sql = "insert into table1(field1, field2) values ('$value1', '$value2')";
>
On Monday 20 April 2009 16:48:42 Marc Christopher Hall wrote:
> Sun buys MySQL and now Oracle buys Sun (not final, yet). What will happen
> with the main db we PHP'ers have come to know and love especially since v 5
sudo apt-get install postgresql
--
PHP General Mailing List (http://www.php.net
On Monday 13 April 2009 10:17:28 Ray wrote:
> Hello all,
>
> I'm trying to use the gnupg extension and I think everything is properly
> installed.
>
> I'm just using test data. I'm encrypting and then immediately decrypting.
> But the decryption is failing with a unhelpful error message.
>
> error
Suggestion on faster solutions for extremely large database.
$ledip['started'] = '2009-04-01 13:40:34'; Example time in DB
$ledip['touchedlast'] = '2009-04-01 13:41:28'; Example time in DB
date('i:s', strtotime($ledip['touchedlast']) - strtotime($ledip['started']));
// Not a desired solution be
I use cygwin (updated).
I try to compile extensions, but i only get "extension.a"
--
# phpize
# ./configure
# make
/usr/local/src/extension/.libs/extension.a, extension.la.lnk,
extension.o (280 kB, the other 3 had few bytes, *.a, *.la, *.lai)
# make install
... created: /usr/local/lib/php/exte
I use cygwin (updated).
I try to compile extensions, but i only get "extension.a"
--
# phpize
# ./configure
# make
/usr/local/src/extension/.libs/extension.a, extension.la.lnk,
extension.o (280 kB, the other 3 had few bytes, *.a, *.la, *.lai)
# make install
... created: /usr/local/lib/php/exte
I have a socket application written a few years ago in PHP which
receives information and does something (not relevant at the moment).
The program that connects is written in PHP with PEARs Net_Socket.
This socket is really taken from the socket example in the PHP docs.
It's been working OK for qu
On Mon, Apr 20, 2009 at 1:38 PM, wrote:
> Suggestion on faster solutions for extremely large database.
>
> $ledip['started'] = '2009-04-01 13:40:34'; Example time in DB
> $ledip['touchedlast'] = '2009-04-01 13:41:28'; Example time in DB
>
>
> date('i:s', strtotime($ledip['touchedlast']) -
> strto
Some months ago I downloaded and installed Apache, PHP and MySql. With
only light use they seem to be working.
I have downloaded a Test Script from the VBulletin vendor that is
supposed to determine if your setup could run their product. The Test
Script is php and appears as a form that allows y
Hi Guys,
I have created few chats in the past, but I'm trying to create a new one
which saves on HTTP requests and do not become an overkill to the server as
more users get in.
The chat is a one on one, I'm trying to achieve this:
* A user sends a message
* The message is not saved/save temporari
Patrick Moloney wrote:
I've tried their help forum, but they keep telling me to create an
empty database.
Have you tried creating an empty database?
Stephen
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Stephen wrote:
Patrick Moloney wrote:
I've tried their help forum, but they keep telling me to create an
empty database.
Have you tried creating an empty database?
Stephen
yes.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Martin Zvarík napsal(a):
I have 10 images of different sizes.
If user clicks ROTATE, a script will go through all these 10 images and
rotates them.
If the user clicks TWICE, the first script will get aborted in the
middle (so few images are already rotated) and then the second request
will
How does one deal with that? Do you use mysql_real_escape_string?
e.g.
Inputs are user supplied.
Are you saying that I don't need to sanitize the variables above -
$db_host, $db_user, $db_pwd, $database, $table ?
No - they are essentially hardcoded.
A user (through a form or any other
On Apr 20, 2009, at 17:23, Patrick Moloney wrote:
Some months ago I downloaded and installed Apache, PHP and MySql.
With only light use they seem to be working.
I have downloaded a Test Script from the VBulletin vendor that is
supposed to determine if your setup could run their product. Th
Ok, Sun buys MySQL and now Oracle is planning on buying Sun. Who's going to buy
Oracle in a few years from now?
Maybe it's time the PHP dev team start thinking about supporting a database
side project of their own. I would do well to have an open source database
engine that integrates well wit
i find var_dump useful in these situations, and for error reporting
try trigger error. http://php.net/manual/en/function.trigger-error.php
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hello,
on 04/20/2009 10:57 PM Raymond Irving said the following:
> Ok, Sun buys MySQL and now Oracle is planning on buying Sun. Who's going to
> buy Oracle in a few years from now?
>
> Maybe it's time the PHP dev team start thinking about supporting a database
> side project of their own. I wou
Maybe it's time the PHP dev team start thinking about supporting a database
side project of their own. I would do well to have an open source database
engine that integrates well with the system under contact development.
The PHP group already did that. They pushed SQLite when MySQL started
I'm working on a PayPal IPN module, and PayPal returns a lot of data in a
GET call.
The problem is that international characters entered by a user on the PayPal
site gets encoded really weird, and I don't see an obvious way to decode
them, can someone please assist?
My website is running utf-8 all
On Tue, 2009-04-21 at 08:39 +0200, Anders Norrbring wrote:
> I'm working on a PayPal IPN module, and PayPal returns a lot of data in a
> GET call.
> The problem is that international characters entered by a user on the PayPal
> site gets encoded really weird, and I don't see an obvious way to decod
42 matches
Mail list logo