21.12.2012, 15:52
Ok first lesson first: Don't use strtok. It's slow and outdated. Look up sscanf instead - it's faster and honestly easier once you get the hang of it.
Second of all: You don't have the dini.inc included in your script. To use dini function, you have to have the dini include.
If you will be so kind (to yourself), go read up on sscanf, learn how to use it, and start using it.
All your errors are connected to dini.inc and the strtok function to extract parameters.
Second of all: You don't have the dini.inc included in your script. To use dini function, you have to have the dini include.
If you will be so kind (to yourself), go read up on sscanf, learn how to use it, and start using it.
All your errors are connected to dini.inc and the strtok function to extract parameters.