Read from file (multiple lines)
Posted: Sat Jan 17, 2009 5:33 am
I am playing around with the sample project "Online User Authentication" and I have made my online script that properly can return OK or NOT OK depending on validation result.
However the sample only checks the first and I would like to return several lines is the result is OK.
I want to return a custom code that is to be inserted in a generated INI file and I also want to return a couple more information to insert in the INI to avoid the user having to do it themself. This is to ensure the information is correct or the application won't work.
So how do I read multiple lines and insert them into different variables ?
However the sample only checks the first and I would like to return several lines is the result is OK.
I want to return a custom code that is to be inserted in a generated INI file and I also want to return a couple more information to insert in the INI to avoid the user having to do it themself. This is to ensure the information is correct or the application won't work.
So how do I read multiple lines and insert them into different variables ?