replaced intval() around $web_service_id with $addslashes()
drwxr-xr-x - docs