1
ok here's what i have on a new module.
// the name of the xml file
$file = "blah.xml";
// the data
$data = "1.0"?>n";
$data .= "n";
$data .= "tTag Datan";
$data .= "";
// open the file and write the data to it
$p = fopen( $file , 'w' );
$w = fwrite( $p , $data );
$c = fclose( $p );
// a message
echo "The data was sucessfully added to the file $file";
?>
i'm trying to figure out how to replace the "blah" in blah.xml with the users id. Or even username. anything unique.
Do i make any sense to anyone?