Header("Content-type: image/gif") help
I am having trouble using this command at the top of scripts, it says that all white space should be removed before it and no html code can be before it.
But i want the image in the middle of a html document.
Thanks a lot
RE: Header("Content-type: image/gif") he
I think what you're trying to do is the following. You will need at least two PHP scripts. One for the HTML (we'll call it A.PHP), one for the embedded GIF (B.PHP).
A.PHP does the following-
embed html and php here
B.PHP does the following-
...generate image here...
Small footprint P2P web server for Windows,
File-sharing, PHP, wireless apps & more
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)