
Web Design
Company - Prime Advancement Group has a unique space among thousands
of Professional
Web,Software & Mobile Application Development Companies. Our mission
is to provide customized and usable solutions which maximize our client's
Return On Investment.
PHP TIPS:
Providing Header Information:
By default, each code written in PHP would contain a header file that provides information about the type of image that will be stored by using the code. The header files contain the Content -type header that stores this information. You can also direct the image information into the HTML Web page by specifying this in the header. The following code specifies that the output should be displayed in the Web page.
header ("Content type: text/html");
You can also use the header () function to specify that the output file should be JPG, GIF, or PNG, depending on your requirement. Therefore, you can use the header information to specify the different types of image files that you want to create in your program. The following code displays how you can specify these instructions in your code.
Header ("Content type: text/html");
Header ("Content type: text/html");
You'll learn to create images in PHP in the next section.

