Hi, im wondering how i can make my new script fetch a file from another website. For example, i'd be adding graphics into a database, but rather than uploading the image if i provide a link to the image, it will then download the image onto my server.. Any ideas on how to do this? Thanks
If your host allows it, most of PHP's filesystem functions will accept URLs as paths: $image_data = file_get_contents("http://www.example.com/image.gif");