Tanis Posted January 13, 2007 Share Posted January 13, 2007 Hey, on my website I would like to have a page similar to this one, where you type in your text, press submit, and a javascript script generates your text, using the selected font.How would I go about doing this? Link to comment Share on other sites More sharing options...
Lulzim Posted January 13, 2007 Share Posted January 13, 2007 as i know, javascript is not able to do the thing you asked (correct me if i'm worng)habbotools.de is doing that using php Link to comment Share on other sites More sharing options...
Tanis Posted January 13, 2007 Author Share Posted January 13, 2007 Actually, after viewing their source, I'm pretty sure they're using javascript (for at least part of it). Link to comment Share on other sites More sharing options...
Lulzim Posted January 14, 2007 Share Posted January 14, 2007 javascript is used just to select the font format, but php generates the imagethe fact that te page is reloaded, means that there is some server side language used. see the text is posted to a php file <form name="generator" action="http://habbotools.de/bild.php" method="get" target="_blank"> here is a list of php image functions:http://www.php.net/manual/en/ref.image.php Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now