title: PHP Handle HTML link execution response
body: <p>In my project, I need to execute a link in my browser to reload some events, after which my browser shows this as a success response:</p>
  
  <pre><code>250
  </code></pre>
  
  <p>The link looks like this:</p>
  
  <pre><code>http://Local_IP:port/Remote_IP/password/ReloadEvents
  </code></pre>
  
  <p>So, when I run this in my browser, it returns '250' as a success message.</p>
  
  <p>Now, I need to execute that link with PHP or Javascript and pick up it's response to check if it was succesfull or not without 'visiting' that link.</p>
  
  <p>I have tried running it with php's <code>header('Location:</code> and another header to return back to index.php but it doesn't work; it does return me to index page, but it is not executing my previous link.</p>
  
  <p>Could it be done with PHP or Javascript?</p>