Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re^2: How to generate a banner

by Helvete (Initiate)
on Mar 15, 2007 at 10:15 UTC ( [id://604953]=note: print w/replies, xml ) Need Help??


in reply to Re: How to generate a banner
in thread How to generate a banner

The user types text into the bantext field? then press Submit, you process the result via cgi, and echo back the gif. How to do this?

Replies are listed 'Best First'.
Re^3: How to generate a banner
by rvosa (Curate) on Mar 17, 2007 at 00:12 UTC
    First, you need to process the form results that you'll receive once the user presses submit. A common way to do this is using the CGI module. Read its documentation, and you'll learn how to get the value that the user entered into the "bantext" field. Then, you need to superimpose this value, this string, on a transparent gif file using a module that can modify graphics files. As other people have suggested, you can use for example GD for that. Finally, you have to send back a response to the user that includes the generated gif file.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://604953]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (3)
As of 2024-04-24 17:37 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found