no, it's not a disadvantage. It's more that there's exactly a function that
does it completely, it just got a bug. I'm wondering that this problem is not
more often discussed on the Mapserver list, since saveWebImage() is for sure
one of the core functions of a Mapscript application.
I will put it in the main code as separate function and leave it until the bug
has been fixed. The only problem that could appear is when a user is so fast
that he creates more than one image in a second, because they would get the
same name then...
armin
>
> Hi Armin, Thanks for the code it fixes all. That's great!!
> At last I can use the ver 2 for production.
> I did few test but as soon I applied this patch the problem
> disappeared so why don't keep it in the pmapper code as default? there
> is some disadvantage on this approach for image name?
>
> Thanks for your code
>
> luca
>
> --
> luca marletta
--
Bis zu 70% Ihrer Onlinekosten sparen: GMX SmartSurfer!
Kostenlos downloaden: http://www.gmx.net/de/go/smartsurfer