PHP code example of pickles2 / px2-move-contents
1. Go to this page and download the library: Download pickles2/px2-move-contents 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/ */
pickles2 / px2-move-contents example snippets
$px = new picklesFramework2\px('/path/to/px-files/');
$px2moveContents = new tomk79\pickles2\moveContents\main($px);
$result = $px2moveContents->run('/path/to/move_list.csv');
$px2moveContents = new tomk79\pickles2\moveContents\main('/path/to/.px_execute.php');
$result = $px2moveContents->run('/path/to/move_list.csv');
$result = $px2moveContents->run('/path/to/move_list.csv', $options);