Posts marked with "Posts" in posts

StatCounter Popular Posts Plugin For WordPress

StatCounter doesn’t really have a Popular Posts plugin for WordPress. Though many WordPress blog uses SC, it doesn’t have a widget that shows the Popular Posts. I uses it and wanted to have this feature. So, I created a plugin called StatCounter Popular Posts written in short ad SPP. It’s a plugin that adds a widget to WordPress which can be added to the WordPress Site layout (sidebar, footer, header …).... [READ MORE]

How To Set Same Cookie On Different Domains

You might have seen sites like Google setting the login status cookie on the various domains of theirs (YouTube, Blogger). As you may know, cookie can’t be set in a different domain from another domain directly. If you’re having multiple sites in where you need to set a cookie from a parent site, you can use basic **HTML **and JS to set the cookies. Google is using this same way.... [READ MORE]

Compress PHP Site – HTML, CSS & JS

UPDATE Site Compressor is now an app on Lobby. To use Site Compressor, download Lobby and install Site Compressor app. Compressing / minifying a site’s code will improve the data transfer from server to the client. The browser will be easily able to get the content from server. There are a lot of benefits that comes with site compression. I use compression too in my own way. My site Open is heavily compressed.... [READ MORE]

Minify JavaScript Using PHP

Making JavaScript codes is difficult and long. In Web projects, we try our maximum to minify JavaScript and CSS to serve content better. There are many sites on the Web that helps to compress/minify JS code. There is even a PHP Software to do this. In this post, I’ll tell you how to use the PHP jSqueeze library to minify JavaScript code. DownloadDemo Setting Up You can get the class code of JSqueeze from here.... [READ MORE]

Find MIME Type of File in PHP

**MIME **type is needed to know what kind of file we’re looking at. HTML files have the MIME type text/html , for gif image, it’s image/gif and so on. Since PHP is a dynamic content creator language, MIME type is a very important thing you should know about in PHP. In this small post, I’ll tell you how to find the MIME type of a local file in your server.... [READ MORE]

Call Parent Class construct Before Child’s In PHP

If in PHP, you are making a child class of a parent class in which both have the __construct function and you want to call both of them when the child object is made, it won’t work. This is because, when you make the child class object, it’s construct function is called. The parent’s construct function is being overridden by the child. The PHP manual on OOP (Object Oriented Programming) notes this :... [READ MORE]

Define Array as Value of Constants in PHP

Constants are something that is needed for every computer languages. In PHP, too you can set constants. But you can only set string values which is a pity, because if you want to set arrays for making it easy for obtaining multiple values, you can’t do it. In this case, we explore the unimaginable possibilities of programming languages. As like any other language, PHP too has a secret weapon to accomplish this task.... [READ MORE]

PHP Secure, Advanced Login System

We all get new ideas every day. With the idea, we build more and more sites. Mostly, the sites would have a login system, right ? So, when we create new projects (sites) every time, we will have to create login systems for each one. I do the same thing and I’m tired of creating the same thing over and over again. So, I decided to create a login system that can be integrated to any PHP powered sites.... [READ MORE]

Global Warming, you here yet ?

We all have been hearing about Global Warming and it’s consequences. The studies tell us that the effects of it will soon be experienced by us. In my place (Kerala), I say it’s already started. Millions of Trees are going down each day and people push out harmful Carbon compunds into the atmosphere without thinking. On a cruel world like this, I feel really sad. Kerala faces heavy summer and heavy monsoon.... [READ MORE]

Create An Advanced Crawler In PHP

Crawlers are everywhere. They move on and on to many webpages each second. The most biggest of them are Google’s. It already crawled almost 90% of the web and is still crawling. If you’re like me and want to create a more advanced crawler with options and features, this post will help you. DownloadDemo When I created my Search Engine test project, it needed an awesome crawler. I knew that developing one on my own will be hard especially when you have to follow robots.... [READ MORE]

Follow/Subscribe

Telegram 

Mastodon  Twitter

GitHub GitLab

Subdomains

Demos  Lab

Past

This blog was once on WordPress. Now a static site. See source code on

GitLab