Could it be the other way around, i.e. Windows is stripping slashes, and
Linux is not? How does $contents come to exist in the script?
Check for any difference in your ini files for magic_quotes_runtime.
Cheers,
David Grant
Janne Miettunen wrote:
> What could be wrong when this is transformed:
What could be wrong when this is transformed:
""
to this form:
""
The line is saved to text file with this function:
function savesite($site, $lang, $contents){
if (check_session()){
$file=fopen('content/' . $site . '_' . $lang . '.txt', "w");
fwrite($file, $contents);
fclose($file);
}
I
2 matches
Mail list logo