i would like to know if php can replace javascript as a client side script.
one can use javascript to do all kinds of things like computing values in textboxes and check them for errors and so on. is it possible to use php in its stead?
lets say i want to make the client interactive without it having to go back to the server for each button pressed can i use php instead of javascript? and can i use it without first having to install a web server and php on the client because such a thing would of course be impractical for a project where the client can be somewhere in some internet cafe.
i suppose the question can be summed up in: are web browsers able to use either php or javascript for client side scripting without making any kind of fuss about it needing a web server or an installation of php or anything? this is of course if i only want to learn or use php and not both php and javascript but without me having to go to each internet cafe on earth and installing php on it.