Hi all ,
I have collected php shell scripts on various sites on web. However the only script which works is this :

$ php helloWorld.php

<?php
$var = "honey";
print "hello $var"; 
echo "world";
?>

Any other script which has different commands doesn't work on the system ?? My PHP version is PHP 5.1.6 (cli) which comes with RedHat5 Server OS.
Any idea will be very very appreciated. Please urgent..

Some other scripts also work. But it would be good if somebody offers any good configuration for php.ini or httpd.conf

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.