Reply to image generation problem

Your name:

Reply:


Posted by Cliff Smith on 12/21/06 05:31

Hi Group,

In doing a website for a stamp maker, I have come across the following
problem.

I have a file called image_generator.php that creates a preview of the
stamp. This uses GET vars for stamp height and width, but takes text,
font and colour info from SESSION vars.

This part works fine when the file is called as the image source.ie.
<img src="incs/image_generator.php?iw='.$width.'&amp;ih='.$height.'" />

I now need to attach the image to an email. I need the data in a string,
so that it can be base64_encode'd. I can't use fopen, as it will not
recognise the file if it has GET vars appended to the filename if it is
a local file. Using fopen to read the file as a URL works with GET vars,
but then the image generator can't use the SESSION vars.

Any ideas ?????

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация