Archive for the ‘PHP’ Category
Friday, November 19th, 2010
I just searched for ways of getting the start and end dates of a week. Sadly there is some less than simple solutions in the top results, this is a small effort at remedying that situation.... Read More
Tags: date, PHP
Posted in PHP | No Comments »
Thursday, November 4th, 2010
Today I just realized I didn’t have any PHP code to generate extended MySQL inserts at my disposal. For heavy inserts I’ve been using BEGIN and COMMIT with lines terminated with ;. ... Read More
Tags: mysql, PHP
Posted in Database, PHP | No Comments »
Monday, October 25th, 2010
So the jQuery / Flash multiple file uploader has not really been working when it comes to heavy duty stuff “Flash player has crashed” is a common scenario after some six < 2MB pictures, problem is, it needs to be able to handle up to 50 of them.... Read More
Tags: file upload, PHP, xhr
Posted in Javascript, PHP | No Comments »
Saturday, October 2nd, 2010
Demo here (go ahead and submit the form as much as you like, it will keep pre-populating with the data you submit).... Read More
Tags: jquery, PHP, recursion
Posted in PHP, jQuery | No Comments »
Saturday, July 17th, 2010
Recently I’ve just finished migrating a custom forum to vBulletin, in doing this your mileage may vary, much of it depends on if the original forum was part of a bigger offering that should still exist, or if it was standalone. In my case the site is cardlovers.com, a poker rakeback site, where the new forum is located at cardlovers.com/forum... Read More
Tags: forum, mysql, PHP, vBulletin
Posted in PHP | No Comments »
Monday, February 8th, 2010
What is Memcached and what is it good for?... Read More
Tags: memcache, memcached, PHP
Posted in Database, PHP | No Comments »
Friday, January 29th, 2010
Well that didn’t take long, unsurprisingly. I needed the interface to handle foreign relations, for this I would’ve liked to use conventions, for instance that all primary autoincrementing keys be named id. However the legacy database I’m working with won’t allow that, so we need configuration:... Read More
Tags: jquery, PHP
Posted in Ajax, PHP, jQuery | No Comments »
Sunday, January 10th, 2010
I recently made a very simple but functional administrational interface using jQuery and Ajax to avoid having to refresh the page all the time thus simplifying development.... Read More
Tags: ajax, Javascript, jquery, PHP
Posted in Ajax, PHP, jQuery | No Comments »
Wednesday, December 9th, 2009
This tutorial will all be about managing loading data into multiple select lists and then save the selections in the list.... Read More
Tags: ajax, Javascript, jquery, json, multi select, PHP
Posted in Ajax, PHP, jQuery | No Comments »
Friday, November 27th, 2009
This is the long walkthrough on how to fix this problem which is due to the fact that a too low memory limit is set in the PHP ini file.... Read More
Tags: apache, memory limit, PHP
Posted in PHP | No Comments »