Are php and java script identical
Posted: Tue Sep 01, 2009 11:31 pm
Hi All,
I am a 73 year young retired engineer and I stay young by programming and designing web pages. I am in the process of teaching myself php and I have noticed that php is very simular, if not identical to java. Even to the built in functions like "document.location.replace". Am I correct?
Can I change java scripts to php scripts so the code runs on the server rather than in my local machine. I would like to do this so that the user would not need to enable java scripts each time the script is run. I find this annoying and I believe a lot of people would rather not need to stop and enable java scripts.
Thanks
droose
I am a 73 year young retired engineer and I stay young by programming and designing web pages. I am in the process of teaching myself php and I have noticed that php is very simular, if not identical to java. Even to the built in functions like "document.location.replace". Am I correct?
Can I change java scripts to php scripts so the code runs on the server rather than in my local machine. I would like to do this so that the user would not need to enable java scripts each time the script is run. I find this annoying and I believe a lot of people would rather not need to stop and enable java scripts.
Thanks
droose