RE: [PHP] Resampling images -- need lock ?

From: Date: Mon, 20 Apr 2009 14:26:04 +0000
Subject: RE: [PHP] Resampling images -- need lock ?
References: 1 2 3  Groups: php.general 
Request: Send a blank email to php-general+get-291697@lists.php.net to get a copy of this message
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 rotating say 5 >> images)? >> > Well, few images (etc. 5) got rotated +90 deg. and then the script got > aborted, because of the second request, which will cause another +90 deg > rotation again on all images = meaning those 5 will be again rotated +90 > = 180, the others stay 90. That's what did happen. But what _should_ happen? Should it abort the first rotate, or finish all images then rotate each a second time? The code will have to be different depending on which option you want. Bob McConnell

« previous php.general (#291697) next »