vasanthgk91 has asked for the wisdom of the Perl Monks concerning the following question:
#!/usr/bin/perl `cp file1 file2`
i run this .pl file from .php file that is running on browser but its working from linux terminal
Update:#!/usr/bin/perl `sed -i '3i\ hai' file1`
i run this .pl file from .php file that is running on browser its not working but its working from linux terminal
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: cp command is not working when run from browser
by hippo (Archbishop) on Jul 03, 2014 at 13:19 UTC | |
|
Re: sed command is not working when run from browser
by InfiniteSilence (Curate) on Jul 03, 2014 at 14:10 UTC | |
|
Re: cp command is not working when run from browser
by Eily (Monsignor) on Jul 03, 2014 at 13:23 UTC | |
|
Re: cp command is not working when run from browser
by Anonymous Monk on Jul 03, 2014 at 21:18 UTC |