Menu
I know the solution is quite simple, but iv’e been working my brain for too long now.
I want PHP to create a folder, if it doen’t alredy exist.
that part works fine. than i want it to copy a file from one place to inside the created folder–thats where the errors are:
Warning: copy(/new_script/index2.php ): failed to open stream: No such file or directory in …/copy.php on line 26
line 26:
copy(‘http:// … files/’.$file,’/new_script/’.$file);
Yes, there really is somthing replaced by the ‘ … ‘
yes, fopen-wrapper is enabled.
I have tried it without the start slash for the 2nd property, too.
any help is good.