In PHP, to access session variable stored in $_SESSION array the page must have session_start() method invoked earlier, but when it is called multiple called, it throws PHP Notice "session already started".
This tutorial focuses on integration virustotal.com API in a PHP application without using any other api wrapper. This make the integration more integrated, reliable as you have complete control and visibility, efficient and fast as there no bloat code in it.
Almost all of the modern web application incorporate the functionality of file upload. It may range from a user display picture or a document that may be share across all member of a team. A file when uploaded to a server it should be treated as "containment" and through checks should be implemented to check it. If a file upload is taken lightly it may compromise the entire server which cause a devastating effect on an organization's business. This tutorial aimed to point out ways by which an upload an be secured on server.
When run application on your computer, the computer know who you are, what are you doing, what data you alter, when you close your application and so forth, this is called session. In web communication we use Hyper Text Transfer Protocol (HTTP), which is a stateless protocol that does not retain information on server and treat all request as independent request. To make it remember user information we use SESSION.
Generating PDF from HTML using PHP is fairly simple and easy using HTML2FPDF. Lets get straight to point, who has time to read and "write" the obvious stuff.