QUOTE(JBrace1990 @ 19 Jul, 2008 - 02:23 PM)

Btw, before I run off to try this, I have another question that you may be able to answer as well?
Until now, I have only used PHP to generate dynamic pages to work with database information, all images etc has been static. And the load on the web-server has not been too high to make me think too deep about sharing resources.
If I use PHP Imagecopy to generate a dynamic banner as described above and two users accesses the webpage concurrently, will the generation of the temporary image for the banner clash or do they have separate data processing areas with their own temporary image inside the web-server? I.e. when the script is running, creating the small random image from the bigger for both of the users, will they see different images or the same? They both run the same PHP code to generate the small, temporary, image from the bigger, static, one but where is the result stored? And is there a risk for malfunction if the temp image is rebuilt by one user at the same time as it is displayed for another user?
I recon the userspace is separate and that the temp image is kept therein but I haven't really thought about it before.
Rgds
/c