string log = mc->getUserName(); //is it correct? Anyway it
compiles correctly...
ofstream out;
out.open("/root/Desktop/fileLoginUtente.txt", ios::app);
out << "Test: " << log;
The problem could be that the server may not have the write permission
to write to the location /root/Desktop.
Try: out.open("/tmp/fileLoginUtente.txt", ios::app);
and see if the file gets written.
Samisa...
--
Samisa Abeysinghe : WSO2 WSF/PHP
"http://wso2.org/projects/wsf/php?WSO2 Web Services Framework%2FPHP - Open source PHP extention for providing and consuming Web services in PHP"
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]