Actually theĀ user_name is a string
and the script i gave you is just example we are doing a lot of encoding and decoding in it so can't use the rlm_php

actually you can suggest me the changes needed