Shell copy command don't work

I want copy Files:

But cp don't work:

shell_exec("cp ".$pfad."  ".$genzone);
shell_exec("cp ../Chrysanthemum.jpg  ../test");

Whats wrong?

Maybe if you gave us your OS and shell you are using it would be more clear...

Moving your thread to more appropriate for shell_exec isnt a shell command to my knowldge but more something to do with PHP...

Hiya

Check your quoting.
Usualy one does quote words, not spaces beetween.

hth

This is PHP, isn't it? Run by CGI?

It's probably going to run as apache user which if your permissions are at all sane will not have write-access to your folders, just read. You may be surprised what ./ means as well.