spewn
Programmer
- May 7, 2001
- 1,034
Code:
<?php
$filename = "test.txt";
$fp = fopen( $filename, "w" ) or die("Couldn't open $filename");
fwrite( $fp, "Hello world\n" );
fclose( $fp );
?>
this is the code i'm using...and i have a file that is named test.txt saved in the same directory that the html file carrying the above php script is in...
it's not working...
any ideas?
- g