R
R
run1822016-09-25 15:22:43
PHP
run182, 2016-09-25 15:22:43

Is it possible through a php script called by cron to force javascript to be executed on a remote site?

Can initiate something on the server by calling a php script. What are the options?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
X
xmoonlight, 2016-09-25
@run182

phantom.js/nightmare.js run this from PHP.

S
Sergey, 2016-09-25
@void01

only if you implement on JS websocket or periodic ajax requests
or SSE (not supported in IE) www.w3schools.com/html/html5_serversentevents.asp
otherwise nothing

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question