All pastes #1936810 Raw Edit

Anonymous

public text v1 · immutable
#1936810 ·published 2010-09-09 20:57 UTC
rendered paste body
<?php
echo "Testing...........<br>";


$fp1= fsockopen("www.google.com",80);
$fp2= fsockopen("ssl://www.google.com",443);
$fin=fopen("php://input","r");

if( $fin==FALSE){
echo "Failed! Could not open input stream";}


if( $fp1==FALSE){
echo "Failed! Could not connect to google.com:80 allow_open must be on in php.ini";}

if( $fp2==FALSE){
echo "Failed! Could not connect to google.com:443 allow_open must be on in php.ini<br>";
echo "SSL support not enable : Openssl may not be installed . fsockopen failed for ssl://";
}

if($fp1!=FALSE && $fp2!=FALSE && $fin!=FALSE){
echo "Successfull !! Your server is perfect to run .....:";
}


echo "Following are the details information about your PHP server...<br><br>";
phpinfo();

?>