Error when get url name of images?
<p>I have a code download image from link <a href="http://www.bitrepository.com/download-image.html" rel="nofollow">http://www.bitrepository.com/download-image.html</a>
When start is link format: <code>&lt;img src='test[1].jpg'&gt;</code>
But when download this link is link become <code>&lt;img src='test3%5B1%5D.jpg'&gt;</code>
How to fix it?</p>

<p>code here</p>

<pre><code>&lt;?php
include_once 'class.get.image.php';

// initialize the class
$image = new GetImage;
$image-&gt;source = 'http://test.com/test[1].jpg';
$image-&gt;save_to = 'images/'; // with trailing slash at the end

$get = $image-&gt;download('gd'); // using GD

if($get)
{
echo 'The image has been saved.';
}
?&gt;
</code></pre>
