reactos/rosapps/applications/sysutils/rosddt/hw.php
Aleksey Bragin 8e59bc0550 - Add ReactOS Device Detection Tool - RosDDT. It's a command line tool for checking PC's hardware configuration for compatibility with ReactOS, and for reporting working hardware configurations to ReactOS hardware compatibility database. The tool is able of autoupdating its hardware compatibility database.
* Web part is stubbed for now (hw.php) and needs to be developed.
 * Actual hardware database file (rosddt.ini) has only sample information.
 * Readme file is in Russian language, however running rosddt.exe without parameters provides a built-in English usage help.

svn path=/trunk/; revision=41282
2009-06-04 12:38:30 +00:00

10 lines
No EOL
190 B
PHP

<?php
$file = fopen ("hw.txt", "a");
if (!$file) {
echo "<p>Unable to open file for writing.\n";
exit;
}
fputs ($file, $_POST['data']. "\n");
fclose ($file);
echo "_ok_";
?>