As the title asks, Can any1 tell me the code for saving the Login Info as a Txt File? It should automatically create that file too. Thanks In Adv!! +Rep will be given.
<?PHP $fHandle=fopen("file.txt","w+");//Write...Ensure the file/dir has permissions fwrite($fHandle,'User:Pass\r\n'); fclose($fHandle); ?> PHP: Not sure if thats you mean, but that writes a file.
The W+ creates a file if it doesn't exist already, so. but if he is saving into a file, he wants a+. That will append.