Connecting Tech Pros Worldwide Help | Site Map

rotate text

  #1  
Old April 10th, 2007, 02:15 PM
ojorus
Guest
 
Posts: n/a
Hi! I wonder if anyone has a quick example on how to rotate text 30 degrees
with PHP. I believe the best way to do this is create an image with the
text, and then rotate the image..? I would appreciate a practic example on
this,or any other method which will do the work.

Regards ojorus


  #2  
Old April 10th, 2007, 03:55 PM
Krustov
Guest
 
Posts: n/a

re: rotate text


<comp.lang.php>
<ojorus>
<Tue, 10 Apr 2007 15:08:32 +0200>
<461b8c52$1@news.broadpark.no>
Quote:
Hi! I wonder if anyone has a quick example on how to rotate text 30 degrees
with PHP. I believe the best way to do this is create an image with the
text, and then rotate the image..? I would appreciate a practic example on
this,or any other method which will do the work.
>
You could try a google search on how to create a image code as more
often than not the text on the image code will be rotated .

  #3  
Old April 10th, 2007, 08:25 PM
Richard Brooks
Guest
 
Posts: n/a

re: rotate text


ojorus said the following on 10/04/07 14:08:
Quote:
Hi! I wonder if anyone has a quick example on how to rotate text 30 degrees
with PHP. I believe the best way to do this is create an image with the
text, and then rotate the image..? I would appreciate a practic example on
this,or any other method which will do the work.
>
Regards ojorus
Try looking up a captcha script, some use what you're after.


Richard.


--
"Initiative is punishable."
Russian business saying.
  #4  
Old April 12th, 2007, 05:15 PM
ipluta@wp.pl
Guest
 
Posts: n/a

re: rotate text


On Apr 10, 3:08 pm, "ojorus" <ojo...@hotmail.comwrote:
Quote:
Hi! I wonder if anyone has a quick example on how to rotate text 30 degrees
with PHP. I believe the best way to do this is create an image with the
text, and then rotate the image..? I would appreciate a practic example on
this,or any other method which will do the work.
>
Regards ojorus
draw the text in an image and then

imagerotate($image, $angle, $background_color);

as described here:
http://us.php.net/manual/en/function.imagerotate.php

Closed Thread


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to rotate text? Leo answers 1 November 16th, 2005 05:18 AM
How to rotate text taccea answers 4 November 13th, 2005 01:33 AM
Rotate Text taccea answers 2 November 13th, 2005 01:21 AM
Rotate Text googlemike@hotpop.com answers 6 July 21st, 2005 02:46 AM