Some kind of text merging with an image code?

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
Seif
Forum Newbie
Posts: 3
Joined: Sat Dec 13, 2008 6:08 pm

Some kind of text merging with an image code?

Post by Seif »

I'm pretty sure it's doable with PHP. Basically, I want a code that inserts the text you want in a small size inside the box of the image.
So for example, I want this image:
Image
to be the background. And I want the text to be "Vehicle Stats Display". Then you press a button after entering the text you want and it makes:
Image
Any help is appreciated.

And no, I barely know any PHP. I know the very basic of it.
User avatar
Chris Corbyn
Breakbeat Nuttzer
Posts: 13098
Joined: Wed Mar 24, 2004 7:57 am
Location: Melbourne, Australia

Re: Some kind of text merging with an image code?

Post by Chris Corbyn »

Learn some basic PHP, then checkout the GD functions in the manual:

http://www.php.net/gd
Seif
Forum Newbie
Posts: 3
Joined: Sat Dec 13, 2008 6:08 pm

Re: Some kind of text merging with an image code?

Post by Seif »

That's gonna take a while, that's why I'm asking for a code here.
User avatar
Chris Corbyn
Breakbeat Nuttzer
Posts: 13098
Joined: Wed Mar 24, 2004 7:57 am
Location: Melbourne, Australia

Re: Some kind of text merging with an image code?

Post by Chris Corbyn »

Right.
toasty2
Forum Contributor
Posts: 361
Joined: Wed Aug 03, 2005 10:28 am
Location: Arkansas, USA

Re: Some kind of text merging with an image code?

Post by toasty2 »

We don't write code, we help with it. The PHP manual is extremely helpful compared to those for some other languages, so use it. It's for your own benefit.
Seif
Forum Newbie
Posts: 3
Joined: Sat Dec 13, 2008 6:08 pm

Re: Some kind of text merging with an image code?

Post by Seif »

Manual is something that takes days to learn from it.
Can I at least have a start? I just downloaded PHP now. Got no clue where to start to do this.
cavemaneca
Forum Commoner
Posts: 59
Joined: Sat Dec 13, 2008 2:16 am

Re: Some kind of text merging with an image code?

Post by cavemaneca »

How about using this tutorial? Then look up what he told you. It will be easier for yourself just to learn it now and work on it. Once you've done that and if you still have questions, come back here. Besides the fact that we don't want to do all of your work for you, what if someone put malicious code into a script for you and pm'd it to you? None of us could tell that there was a problem, and since you didn't know php you would use it without knowing as well. The page could even work properly how you want it to, but be sending your passwords or financial info or whatever you don't want them getting to the person who wrote it. So for better security, quicker responses, and pretty much less headaches for everyone, please just learn php yourself or pay someone money to do it.
Post Reply