es el mismo script
Código PHP:
Ver original$origenLocal = $_SERVER['DOCUMENT_ROOT'] . "/" . $destinoThumbail . $filename;
$strlength = strlen($content); //gets the length of our $content string. $create = fopen($origenLocal, "w"); //uses fopen to create our file. $write = fwrite($create, $content, $strlength); //writes our string to our file. $close = fclose($create); //closes our file