News, updates, guides, tutorials and some other things..
Information and howto articles for PHP
If you’ve got a filename that you need to remove the extension from with PHP, there are a number of ways to do it. Here are three ways. pathinfo() The pathinfo() the function returns an array containing the directory name, basename, extension, and filename. Alternatively, you can pass it one…
There are tons of themes and plugins coming out for WordPress every day, but none of them seems to utilize this feature. WordPress developers should add a custom dashboard widget with support information. In this post, I will show you how you can add RSS feed widgets in the WordPress…
CSS or Cascading Style Sheets is a language used to describe the presentation of a document written in a markup language. If you’re developing a very complex design for your site, CSS scripts become very long and take too much time to load. But a compressed CSS script can help…
It is great that you can have a twitter follower button on your website or blog. Some bloggers or developers, using heavy plugins to show their twitter followers count on their website. In this note, I will show you how you can display the total number of twitter followers as…
Normally date formats are like “ January 1 2010 10:40:25 GMT” , “01 Mar 2010“, etc. But here I tell you ‘how to show date like “1 minute ago“, “2 days ago“, displayed on Facebook , Twitter etc.. In PHP time(); function returns a Unix Value of current date and…