PHP Developers Network

A community of PHP developers offering assistance, advice, discussion, and friendship.
 
Loading
It is currently Fri Jul 19, 2019 10:06 pm

All times are UTC - 5 hours




Post new topic Reply to topic  [ 2 posts ] 
Author Message
PostPosted: Sat May 24, 2008 3:24 am 
Offline
Forum Newbie

Joined: Thu May 15, 2008 10:01 am
Posts: 11
hi
i want to put some images(gotten from mysql database)together that it seems one picture ,and i want to put a random background each time it is loaded for it.how can i do this?could anyone help me please?
Regards


Top
 Profile  
 
PostPosted: Sat May 24, 2008 3:47 am 
Offline
Jedi Mod
User avatar

Joined: Tue Dec 21, 2004 6:03 pm
Posts: 5263
Location: usrlab.com
Open the background image (with imagecreatefromstring() as its from a db), then open the other image, and use imagecopy() to copy it on to the background, and then send the result to the user.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC - 5 hours


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB® Forum Software © phpBB Group