Directory handling in PHP is pretty much the same and easier as in C. To fetch the current working directory in PHP – dirname( __FILE__ ) will do, but to fetch the current path url we need to rely on
Delete files older than x days in php
You may have situations where you want to delete files older than X number of days, but deleting them manually by checking date and time is not possible, and you might have completely avoided deleting the files which is no
What Linux Admin should know : User Management
Users are someone those who have given permission to access the server and enjoy the resources of the server. They can connect to the server via ssh and they can create, modify and delete the files and directories. Users can
Automatic Nofollow links in WordPress posts
Nofollow links might have haunted you whenever you come across the word SEO, and search engines stressing on its importance. If you want to add nofollow to your links in wordpress posts, here is a simple solution. In fact I
Facebook style “Time Ago” for WordPress
The last “Time Ago” function is short of few things, how about facebook style “Time ago” for posts and comments in wordpress. The last function that I wrote didn’t calculate for years, for example if I like to display “2