Menu
hi folks, ?
i have a text file in which it contains the following info:
//account.txt
$sms_gateway=”xxxx”;
$sms_username=”xxxx”;
$sms_password=”xxxx”;
so now, how can i make these variable to be edited from admin cpanel?
meaning, how can i query them to be editable using the webform ? ?
i am sure it has to do with fopen and fwrite. :rolleyes:
but fwrite will edit the whole file. So, how can i edit a particular variable ?
Note:
i dont want to use db for this.
thanks.