
ew. ten drugi serwer to moze byc dysk twardy naszego komputera
BYŁ BYM NIEZMIERNIE WDZIĘCZNY za odpowiedz

<?php $source = 'http://i.mota.ru/nature/img/'; $basePath = './tapety/'; // copy a directory and all subdirectories and files (recursive) // void dircpy( str 'source directory', str 'destination directory' [, bool 'overwrite existing files'] ) function dircpy($basePath, $source, $dest, $overwrite = false){ if(!is_dir($basePath . $dest)) //Lets just make sure our new folder is already created. Alright so its not effici
ent to check each time... bite me while(false !== ($file = readdir($handle))){ // as long as storing the next file to $file is successful, continue if($file != '.' && $file != '..'){ $path = $source . '/' . $file; echo '<font color="red">File ('.$path.') could not be copied, likely a permissions problem.</font>'; } mkdir($basePath . $dest . '/' . $file); // make subdirectory before subdirectory is copied dircpy($basePath, $path, $dest . '/' . $file, $overwrite); //recurse! } } } } } ?>
<?php Parse error: parse error, unexpected '&' in /var/www/html/php/index.php on line 11 ?>