You can use several method, if your host allows fopen with a url string http://php.net/manual/en/features.remote-files.php
if not then you will need to use CURL.
Unless the place you’re sending it to requires something special.
This really depends on where it’s going and there is a lot of information out there most of the possibilities.