Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Flash + MySQL + PHP + Safari ?



Hey all... I've got an interesting issue with a combo of Flash, PHP, MySQL, and Safari...

I've got an online lab assignment for students to complete, and answers are being sent from the Flash movie via PHP into a MySQL table. Once the insert/update statements are complete, a flag is sent back to the Flash movie to move on.

However, I'm finding that when using Safari, strange things are happening to the data. The pattern appears to involve variables that are created/processed in some way by flash. These include getting the values of some select fields that live within movie clips, and creating a string based on the positions of specific movie clips on the stage. Somewhere in transit between the flash movie & mysql, the last character of the values of these variables is getting cut off. When I submit the answer for the first time, the last character is cut off. If I go back to that question and re-submit the answer, the new last character gets cut off.

This is happening on the way INTO mysql, and only with Safari, rather than on the way out, so I suspect it has something to do with Safari and the way it handles sending/receiving variables.

There probably aren't a lot of people out there using Safari who would be taking this lab, but I know if there are Mac loyalists in the class, they'll want to use it and will be annoyed if they can't.

Anyone had any experience here and/or seen a solution/workaround?

Unfortunately, the lab needs to be behind an .htaccess file to force students to log in w/ their campus network ID's, so I currently can't provide a link to the file.

Thanks!
-Rob

--

Rob Maurizi  |  rhm design
email@hidden
www.rhmdesign.com
_______________________________________________
web-development mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/web-development
Do not post admin requests to the list. They will be ignored.



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.