Hey guys.. I wrote a script that writes to a dat file with the following username:plan: .. example test:20: they have 20 hours of 'dialup' access.
If say the user "test" calls and wants to upgrade their plan to 50 hours (our next plan) how would i write to the dat file and just replace the $plan ?