I noticed that if i try to fputs a variable that contains leading spaces, the spaces will not be sent to the file.
[php]//note the spaces in the variable before the string “data”
$data = " data to be written to the text file";
i haven’t found a way to resolve this yet. has anyone come across this and/or have a fix for it?