[PHP] Re: Image Creation

2005-02-16 Thread James Taylor
Ahh now it becomes clear, you where trying to place the image inline. There is a way with base64 encoding, but it isnt supported by many browsers - you can actually say data:image/png,base64;[...]";> where the [...] is the base64 encoded image, so you would need to wrap an ob start and ob end a

[PHP] Re: Image Creation

2005-02-15 Thread James Taylor
Dude - that works fine! can you check your code - make sure you havnt got any white space at all before the php starts in ANY file, and then check that you've got ALL erros being reported (because you might have the error cant send headers, output allready sent at line x) which will prenvent th

[PHP] Re: Image Creation

2005-02-15 Thread Aaron Todd
Hey Guys, I think I fixed my own problem. I tried calling the PHP script from a different page like this: This gave me the results I wanted. Thanks for all your help. Aaron "Aaron Todd" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] >I just wrote a little script to play arou

Re: [PHP] Re: Image Creation

2005-02-15 Thread Matt M.
get rid of : echo " This is a test".makepie(20,200)." "; and only have this : makepie(20,200); -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: Image Creation

2005-02-15 Thread Aaron Todd
Thanks for the compliment on my function. I have since improved upon it...see below. I can do the exact same thing as you and get results, but what I can't do is show the image within an HTML table. I think it is something to do with the header line, but I dont know how to get around it. I'v