403 error for save <SCRIPT> into file on the server

hi and sorry for my English
i write an small application by PHP that read/write html/or/txt file by simple form.
.
its worked as well until server updated by litespeed protection method.
.
here it is my code ------> do.php

thanks "Nite wave" for your reply
.
Im just a client on the server and can not access to the server configuration.
.
Litespeed does have .htaccess file (same as appache) to listen each folder by configured rule ?! (for security)
.
or can i resolve this issue by scripting ?

may be not. try to ask your host to disable that rule.
if that rule already disabled, then maybe mod_security plugin for cPanel has been installed by your host, that acts same as request filter but more powerful and complex.