This is the form:
<HEAD><TITLE>I am....</TITLE>
<META http-equiv=content-type content="text/html; charset=iso-8859-1">
<META http-equiv=pragma content=no-cache>
<META content="Chris Harker" name=author>
<META content="2001 Chris Harker" name=copyright>
<META content="Max: Considered Harmful"
name=description>
<META
content="blog, journal, web, design, styleswitcher.js, green, uk, english, diary, free, fonts, winamp" name=keywords>
<META content=all name=robots>
<META content="MSHTML 6.00.2712.300" name=GENERATOR>
<LINK href="http://max.krazeelove.com/format/blueboy.css" type=text/css rel=stylesheet></HEAD>
<FORM action="updateit.php" method=post>
I am listening to:<br>
<input type=text name=music><br>
I am currently:<br>
<input type=text name=status><br>
I should be:<br>
<input type=text name=should><br>
I love:<br>
<input type=text name=love><br>
<input type=submit>
</form>
</body>
this is updateit.php
<?php
$filename="http://max.krazeelove.com/update.txt";
//Open a connection to the file, "w" indicates we wish to write to it:
$file=fopen($filename,"w");
//If we couldn't open the file for some reason we can't write to it.
//(Production code would handle this more gracefully)
if(!$file)
die("Urk, failure to open $filename");
//Okay, we have our file open and reading for writing to.
//Don't forget the newlines!
fwrite($file, "I am listening to $music\n");
fwrite($file, "I am currently $status\n");
fwrite($file, "I should be $should\n");
fwrite($file, "I love $love\n");
//Done
fclose($file);
?>
what am I doing wrong?