How to block showing your site in IFrame (Anti-iframe)

Recently, I found that one of my popular sites is shown as part of other site. So visitors of that not-mine site, being on that site, can access all the services of my sites. They used my site content and services via iframe and took benefits from my site.

Below is the solution how to prevent this, i.e. block showing your site content via iframe. The solution is pretty simple.
Continue reading

Taking Screenshots of Websites with PHP

There are many command lines tools you can use to take a screenshots of a web page. See the list of tools here: in Windows, in Linux. The mentioned tools can be used on a from a php script using shell_exec function.

* If you are looking for taking screenshots programmatically in .NET – read the post Taking Screenshots of Websites with .NET Windows Forms.

Continue reading