Archive for the ‘PHP’ Category

PHP Session in Depth

There are a few articles out there that delve bit deeper into the mechanism of php session, like customized session_set_save_handler(), security challenges of php – session fixation etc. But my problem is more about when session file is opened , when session is read ?and when session is saved? in the context of calling session functions like session_start(), or getting and setting of members $_SESSION array, in other words, what really does session_start() do? Read the rest of this entry »

Post Data to WordPress Permalink 404 Not Found

Do you know that when you post data to a WordPress permalink, data field name might conflict with reserved query variables in WordPress, and end up a 404 not found response? Read the rest of this entry »

Tags:

Remote PHP Debugging via Eclipse PHP and Xdebug

Ever dreamed about debugging the php app on live? With Xdebug it becomes possible to actually debug a remote (deployed) php app on your development pc. Here I am going to show you how to do that. Read the rest of this entry »

jQuery NoConflict in WordPress

As WordPress loads the jQuery library in no conflict mode, $() short cut is no longer supported in javascript in WordPress, this breaks most of the open source jquery add-ons or javascript code we have written before. Read the rest of this entry »

Tags: ,

WordPress Page Specific Hooks

There are many hooks in WordPress for plugin developers to catch as an extension point, downside of it is those hooks will be raised on EVERY PAGE, which is an issue if you need to use a large chunk of javascript only for one page, those hooks called actions and filters are site wide, if not careful large chunk of javascript meant for one page could be emitted to every page, a definitely performance killer. Read the rest of this entry »

Tags:

Page 2 of 612345...Last »