Closed Thread Icon

Preserved Topic: Executing JS from PHP Pages that link to <a href="https://ozoneasylum.com/backlink?for=20892" title="Pages that link to Preserved Topic: Executing JS from PHP" rel="nofollow" >Preserved Topic: Executing JS from PHP\

 
Author Thread
Skatefx
Bipolar (III) Inmate

From: Small Patch of Grass in CT
Insane since: Mar 2001

posted posted 05-02-2001 04:08

Just a quick question. Is it possible to execute JS scripts within an embedded html document within a php script? U get what im sayin?

Peace

Mike

"Society, we all know that somethings wrong. And we've know it all along" -Pennywise-

linear
Paranoid (IV) Inmate

From: other places
Insane since: Mar 2001

posted posted 05-02-2001 05:33

Yes. Just keep it clear that JS executes on the client platform, and PHP on the server. You can generate JS from your PHP script on the server, but it executeses on the client, in that environment.

Another way to look at it is that the PHP is "gone" by the time the client gets the page, because the server turned it into HTML (and JS if you like).

« BackwardsOnwards »

Show Forum Drop Down Menu