After spending 3 painful hours fixing options of cForms plugin for WP, after migration to live site, i’ve discovered this bit of code at php.net, which helped me fix the options array and get my forms back online. $serialized = preg_replace_callback( ‘!(?
Archive for the ‘php’ Category
Fix serialized array errors
Posted: 10th January 2011 by shadyvb in php, wordpressTags: cforms, offset, phpmyadmin, unserialize, wordpress
0
dir2array : Read folder contents recursively in PHP
Posted: 22nd November 2009 by shadyvb in phpTags: folder contents, folders, multidimensional array, opendir, readdir
PHP Function to read folder contents recursively into a multidimensional array like a tree.