PHP code example of rusadrako / disc

1. Go to this page and download the library: Download rusadrako/disc library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

rusadrako / disc example snippets


	$disc = new RD_Disc();

	RD_Disc::call();

	$folder = $disc->clean_name($item);

	$folder = RD_Disc::call()->clean_name($item);

	$folder = $disc->info($item);

	$folder = RD_Disc::call()->info($item);

	$folder = $disc->folder();

	$folder = RD_Disc::call()->folder();

	$file = $disc->file();

	$file = RD_Disc::call()->file();

	$folder_name = $folder->exists_control($folder_name);

	$file_name = $file->control_name_num($folder, $basename, $extension);

	$file_name = $file->new($file_name, $data);

	$file_name = $file->move($file_from, $file_to);

	$file_name = $file->copy($file_from, $file_to);

	$file_name = $file->delete($file);