Ongoing and completed projects
- Forum
- A medium scale forum system targeted for internal messaging purposes of a company or an orgnization. The admin can restrict to users and their posts while the admin can also restrict users from starting a new thread restricting them only to reply to threads. The unique feature it has is that users can attach files with their posts.
- WebSite Uptime Monitor (eMonitor)
- eMonitor is a tool that will monitor the uptime of a website. It runs checks on HTTP, FTP, POP and SMTP ports and if they fail to repond it alerts the webmaster via Email. Multiple hosts can be added. The time interval to run check on a host can be customized. Monthly and daily reports can be generated to check ther uptime/downtime statistics of each service.
Scripts I wrote for daily needs
- My Blog
- A simple blog I wrote to suit my needs with a basic calendar. Posts are categorized by month in the Archive. Recent posts are displayed as well. Users can post a comment for each post. RSS feed is also available.
- My Time Server
- A small piece of code that shows the current time in the major cities of the world. (Daylight saving time is not taken into consideration)
- PHPThumbsUp v1.0
- Using this small script I can simply display the images I have uploaded to the server. My job is simply to upload the pics to different folders on my Web Server. PHPThumbsUp will display all the images on that folder as thumbnails resizing it on the fly. I used GD Library for this purpose. The full size image can be viewed on a pop-up window when you click on the thumbnail image.
PHP Classes
- easyFormProc v1.1.0
- A handy class that will create and handle all the process of the elements in a form. The processes include form posting, validation and retrieving the posted values. I have added few common validation functions. Custom functions can also be added.
PHP Custom Functions
- print_ri()
- A modified version of print_r() function.
- genRandomStr()
- Generates a random string. Useful for generating random passwords for users. Length can be specified.
- calcTimeStamp()
- A function that will calculate the timestamp of a date/time which is in YYYY-MM-DD HH:MM:SS format, the format used by MySQL to display DATETIME values. This function also allows to add hours, minutes, seconds, days, months or years to the calculated timestamp if required.
- paginateRecords()
- The paginating calculations can be easily done using this function. It also returns the necessary strings to be displayed on the page.
- resizeImage()
- This function can be used to resize an image on the fly. Original image width and height proportions will be maintained when its resized. Additional part of the image will be stripped off and the portion to be copied from the source image can be defined in that case. The resized image can be either displayed on the browser or a filename can be specified to save it on the filesystem. Requires GD Library.
- useSpTemplate()
- A very basic templating function that will replace the values to the relative placeholders on a template file.