[wp-hackers] Have I gone mad?

Simon Prosser pross at pross.org.uk
Fri Apr 26 20:05:43 UTC 2013


The data in the OP did not have a colon
http://screencast.com/t/nKoCEK5SyRk


On 26 April 2013 20:29, David Anderson <david at wordshell.net> wrote:

>
> On 26/04/13 19:40, Simon Prosser wrote:
>
> > you have a : missing in there
>
> You're just experiencing some URL wrap in the email. I produced the
> unserialised output from that string:
>
> $ php unserialize.php
>
> a:3:{s:6:"action";s:15:"**updraft_restore";s:16:"backup_**
> timestamp";s:10:"1366984477";**s:15:"updraft_restore";a:5:{i:**
> 0;s:7:"plugins";i:1;s:6:"**themes";i:2;s:7:"uploads";i:3;**
> s:6:"others";i:4;s:2:"db";}}
>  Array
> (
>     [action] => updraft_restore
>     [backup_timestamp] => 1366984477
>     [updraft_restore] => Array
>         (
>             [0] => plugins
>             [1] => themes
>             [2] => uploads
>             [3] => others
>             [4] => db
>         )
>
> )
>
> Where unserialize.php is:
>
> #!/usr/bin/php
> <?php print_r(unserialize(fgets(**STDIN))); ?>
>
> Anyway, missing colons in serialised output copied in emails does not
> indicate how the error condition is triggered in the first place, which is
> the question!
>
>
> David
>
> --
> WordShell - WordPress fast from the CLI - www.wordshell.net
>
> ______________________________**_________________
> wp-hackers mailing list
> wp-hackers at lists.automattic.**com <wp-hackers at lists.automattic.com>
> http://lists.automattic.com/**mailman/listinfo/wp-hackers<http://lists.automattic.com/mailman/listinfo/wp-hackers>
>



-- 
My Blog: http://pross.org.uk/
Plugins : http://pross.org.uk/plugins/
Themes: http://wordpress.org/extend/themes/profile/pross


More information about the wp-hackers mailing list