I guess you didn't understand my question, Or I didn't understand your code.
The problem is, my st*p*d host is banned some codes like "rate,ip" and other stuff. So I can't use these words in my code. I'm trying to bypass it. So I wan't to use "%s" instead of "rate". I hope I could described my problem.