Re: [PHP] PHP Imagemagick

2003-09-30 Thread Blue Prawn
> % a static name so when another picture is uploaded the old one is > overwritten % that is why the input path and output path is the same. > % -Code-- > % exec($path_imagemagick."convert -crop 0x100+0+0 $imagepath.$filename > % $imagepath.$filename"); > % -End Code

Re: [PHP] Compare dates

2003-09-29 Thread Blue Prawn
> How can I compare two dates with PHP, to see if one date occurred before > the other? probably not the best way but: if the date is formated like this 20030929 (today) 20030928 (yesterday) I think it is quite easy: if ( (int)$today > (int)$yesterday ) or perhaps like this: if ( strcmp($today, $

Re: [PHP] Re: Animating with GD?

2003-08-28 Thread Blue Prawn
> >Not anymore due to the Unisys LZW patent issues.. GD has no support for > >GIF file anymore. > >Wait until next june.. Then you can create animated GIF files with GD > >(Unisys' patent expires). > > That patent already expired for the US (June 30, 2003). Canadian > patent expires July 7, 20