[PHP] Problem with SSH output when called from apache

2004-09-06 Thread Chandu Nannapaneni
Hi everyone !! I want to capture the output of a certain remote command ( issued thru a SSH session to a remote server) in PHP. The following code is working well when ran from the console Ex: php -q test.php But when called from apache .. It's not giving any ouput. [EMAIL PROTECTED] is well

[PHP] HTTP Authentication thru PHP

2003-11-19 Thread Chandu Nannapaneni
hello all , I'm able to get successfully http authenticated from my php scripts Ex : $header = "POST /myscript.php HTTP/1.0\r\nAuthorization: Basic "; $header .= base64_encode("$username:$password")."\r\n"; $header .= "Content-type: application/x-www-form-urlencoded\r\n";

Re: [PHP] Whois Search in PHP

2002-11-17 Thread Chandu Nannapaneni
Hah, U gave just what I wanted. Good tip. /Chandu - Original Message - From: "John Nichel" <[EMAIL PROTECTED]> To: "Chandu Nannapaneni" <[EMAIL PROTECTED]> Sent: Monday, November 18, 2002 3:42 AM Subject: Re: [PHP] Whois Search in PHP > You could jus

[PHP] Whois Search in PHP

2002-11-17 Thread Chandu Nannapaneni
Hi guys, I have just downloaded whois2.php from http://www.easydns.com/~markjr/whois2/ It's working great except for certain domains, for ex : google.com is being shown as available. I am in need of a good PHP script which gives me accurate results about availability of domains. /Chandu