How to Naviagate and Copy Folders using PhP?

Tarleton D

New member
Hi. I am tryin to make a script which is located in /public_html/class/script.php so it copies the folder /public_html/joomla/ to public_html/$username where $username is take from the file /public_html/class/include/cpanel.class.php

Would $dir1 = .../joomla/
and $dir2 = .../class/include/cpanel.class.php ?
 
Back
Top