Closed

Shell script from PHP

I created a shell script that does a telnet connection. I need to get the output. When I run it via command line I get complete output. But when I run it from PHP using exec I don't get full output. Need help.

Skills: Linux, PHP, Script Install, Shell Script, Software Architecture

See more: php shell exec example, php execute shell script with parameters, php shell_exec example, php execute command line, php exec output, php exec example, shell_exec in php, php shell_exec vs exec, php exec shell script, shell script php redirect website, perform shell script php, talk gsm module using shell script, php web page using curl script, parsing html files using shell script, ldap log rotation using shell script

About the Employer:
( 4 reviews ) Miami, United States

Project ID: #16090442

18 freelancers are bidding on average $28 for this job

rajeshsonisl

Hi there, Need Shell access to the PHP script. I have a 99% project completion rate and a 4.99 reputation (out of 5.0 from over a thousand projects. Thanks. Regards, Rajesh Soni.

$30 USD in 1 day
(853 Reviews)
8.4
Netfreehost

I have 16 years of experience in Web Hosting, server administration and php programming. I can get this work.

$25 USD in 1 day
(431 Reviews)
6.3
nikolarajevac

Hello, I have years of experience in PHP, and also use Linux both at home and work. Can you provide that script you have, so I can take a look before accepting the job, if you award it to me, of course? Regards, Nik More

$25 USD in 1 day
(38 Reviews)
5.4
ubica

Hello, can I take a look at the script ?

$20 USD in 1 day
(23 Reviews)
5.4
irfankhokhar1986

Hi, Greeting of day. I being a WebExpert, with over 7 year's of experience in Web development (i.e, Symfony3, Symfony2, Symfony1,Laravel,Codeigniter, wordpress) I can assure you to provide 100% of quality work More

$10 USD in 1 day
(45 Reviews)
5.1
cracken

Well equip to this kind of task. Let me know the best of your time so we can discuss further on the details.

$49 USD in 3 days
(25 Reviews)
5.1
jkspsolutions

Hello, Thanks for your post ! We would like to help you with the development of the website Before moving forward we would like to discuss some QUERIES : [login to view URL] you have any technology preferences that you wan More

$21 USD in 7 days
(17 Reviews)
5.0
adamlachut

Hi try this: <?php $output = shell_exec('/path/to/[login to view URL];'); echo "<pre>$output</pre>"; ?> works to me :)

$25 USD in 10 days
(28 Reviews)
4.5
shiva1977

A proposal has not yet been provided

$30 USD in 1 day
(40 Reviews)
4.9
sumitgarg44

I can help to solve it.

$30 USD in 1 day
(33 Reviews)
4.6
AhmadSameer

Hi there I'm a System Administrator. I may help Did you check for the permissions of the PHP file ?

$30 USD in 1 day
(16 Reviews)
3.9
fsdsolutions1

Hi I have reviewed your requirements for your preconceived project. As all your requirements are crystal clear to me so please hit me up with the message so that we can discuss the project in more detail. We More

$25 USD in 1 day
(1 Review)
3.3
widmer

Have done similar project my self. You need to make sure that the user the webserver is running as also has permission to run all the commands you are using in your script. Or it will not work.

$25 USD in 1 day
(4 Reviews)
2.7
Rubyweb

Yes command can be run using proc_open with php.I have used it.I would like to present my services for this project.

$55 USD in 3 days
(2 Reviews)
0.9
srinivas10051

i am having experience in creating shell scripts , i am having experience in creating shell scripts ,

$25 USD in 1 day
(1 Review)
1.0
jatimo

Many years experience with linux/Unix environments as well as PHP, and using commandline execution, subshells, subprocesses, etc. I am certain I can help you with this problem in a matter of minutes. Thanks for looking More

$25 USD in 1 day
(0 Reviews)
0.0
john130

A proposal has not yet been provided

$30 USD in 1 day
(0 Reviews)
0.0
$25 USD in 1 day
(0 Reviews)
0.0