# PHP blank page

**URL:** <https://forum.kirupa.com/t/php-blank-page/252730>\
**Category:** programming\
**Created:** [February 22, 2008, 9:18pm UTC](https://forum.kirupa.com/t/php-blank-page/252730 "2008-02-22T21:18:48Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![suvenier](https://avatars.discourse-cdn.com/v4/letter/s/4af34b/32.png) [@suvenier](https://forum.kirupa.com/u/suvenier)\
**Post date:** [February 22, 2008, 9:18pm UTC](https://forum.kirupa.com/t/php-blank-page/252730/1 "2008-02-22T21:18:48Z")

</div>

hi.

I´m building a very simple chat room using php and flash.

flash sends the variables “name” and “user” to php.  
(“name” and “user” are inserted in a input box.)

```auto

submit.onPress = function () {
      getURL ("counter.php", "_blank", "POST");
}

```

I also built Php script that stores the chat log in a text file (count.txt).

```auto

<?php
$name = $_POST['name'];
$user = $_POST['user'];
 
$file = fopen("count.txt", "a+");
 
fwrite($file,"
");
fwrite($file,$user);
fwrite($file,":");
fwrite($file,$name);
 
fclose($file);
?>

```

ok. all the code is working fine, but every time a person submits its text, a blank internet window opens…

How can i stop that?

:?) thx in advance.

See for your self [http://novadez.100webspace.net/php/php.swf](http://novadez.100webspace.net/php/php.swf)  
(i dont know if it is working… try to copy to your adress bar if bad link.)
