Max Length of Parameters for Dynamic Images?

Author Message
Mike B 02/06/2006 11:04 pm
I am downloading a site that passes 6 parameters to create a dynamic php image. Is there a limit to the number/length of parameters that can be used when downloading images? With too many parameters or too long of string, it looks like the saved URL get cut off and the image won`t display properly.

Shortening the length of the values that are being passed solved the problem, but I would like to be able to pass longer values with my parameters.

Examples:
A) Fails to save: "imagegenerator.php?value=a long string of text"
B) Saves fine: "imagegenerator.php?value=less text"

Thanks for your help,

Mike
Oleg Chernavin 02/07/2006 03:33 am
Offline Explorer cuts filenames when they are longer than 100 symbols - to obey Windows filesystem limits. However even the cut filenames should work well when you browse the offline.

Best regards,
Oleg Chernavin
MP Staff
Mike B 02/07/2006 02:22 pm
> Offline Explorer cuts filenames when they are longer than 100 symbols - to obey Windows filesystem limits. However even the cut filenames should work well when you browse the offline.
>
> Best regards,
> Oleg Chernavin
> MP Staff

Thanks Oleg,

It seems that when downloading dynamic images created with PHP, when the file name is cut off, the image fails to be downloaded/saved correctly.

a) Here is an actual example of a WORKING saved file name:
merge_images.php@p=tan&f=5&n1=123456789+123456789+123456789+123456789&n2=123456789+123456789+123456789+123456789 12&s=25&c=1

b) Here is an example of a file name that FAILS to load:
merge_images.php@p=tan&f=5&n1=123456789+123456789+123456789+123456789&n2=123456789+123456789+123456789+123456789 123&s=25&c=1

The only difference between a) and b) is one additional character that pushes the file length over the limit (as you can see, the parameter n2 ends with "123" instead of "12").

Any settings I need to modify, or is this a limitation of this version?

Anything else that could be causing this problem?

Thank you again.
Oleg Chernavin 02/08/2006 04:21 am
Can you please tell me actual URLs, so that I can reproduce the problem? If the site requires logon, can you please send me all of the details to support@metaproducts.com ?

Thank you!

Oleg.