changing php code for client page