The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS function copy() failed

  • This topic is empty.
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
  • #43811

    Hie guys i really don’t know what to do i tried different option, i just cant come yet
    with the right way to solve this error. it just don’t i’m running win7,
    l just try to copy a file from a folder to another one

    Warning: copy(member_Files/misterlae8) [function.copy]: failed to open stream: Permission denied


    This sounds like a Windows issue, not related to web development. You might have better help in a Windows forum.


    Everything and anything you need to know about windows 7


    Surely this is a windows issue.


    Thank you guys, i solved the error.
    first i desinstaled my windows, after that i instaled all back but i download the last version wampp, but the errors is gone. So after i run it again i get this error
    Warning: copy(): The second argument to copy() function cannot be a directory
    thist the code

    $source =”pic/pic1.jpg”;
    $dest =”member”;
    if (copy($source, $dest”){

    } else {
    echo “The specified file could not be moved. Please try again.”, “n”;

    the problem persist so itried like this from research
    $sour = basename($source);
    and i put it like this and it works

    if (copy($source, $dest.”/”.$sour”){

    so i hope this comment will help some other people

Viewing 5 posts - 1 through 5 (of 5 total)
  • The forum ‘CSS’ is closed to new topics and replies.