render html and just get the result

RizbIT

Member
i use http_get(URL)

the url is a plainhtml file with one javascript function to return a value for example "packman"

but the function returns the entire content of the actual html not the result i want.

is there a way to render the html page and then get the result?

you know how if you used http_get with a php file and had an echo "packman"; call in there all http_get will return is "packman"

is there a way to do this with html?

so i dont want the actual html, i guess you would have to actually render the html as an actual website somewhere then extract the content of the rendered htmlpage?
 

GMWolf

aka fel666
Well if all you want is the text from it, no need to render it. Just parse it, and extract all the text tags.

PHP runs server side. So all the http_get will only receive the resultant text.

However html and javasJavaS runs client side. So you need to code the client.
 
Top