When working on a Joomla website, which is using the Urdu language package, I was trying to show the current date in Urdu on the top of the website header too. However, looks like finding the correct format string to convert the date to Urdu (or current language) was bit more tricky than I thought.I […]
Posts Tagged ‘PHP’
CodeIgniter File Upload and Mime Types
As I mentioned in my other post CodeIgniter and File Upload Library, uploading a file using CodeIgniter requires you to also know the mime type of file being uploaded and add it to proper location. I’m using CodeIngiter framework for Dynamic Subtitle Translator application, and it had worked great for me. However, few of my […]
PHP CURL and Peer Certificate Issue
I have been using the Microsoft Translator API for some time, and it worked great. This API requires the “Access Token” to validate all the AJAX calls, and it has been working fine for months. Now a few days back, it broke, and when debugging the issue, I found that it was failing with the […]
CodeIgniter and File Upload Library
CodeIgniter is a compact and amazing framework for developing neat and clear PHP projects. The more I work in this, the more I’m falling in love with it. Though it’s very well documented, but you can’t expect to find all what you need in the help file. I was working on a project where I […]