They want to be able to Go to a product in the .com, and say "Sell on ***.co.uk".
That they passes thru the description, and other field date. EASY.
But, they also want to be able to pass thru the image, or images to that site server.
Whereas right now you would create the product, 'Browse', choose file from your PC folder, and Upload, and it runs thru the PHP Script. I need it to pass the image, or images from one hosted server, to an entirely separate hosted (separate company hosting it too) server.
Can this be done?
Is there a term for it online I can research?
The client said "I don't know if this is possible". But I like to try and achieve the impossible, so would be rather impressive!!!!
Code: Select all
<?php
$url = 'http://www.example.com/file.zip';
if (@copy($url, basename($url)))
{
echo 'File saved.';
}
?>
Many thanks in advance.
Simon