I'm reading a simple file of logset.txt which only contains Login:,Pass:
File is stored on webroot.
Reading it, and if no data after :. I want user to set their login data and store it.
So they would enter on a form their login and password. So enter Bob and Turkey
And then I want it to Overwrite the logset.txt file as: Login:Bob,Pass:Turkey
I am trying this with no luck.
<cfset nf = "Login:Bob,Pass:Turkey">
<CFFILE ACTION="Write"
FILE="logset.txt"
nameConflict="overwrite"
OUTPUT="#nf#">
Is this a path issue? I have tried "/logset.txt" and "\logset.txt"