Ver Mensaje Individual
  #8 (permalink)  
Antiguo 23/11/2008, 08:29
Suyta
(Desactivado)
 
Fecha de Ingreso: septiembre-2004
Mensajes: 360
Antigüedad: 19 años, 7 meses
Puntos: 1
Respuesta: Submit javascript y CURL

Fuente:
http://nadeausoftware.com/articles/2...age_using_curl

Can you get all dynamic text on a page, as added by JavaScript run by the browser?
No. A web page with embedded JavaScript is actually a program. CURL gives you the program's source code (HTML and JavaScript), but doesn't run that program. To run a page's embedded JavaScript you need (1) a JavaScript interpreter, and (2) the Document Object Model (DOM) for the page. Browsers have these, but PHP does not. People are working on PHP versions of these, but developing these are big tasks. If this is what you need, you might skip PHP and instead look at writing C++ code