Flash -> PHP serialize error in PHP

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
seebach
Forum Newbie
Posts: 1
Joined: Tue Apr 13, 2004 3:00 am

Flash -> PHP serialize error in PHP

Post by seebach »

Hi

I'm trying to send serialized variables from Flash to PHP, my trouble is that I get a __PHP_Incomplete_Class Object and __PHP_Incomplete_Class_Name] => object errors and I'm unable to access the data in the Object. According to the PHP man's there should be multiple ways of correcting, though I've unsuccesfuld in deploying them. It is said that I should include the which create the object when I  try to unserialize the data, but that class is made in Flash. I've tried to set up similar classes to that Flash used, but without succes.

Code: Select all

this php:
print_r(unserialize(utf8_decode(urldecode($_POSTї'customerInfo']))));

outputs this:

__PHP_Incomplete_Class Object
(
    ї__PHP_Incomplete_Class_Name] => object
    їPhone_work] => 123123123
    їPhone] => 123123123123
    їEmail] => asd@asd.dk
    їAreaCode] => 1111
    їCoAddress] => 
    їAddress] => asd
    їSurName] => asd
    їName] => asd
    їAmount] => 77.15
    їPayment] => PostExchange
    їDelivery] => ParcelPost
)
So I'm supposed to include the class, that created that object? How da f*** do I that? Or is there a workaround?
Post Reply