I am a web & mobile app developer based in Lahore. I have been developing creative, interactive, usable & successful web apps, web portals, php and Flash action scripting, REST apis, WordPress plugins & themes. In recent years, I have worked on Ionic, Angular and TypeScript for hybrid mobile apps, Flutter & Dart, React & React Native, and Swift native iOS mobile app development.
PHP/MySQL datetime formatting bypassing UNIX_TIMESTAMP Formatting MySQL date to something useful has been a pain for PHP developers for a long time. Usually you would make your query return the datetime using UNIX_TTIMESTAMP and then using PHP date function, format it to your heart’s content like this: echo date(“F jS, Y h:i:s A”, $row->date); But…
As Apple previewed the new version of its iPhone OS, it also has updated the agreement that developers must adhere to if they want to create applications for Apple devices. Since the iPhone went on sale in 2007, Apple has not allowed Flash onto the device, essentially shutting Adobe out of the creative process behind…
Having tried several open source project management and bug tracking tools, such as dotProject, mantis etc, Redmine turned out to be the best and most comprehensive tool only if it were that easier to set up too! but hey this is why you are here in the first place! Redmine is a flexible project management…
In a FBML Facebook App, your quick jump menu will require a little tweak to work in FBJS properly. Just change your standard js jump menu from: Page1 Page2 Page3 To this: Page1 Page2 Page3 Cheers.
I was adding some features in one of my older website for a client and saw this warning: Warning: Unknown: Your script possibly relies on a session side-effect which existed until PHP 4.2.3. Please be advised that the session extension does not consider global variables as a source of data, unless register_globals is enabled. You…
For any webmaster, switching web server is a nightmare, especially when there is large number of files to move to a new server. After some bitter experiences, I have found out following methods to move your data files and database quickly and painlessly from one server to another. I’m sure these SSH commands will save…
So out of curiosity or some Facebook application development prospect forced you today to check on a Facebook application and which brought you here to this blog post. After signing up for Facebook Apps and downloading facebook-platform.tar.gz, you find a sample application named ‘footprints’ inside it. Footprints App is kinda ‘Hello World’ of Facebook applications.…
A while back I had to develop a news widget/ticker as part of my PHP website development project. First part was to fetch news items regularly via RSS feed, cache the feed and parse it for displaying and for this I used MagpieRSS. Second part was to show the parsed news items as scrolling text…
MagpieRSS is a XML-based RSS parser in PHP. MagpieRSS supports most RSS versions including modules and namespaces. Magpie RSS also supports caching which is kind a must while parsing any feed because you don’t want to fetch the feed for every hit on your website and risk getting banned. Although Magpie RSS is really useful…
Installed Page Speed Firefox/Firebug Add-on and tested few of my websites today with this Add-on. It gave some very good suggestions to remove commented js and css code that I had never cared to remove before. It also suggested images optimization which I think is very good thing. Most web designers & developers never bother to check…