Delete Remote file With @get_file_contents - PHP
<p>I have been trying to delete images from a remote server. I don't want to use a direct link because the server changes depending on the location of the file. I have code like this.</p>

<pre><code>$photo["server"] = "http://img1.myserver.com";
$call = @file_get_contents( $photo["server"]."/delete.php?pho_id=".$pho_id."&amp;pag_id=".$pag_id );
</code></pre>

<p>Is there some reason why this wont work? I send the vars and grab them in the php file. It works fine with a direct browser call but I want to do it from the script. Any ideas why this wont execute the script? And fopen is enabled on my server.</p>
