logo
Apache Lounge
Webmasters

 


About

Forum Index Downloads Search Register Log in  RSS Apache Lounge
 



Keep Server Online

If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.

or

Bitcoin

A donation makes a contribution towards the costs, the time and effort that's going in this site and building.

Thank You! Steffen

Apache Lounge is not sponsored.

Your donations will help to keep this site alive and well, and continuing building binaries.



Rendering an image with a script

 
Post new topic   Reply to topic    Apache Forum Index -> Coding & Scripting Corner



View previous topic :: View next topic  
Author Message
sb.net



Joined: 22 Sep 2006
Posts: 120
Location: USA

PostPosted: Sun 17 Dec '06 1:21    Post subject: Rendering an image with a script Reply with quote

How would i accomplish that? i found this script (http://www.refx.net/rendertext.htm), and figured out how it worked.

http://www.refx.net/rendertext.htm?text=1Test%201
http://www.refx.net/rendertext.htm?text=2Test%202
http://www.refx.net/rendertext.htm?text=3Test%203
http://www.refx.net/rendertext.htm?text=4Test%204
http://www.refx.net/rendertext.htm?text=5Test%205

This one doesn't work:
http://www.refx.net/rendertext.htm?text=6Test%206

on this one right click and choose view source. it uses something called "imagepng()."
Back to top
James Blond
Moderator


Joined: 19 Jan 2006
Posts: 6255
Location: Germany, Next to Hamburg

PostPosted: Sun 17 Dec '06 19:33    Post subject: Reply with quote

That script creates an images from another image. The error appears because there is no image configured for the last parameter you tried to put in the url.
Three solution.

a)ask the owner of that page for the php source.

b)take a look http://www.php.net/imagepng

c)google for a solution
Back to top


Post new topic   Reply to topic    Apache Forum Index -> Coding & Scripting Corner
Page 1 of 1