Is there some way to execute a PHP script (or any server-side script for that matter) from within Javascript? (so that the script only executes when a particular Javascript function is called).
E.g.
<script language=Javascript>
function doPHP()
{
// execute a PHP script residing on the server
}
</script>
executing PHP code from Javascript
Moderator: General Moderators