> % 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
> 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, $
> >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
3 matches
Mail list logo