I m devoloping a website which communicate with Linux server .
Whenever a page is loaded it runs one script on Linux server.
My problem is a simple commands like date , ls runs very smoothly. But whenever i execute big script.It wont display the output.
My knowledge of PHP is very less i m using simple echo command to run the script and display the output.
My php file:
Working Program:
PHP Code:
<html> <head><title>This is my page</title></head> <body> This is the content of my page. <?php print "Do you like it?"; ?> <?php echo `date`; ?> </body></html>
Output:
Quote:
This is the content of my page. Do you like it?Thu Mar 18 15:02:36 IST 2010
When i modify my php file as
PHP Code:
<html> <head><title>This is my page</title></head>
<body> This is the content of my page. <?php print "Do you like it?"; ?> <?php echo `ssh -ttq 10.180.8.231 ls -ltr`; ?> </body> </html>
Output:
Quote:
This is the content of my page. Do you like it?
However the command
get executed properly on linux machine.
Please help.
Last edited by pludi; 03-18-2010 at 09:37 AM..
Reason: code tags, please...
Hi all,
We have serious problem with continuous integration system for application building on few different platforms.
(aix 5.2, 5.3 solaris 8,9 , SUSE Linux 9.3, 10 , Slackware Linux 10,11,12, RedHAt Enterprise Linux и Windows 2003)
We need application ( program ) to do the following tasks:... (1 Reply)
Hi Experts,
I am a beginner of PHP and trying to create a tutorial database. My web interface takes a value and inserts into table very correctly. But when I refresh the same interface, it inserts the same value again and again. My code is below:
<?php
$con =... (2 Replies)