Jump to content

PHP copy


Recommended Posts

Hello everyone, so I made this script that creates directories via "a hack around" cPanel, on my own server, in order to create directories via my own software, but I also need to copy files from one directory into that newly created directory... Therein lies the problem...

 

I created a script a few years ago that worked, but for the life of me I can't remember how I enabled myself to be able to use the copy function of php...

 

Anybody know?

 

 

Link to comment
https://forums.phpfreaks.com/topic/235891-php-copy/
Share on other sites

maybe, found [urlhttp://www.siteground.com/tutorials/cpanel/file_permissions.htm]this[/url] tough.

 

Yeah, thanks, but if only it were that easy... You see it won't let me make permission changes like that, and if I logged in as root and made those changes, then they could only be modified by root, and I certainly don't want to put my root information into a php script...

Link to comment
https://forums.phpfreaks.com/topic/235891-php-copy/#findComment-1212637
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.