Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re: cp command is not working when run from browser

by Eily (Curate)
on Jul 03, 2014 at 13:23 UTC ( #1092168=note: print w/ replies, xml ) Need Help??


in reply to cp command is not working when run from browser

The command may not be run from where you expect to (as far as I know, it might be the folder from which php is run or the one from which perl is run, and they may be the same). You should consider using perl's chdir and File::Copy instead of creating a separate process to copy your file.


Comment on Re: cp command is not working when run from browser

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1092168]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (16)
As of 2015-07-30 13:20 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (271 votes), past polls