Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

take files from one folder and move to another folder in php

$source_file = 'foo/image.jpg';
$destination_path = 'bar/';
rename($source_file, $destination_path . pathinfo($source_file, PATHINFO_BASENAME));
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #files #folder #move #folder #php
ADD COMMENT
Topic
Name
4+1 =