title: PHP CURL not opening url
body: <p>This is my code</p>
  
  <p>Using the example I have above it is outputting that the file "index.php" does not exist on the url website when infact it does exist, it seems to me that curl is trying to open up that file on its own site where the file does not exist.
  I hope that makes sense.
  This is what the system writes to my url.txt file when it tries to visit the site </p>
  
  <pre><code>&lt;!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN"&gt;
  &lt;html&gt;&lt;head&gt;
  &lt;title&gt;404 Not Found&lt;/title&gt;
  &lt;/head&gt;&lt;body&gt;
  &lt;h1&gt;Not Found&lt;/h1&gt;
  &lt;p&gt;Additionally, a 404 Not Found
  error was encountered while trying to use an ErrorDocument to handle the request.&lt;/p&gt;
  &lt;/body&gt;&lt;/html&gt;
  </code></pre>