I have this register script,
and i want a textfile to be created when a user registers
with the username as filename.
Is this the right code?:
$fp = fopen("items/"."$char_name".".txt", "w+");
fclose($fp);
.. whats happening is that the folder i made (items) gets deleted.. but is still there on the server and i cant use or delete it.