aRo` automating your e-commerce

20Nov/06
This blog has been neglected due to the success of Solidshops.com

Copy a picture with php

I never thought stealing , euhm copying a picture was that easy !

$imgfile = “http://www.domain.com/picture.gif”;
$newfile = “C:/webserverfolder/test.gif”;

if (!copy($imgfile, $newfile)) {
print (“failed to copy $imgfile…
\n”);
}

Popularity: 1% [?]

Filed under: php Leave a comment
Comments (0) Trackbacks (0)

No comments yet.


Leave a comment

(required)

No trackbacks yet.