June 01, 2023, 04:56:50 PM
Welcome, Guest. Please login or register
News: Join us for a FREE Webinar this Thursday at http://webinar.digitalsignage.com

MediaSignage support forum



Author Topic: Phantomjs and sendCommand  (Read 5826 times)

cp36609

  • Newbie
  • *
  • Posts: 7
  • Karma: +0/-0
Phantomjs and sendCommand
« on: July 25, 2016, 12:56:03 PM »
hello could you advise if and how phantomjs could be engaged to run sendCommand.js dynamically passing parameter

admin

  • Administrator
  • Hero Member
  • *****
  • Posts: 5173
  • Karma: +36/-8
Re: Phantomjs and sendCommand
« Reply #1 on: July 25, 2016, 03:10:16 PM »
you don't need a headless browser, node.js and sendCommand will work just fine...

cp36609

  • Newbie
  • *
  • Posts: 7
  • Karma: +0/-0
Re: Phantomjs and sendCommand
« Reply #2 on: July 25, 2016, 08:36:43 PM »
what I need is to have parameter passed from an sms. Playsms is using http post file_get_contents() and the later ignore the javascript part.

 

Carbonate design by Bloc
variant: carbon
SMF 2.0.12 | SMF © 2016, Simple Machines