# Writing php codes from flash

**URL:** https://forum.kirupa.com/t/writing-php-codes-from-flash/259098
**Category:** Uncategorized
**Created:** [May 1, 2008, 2:24am UTC](https://forum.kirupa.com/t/writing-php-codes-from-flash/259098 "2008-05-01T02:24:03Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![epoy08](https://avatars.discourse-cdn.com/v4/letter/e/b5a626/32.png) [@epoy08](https://forum.kirupa.com/u/epoy08)
#### Post date: [May 1, 2008, 2:24am UTC](https://forum.kirupa.com/t/writing-php-codes-from-flash/259098/1 "2008-05-01T02:24:03Z")

</div>

I am currently developing a php encoder from flash. It writes php codes that i made from flash to a new or existing php file. i have a problem on sending codes. I think its because of transfering my codes as a string.

eg:

```auto
 
--------------------------------
 flash - input | php - output
--------------------------------
<?php | <?php
echo "test"; | echo \"test"\;
?> |

```

The example above happens everytime i try to send a variable containing the code to a php file. It automaticaly adds [\] before and after ["]. I have run some tests and concluded that the flash is the one who adds [\] to the variable that i made.

Can anyone help me or give me hints on how can i store varibles with ["] not affecting its contents.

thanks in advance.
