# Php + flash

**URL:** <https://forum.kirupa.com/t/php-flash/5854>\
**Category:** Uncategorized\
**Created:** [September 24, 2002, 8:39am UTC](https://forum.kirupa.com/t/php-flash/5854 "2002-09-24T08:39:37Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![nookie](https://avatars.discourse-cdn.com/v4/letter/n/e9c0ed/32.png) [@nookie](https://forum.kirupa.com/u/nookie)\
**Post date:** [September 24, 2002, 8:39am UTC](https://forum.kirupa.com/t/php-flash/5854/1 "2002-09-24T08:39:37Z")

</div>

ok i hava a swf file with 2 textfiled :  
-subject  
-body

now i want to save this text to txt file (data.txt) so I use this script:

```php

<? 
$plik = "data.txt"; 
$file = @fopen($plik,"r"); 
fseek($file,2,SEEK_SET); 
$tmp = @fread($file,filesize($plik)); 
@fclose($file); 
$file2 = @fopen($plik,"w"); 
fwrite($file2, "a= <B>$subjec</B><BR>$body<BR><BR>$tmp"); 
@fclose($file2); 
?> 

```

Ok now the problem … i cant save web adress corectly … when i want to save for example the text:

please visit my new site : [www.myhomepage.com](http://www.myhomepage.com)

in txt file this text look :

please visit my new site : \<a href=‘[http://www.myhomepage.com](http://www.myhomepage.com)’\>[www.myhomepage.com](http://www.myhomepage.com)\</a\>

but it schould :

href=‘[http://www.myhomepage.com](http://www.myhomepage.com)’\>[www.myhomepage.com](http://www.myhomepage.com)\</a\>

any ideas ?

sorry for my english :x

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [September 24, 2002, 8:47am UTC](https://forum.kirupa.com/t/php-flash/5854/2 "2002-09-24T08:47:51Z")

</div>

OK Whole problem is in file :

thx
