Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re: cp command is not working when run from browser

by Eily (Hermit)
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 chilling in the Monastery: (6)
As of 2014-09-20 11:12 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (158 votes), past polls