Sending Images

Domain Hosting image
Web Hosting
Dedicated server
ssl certificate
Web Design image
Email

Dynamic documents doesn't imply only texgt. Your CGI programs can send dynamically created graphics or any other type of media for that matter. You simply print the appropriate MIME header followed by a blank and then the raw data.image.cgi will load a GIF image located on your file system and send it to the browser.

image.cgi first sends a Content Type header, and then loads the file in $file and prints it to stdout. You could easily modify this program to send audio or video files, as well, simply by editing the $file variable and the Content Type header.

Additionally, instead of simply loading premade graphics from the file system, you can actually generate images on the fly. For example, you could design a CGI program that generates a custom designed map with the parameters and details defined by the user, Or you could design a coloring book over the Web Once again, the complexity of such applications lies in generating these graphics, not in outputting the graphics to the Web browser.



Domain Name Search

www.


Copyright (C) 2007. Web Domain design hosting. All rights reserved.