[Lazarus] How to show a picture in a CGI app?

silvioprog silvioprog at gmail.com
Sat Apr 2 18:21:21 CEST 2011


2011/4/2 leledumbo <leledumbo_cool at yahoo.co.id>:
> Would you like to download or display the picture? For displaying, you should
> use standard HTML's img tag. For downloading, the thread pointed by marcos
> has an example.

I need to read an picture from a file and write directly in the
headers (to create a antispam module). :/

Code in PHP:

http://pastebin.com/NTEcrJeZ

Demo:

http://silvioprog.com.br/test/antispam.php

Thx.

-- 
Silvio Cl├ęcio
=============================================
Blog - silvioprog.com.br
Twitter - twitter.com/silvioprog
LazSolutions - code.google.com/p/lazsolutions
Lazarus-BR - groups.google.com.br/group/lazarus-br?hl=pt-BR
=============================================




More information about the Lazarus mailing list