Hello,
I need to pass data from one website to another. Site A has a page that outputs a serialized array. Site B gets it like that:
$serialized = file_get_contents('http://www.website.com/data');
Everything works fine but… I can’t unserialize the variable. However, if I die($serialized); and copy the content into a string and unserialize it, everything works fine. So no problem with the serialized data itself.
What could go wrong?