Twitter like N min/sec ago timestamp in PHP/MySQL
While working on one of the forum project, I had to print the timestamp of a topic in format “N Seconds ago” or “X minutes ago”.! The Web 2.0 world have changed the way...
While working on one of the forum project, I had to print the timestamp of a topic in format “N Seconds ago” or “X minutes ago”.! The Web 2.0 world have changed the way...
While working on one of the application, I had to manage users who logged in to the application and manage their details. In order to manage user’s avatar, I had to create a form...
Following are list of 15 most useful PHP code snippets that a PHP developer will need at any point in his career. Few of the snippets are shared from my projects and few are...
The basic idea this time is to present a way to form a tag cloud from user input text and text entered in the past. A tag cloud is a visual depiction of user-generated tags,...
Usually users upload their file to a server through a web form as shown below: The HTML form looks something like this: Here uploader.php is a simple script that uploads the file to the...
Since few days we have been registering heavy traffic spikes on our website. This lead to performance issues. As this site is currently hosted on a shared hosting server, it is very difficult to...