Hi, I am a cgi programmer and have written a small php script (md5.php) for md5 password encryption which is being called from a cgi (temp.cgi) file. Now, when I try to excute the temp.cgi script from command line it works well and returns me the expected value. But, the same cgi script doesn't return anything when trying to execute from the web.
Any help would be highly appreciated. Regards, Sanjay ### temp.cgi #!/usr/bin/perl print "Content-type: text/html\n\n"; $passwd="testpass"; $p=`/usr/bin/php /full/path/md5.php pass=$passwd|tail -1`; print "pass is $p\n"; #### md5.php <? $pass1=md5("$pass"); #return "$pass1"; print "$pass1"; ?> -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php