# Problems with PHP and AS2

**URL:** <https://forum.kirupa.com/t/problems-with-php-and-as2/219985>\
**Category:** programming\
**Created:** [March 21, 2007, 6:29pm UTC](https://forum.kirupa.com/t/problems-with-php-and-as2/219985 "2007-03-21T18:29:55Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![misterpatrick](https://avatars.discourse-cdn.com/v4/letter/m/da6949/32.png) [@misterpatrick](https://forum.kirupa.com/u/misterpatrick)\
**Post date:** [March 21, 2007, 6:29pm UTC](https://forum.kirupa.com/t/problems-with-php-and-as2/219985/1 "2007-03-21T18:29:55Z")

</div>

Hello all,

I’m not having any luck with this over in the Flash 8 forum. For some reason, I always seem to post questions that no one knows the answers to. Anyway, I am working on a Flash file from an early tutorial file developed by Alessandro over at sephiroth.it. It’s working fine, that is it works fine until I update the file to run using AS2 and Player 8. It’s a basic poll that uses PHP to read and write to a text file. Well, something with AS2 breaks the file and I’m not sure where.

I’m openening the scene with an animation that resolves to the poll. I am using the lmc\_tween classes for animation. So I need to use AS2 and newer players.

I can’t figure out what is wrong, it just bogs down the browser so I think it mght have something to do with the PHP file, or the portion of the AS that communicates with the PHP. I don’t know PHP so can’t really tweak the file.

Here is a link to the original files. I can post my version of it if that helps anyone figure this out.

[http://www.sephiroth.it/tutorials/fl…flash\_poll.zip](http://www.sephiroth.it/tutorials/flashPHP/text_poll/files/flash_poll.zip)

Thanks a ton!
