Php Exec Wget not working
<p>I need to run some of the <strong>website url</strong>(http://domain.com/user.php?id=uniquetoken) in background by php (note : <strong>The website url</strong> contains html,php and javascript ajax requests)</p>

<p>I tried the below code , but it is not working.Can anyone say what is wrong with this , or any alternative solution.</p>

<pre><code>exec("wget http://domain.com/user.php?id=uniquetoken &gt; /dev/null 2&gt;&amp;1 &amp;");
</code></pre>

<p>P.s : What i actually need is, when user visits a site, some background process has to be done even after they close the browser.(beacause that backgroud process takes more than 2 minutes to complete)</p>
