On Sunday February 14 2016 10:45, in comp.lang.php, "alex" <
al...@nomailno.it>
wrote:
If you are not willing to reconsider your design, then...
You need to write your javascript so that it invokes a data transfer to the
webhost where the PHP runs.
On the web-browser side,you will need to
1) write an html <form> that names the target host webpage (where your PHP
code resides) and invocation method (GET or POST)
2) write javascript to invoke document.<formname>.submit() (where <formname>
is the name of the html <form> from step 1
On the web-server side, you will need to write a host webpage in PHP that will
(when run from a GET or a POST) will retrieve the passed data (from the
<form> query, submitted through your javascript) and process it.
--
Lew Pitcher
"In Skills, We Trust"
PGP public key available upon request