PDA

View Full Version : ToUserArray


JMH11788
02-10-2007, 03:53 AM
Could someone tell me what exactly uses the serialized data in pmtext:touserarray?

Would it matter if the userid wasn't correct on a few of them?

Thanks!!!

No one has a clue? Please help, it's really important for the plugin I'm making. I will be putting the final plugin up here but not if I can't figure this out!!

Ducks
02-12-2007, 10:54 AM
I'm not sure I understand what you are trying to..

But as far as I've been able to find out:

a:1:{i:3;s:3:"foo";}

a = # of recipients
i = userid
s = number of characters in username *

* echo serialized('foo'); // s:3:"foo";



To several users it would probably come out like:
a:2:{i:3;s:3:"foo";}{i:7;s:4:"foo2";}

JMH11788
02-12-2007, 12:21 PM
well I needed to know if the data is actually used for anything. I couldn't find anything that really did but that's okay, I just wrote a script to unserialize the data, make the changes, and reserialize it.

Thanks anyways.