call remote html to get response

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!

How can i call the remote html page from php and get back the result of  
 which was calculated in that html


<script language="javascript">
document.write( "Hello World" );

I just want to get "hello world" from sayhello.php  

Site Timeline