|
Posted by Erwin Moller on 11/29/05 17:29
Mathijs wrote:
> Hi,
>
> I generate images on the fly. I need to pass parameters to the
> image-script (image.php). The parameters are larger than 255 characters.
>
> What's the best way to pass large parameters from the calling page (<img
> src="image.php">) to the image.php script? Cookies? Filesystem?
>
> Thanks in advance for the suggestions.
>
> M.
Hi,
Depends on the situation.
If you have a few simple things to send by the client, just use POST.
If you have a huge page where you also display results that have some
correlation to the image, you might consider using a SESSION to store the
data in you use for imagegeneration.
In that way you avoid double calculations and database-queries.
Regards,
Erwin Moller
Navigation:
[Reply to this message]
|