title: how to save images directly to a folder on a vps server
body: <p>i'm using this function</p>
  
  <p><code>@imagepng($image, 'http://103.129.223.xx/face/' .$player-&gt;getName().'.png');</code></p>
  
  <p>but return this message on console</p>
  
  <p><strong>imagepng(<a href="http://103.129.223.xx/face/alair069.png" rel="nofollow noreferrer">http://103.129.223.xx/face/alair069.png</a>): failed to open stream: HTTP wrapper does not support writeable connections</strong></p>