Reply to Image basics

Your name:

Reply:


Posted by swisscheese on 12/18/05 22:14

After reading 5 tutorials, I must be missing something basic.
>From a .php web page how can I output an image?
I created and drew the image and did:

header("Content-type: image/png");
imagepng($image,"image.png");
?>
....
<BODY
<img src="./image.png" height="400" width="400"></img>

But I get the broken image icon.
Also I don't really want to create the file - just output the image
directly.

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация