determine a pop up value by using file_get_contents
<p>I am trying to get the value of javascript pop-up after using <code>file_get_contents</code>.</p>

<pre><code>&lt;?php

$word = 'delete';
$page_content = file_get_contents($url);

if(strstr($page_content, $word)):
$result = 'YES';
else:
$result = 'NO';
endif;

?&gt;
</code></pre>

<p>my code detect if there is sepecific word in the page. However, it fails to get value on javascript pop-up.</p>

<p>Let's assume that there is a website which has a javascript pop-up.</p>

<p><code>file_get_contents($the_website_url)</code> will only get html data of the website.</p>

<p>I am trying to get javascript pop-up value too by using php script.</p>

<p>Is there a way to get javascript value of external web page?</p>
