Content Widgets – free content for your website

No Comments » Written on January 14th, 2015 by
Categories: Content

widgetWidgets are small snippets of dynamically updated content that can be used on a variety of platforms. Surely you have already used such a widget on your PC, or more likely on your smartphone, delivery content in a small box. Similar implementations are also available for the web: if you have a website, most likely you will find related widgets that you can implement in your webpages to enhance user experience.

Read the rest of this entry »

CDN or how to make your website lightning-fast

No Comments » Written on February 8th, 2014 by
Categories: Website Development

contentdeliverynetworkIf you run a website or plan to develop one that should attract a good amount of traffic, CDN services are something you should consider. You might have heard already about CDN or Content Delivery Network, but you are not sure what that is. Well basically a CDN service helps a website get faster and takes off some loads that otherwise are meant to your hosting account / server. For a regular website / blog, not using a CDN might not be a problem, but for websites with 1000s of hits / day, this could add up to important server bandwidth and process loads.

Read the rest of this entry »

How to run PHP code in .html or .htm files

No Comments » Written on January 9th, 2013 by
Categories: Website Development

PHP code is in fact compatible with HTML code, allowing for more dynamic developments. You can include PHP code within a HTML code or vice versa as long as you correctly keep the syntax for each language code. However, for PHP code to be executed on the server side, it needs to run in files with the .php extension. The .php file extension tells the server how to execute the code within the file. Including PHP code in a .html or .htm file will not work as the server will execute the code differently because of the extension. So how to override the server settings and tell it to execute PHP inside .html / .htm files as well?

Read the rest of this entry »

How to stop image Hotlinking with .htaccess

No Comments » Written on January 4th, 2013 by
Categories: Website Development

Hotlinking is a term used in the web community for those cases when a webmaster uses on his website an image that is hosted somewhere else. This does happen more and more, as there are many “lazy” webmasters that do not want to waste their time to at least copy the images they use on their own web server. Hotlinking simply puts extra processes on your hosting account, also using a good part of your website bandwidth, making it slower for your visitors.

Read the rest of this entry »