Forum Moderators: phranque
They Seem to be gaining momentum.....
1. PHP and Javascript are complementary, not competing technologies. They serve quite different purposes using quite different means.
2. PHP is a server-side technology. As such it does not and cannot create popups. That can only be done client-side.
3. Harder to escape? If you mean that you can't stop PHP pages with a pop-up blocker that's true. Why? Because they are not popups and they don't open without the user clicking a link. No need for a popup blocker.
4.
HTML code can not be easily Accessed
Not only incorrect, but actually backwards. The HTML code generated by Javascript is more difficult to access. If you load a page and then click on something that uses Javascript to rewrite the underlying code that the browser displays, you will not see that when you look at the page using View Source. With PHP, all HTML it generates and sends to the page will be visible when you look at the source... unless the PHP generates Javascript and the Javascript generates code.
Cheers,
Tom