fsockopen

(PHP 4, PHP 5, PHP 7)

fsockopenStellt eine Internet- oder Unix-Domain-Socket-Verbindung her

Beschreibung

resource fsockopen ( string $hostname [, int $port = -1 [, int &$errno [, string &$errstr [, float $timeout = ini_get("default_socket_timeout") ]]]] )

Initialisiert eine Socket-Verbindung zu der in hostname angegebenen Ressource.

PHP unterstützt Ziele im Internet und Unixdomänen, wie sie unter Liste der unterstützten Socket-Transporter beschrieben sind. Eine Liste unterstützter Transportarten können Sie auch mittels stream_get_transports() ermitteln.

Der Socket wird standardmäßig im Blocking Mode geöffnet. Sie können auf den Non-Blocking-Modus wechseln, indem Sie die Funktion stream_set_blocking() nutzen.

Die Funktion stream_socket_client() ist ähnlich, bietet aber eine reichhaltigere Auswahl von Optionen an, einschließlich blockierungsfreier Verbindungen und der Möglichkeit einen Streamkontext zu übergeben.

Parameter-Liste

hostname

Ist OpenSSL-Support installiert, können Sie dem Parameter hostname entweder ein ssl:// oder ein tls:// voranstellen, um eine SSL- oder TLS-Verbindung aufzubauen, die via TCP/IP mit dem entfernten Server verbunden wird.

port

Die Portnummer. Diese kann ausgelassen und mit -1 übersprungen werden, wenn der Transport keinen Port verwendet, so wie unix://.

errno

Sofern unterstützt, enthält der Parameter die Fehlernummer des Systemlevels, die beim Aufruf der connect()-Funktion auftrat.

Wenn der Rückgabewert von errno 0 ist und die Funktion FALSE zurückgibt, ist dies ein Zeichen, dass der Fehler vor dem connect()-Aufruf auftrat. Dies ist meist der Fall, wenn es ein Problem beim Initialisieren des Sockets gibt.

errstr

Die Fehlermeldung als String.

timeout

Der Connection-Timeout in Sekunden.

Hinweis:

Wenn Sie einen Timeout für das Lesen oder Schreiben von Daten über den Socket setzen wollen, verwenden Sie stream_set_timeout(), da der timeout-Parameter von fsockopen() nur für das reine Konnektieren des Sockets gedacht ist.

Rückgabewerte

Die Funktion fsockopen() gibt einen Zeiger auf eine Datei zurück, der zusammen mit den anderen Dateifunktionen (wie fgets(), fgetss(), fwrite(), fclose() und feof()) verwendet werden kann. Wenn der Aufruf fehlschlägt, wird FALSE zurückgegeben.

Fehler/Exceptions

Wirft E_WARNING, wenn hostname keine gültige Domain ist.

Beispiele

Beispiel #1 fsockopen()-Beispiel

<?php
$fp 
fsockopen("www.example.com"80$errno$errstr30);
if (!
$fp) {
    echo 
"$errstr ($errno)<br />\n";
} else {
    
$out "GET / HTTP/1.1\r\n";
    
$out .= "Host: www.example.com\r\n";
    
$out .= "Connection: Close\r\n\r\n";
    
fwrite($fp$out);
    while (!
feof($fp)) {
        echo 
fgets($fp128);
    }
    
fclose($fp);
}
?>

Beispiel #2 Eine UDP-Verbindung nutzen

Das folgende Beispiel zeigt, wie Sie den Tag und die Zeit vom UDP-Service "daytime" (Port 13) Ihrer Maschine abfragen können.

<?php
$fp 
fsockopen("udp://127.0.0.1"13$errno$errstr);
if (!
$fp) {
    echo 
"ERROR: $errno - $errstr<br />\n";
} else {
    
fwrite($fp"\n");
    echo 
fread($fp26);
    
fclose($fp);
}
?>

Anmerkungen

Hinweis:

Abhängig von der Systemumgebung kann es vorkommen, dass die Unix-Domäne oder der optionale Connection-Timeout nicht verfügbar sind.

Warnung

UDP-Sockets werden manchmal ohne die Rückgabe eines Fehlermeldung geöffnet, obwohl der entfernte Host nicht erreichbar ist. Der Fehler wird nur sichtbar, wenn Sie Daten vom Socket lesen oder zum Socket schreiben wollen. Der Grund dafür ist, dass UDP ein "verbindungsloses" Protokoll ist, das bedeutet, dass das Betriebssystem nicht versucht, eine Verbindung zum Socket herzustellen, solange es nicht wirklich Daten senden oder empfangen muss.

Hinweis: Wenn Sie eine numerische IPv6-Adresse angeben, z.B. fe80::1, müssen Sie die IP in eckige Klammern schreiben, z.B. tcp://[fe80::1]:80.

Siehe auch

add a note add a note

User Contributed Notes 66 notes

up
10
sir_reality2001 at yahoo dot com
13 years ago
<?php
// This script is an example of posting multiple files using
// fsockopen.
// The tricky part is making sure the HTTP headers and file boundaries are acceptable to the target webserver.
// This script is for example purposes only and could/should be improved upon.

$host='targethost';
$port=80;
$path='/test/socket/file_upload/receive_files.php';

// the file you want to upload
$file_array[0] = "dingoboy.gif"; // the file
$file_array[1] = "dingoboy2.gif"; // the file
$file_array[2] = "dingoboy3.gif"; // the file
$content_type = "image/gif"; // the file mime type
//$content_type = "text/plain";
//echo "file_array[0]:$file_array[0]<br><br>";

srand((double)microtime()*1000000);
$boundary = "---------------------------".substr(md5(rand(0,32000)),0,10);

$data = "--$boundary";

for(
$i=0;$i<count($file_array);$i++){
  
$content_file = join("", file($file_array[$i]));

  
$data.="
Content-Disposition: form-data; name=\"file"
.($i+1)."\"; filename=\"$file_array[$i]\"
Content-Type:
$content_type

$content_file
--
$boundary";

}

$data.="--\r\n\r\n";

$msg =
"POST $path HTTP/1.0
Content-Type: multipart/form-data; boundary=
$boundary
Content-Length: "
.strlen($data)."\r\n\r\n";

$result="";

// open the connection
$f = fsockopen($host, $port);

fputs($f,$msg.$data);

// get the response
while (!feof($f)) $result .= fread($f,32000);

fclose($f);

?>
up
11
ryan1_00 at hotmail dot com
10 years ago
This script checks specific ports so you need to have the correct port open on the server for this to work.

E.g if i have a windows domain controller and it is servering LDAP then the following would be used to check it is online:
<?php
chkServer
("MyDC", "389");
?>

for a webserver:
<?php
chkServer
("MyWebSvr", "80");
?>

etc etc
--------------------------------------------------------

<?php
// check if a server is up by connecting to a port
function chkServer($host, $port)
{  
   
$hostip = @gethostbyname($host); // resloves IP from Hostname returns hostname on failure
   
   
if ($hostip == $host) // if the IP is not resloved
   
{
        echo
"Server is down or does not exist";
    }
    else
    {
        if (!
$x = @fsockopen($hostip, $port, $errno, $errstr, 5)) // attempt to connect
       
{
            echo
"Server is down";
        }
        else
        {
            echo
"Server is up";
            if (
$x)
            {
                @
fclose($x); //close connection
           
}
        } 
    }
}
?>
up
3
Kiki_EF
11 years ago
Additional ICQ status request over proxy
<?php
function icq_uin($uin)
{
    if (!
is_numeric($uin))
        return
false;
   
$proxy_name = 'proxy.mydomain.de';
   
$proxy_port = 8080;
   
$proxy_user = "";
   
$proxy_pass = "";
   
$proxy_cont = '';
   
$request_url = "http://status.icq.com/online.gif?icq=$uin";

   
$proxy_fp = fsockopen($proxy_name, $proxy_port);
    if (!
$proxy_fp)
        return
false;
   
fputs($proxy_fp, "GET $request_url HTTP/1.0\r\nHost: $proxy_name\r\n");
   
fputs($proxy_fp, "Proxy-Authorization: Basic ". base64_encode ("$proxy_user:$proxy_pass")."\r\n\r\n");
    while(!
feof($proxy_fp)){
       
$proxy_cont .= fread($proxy_fp,4096);
    }
   
fclose($proxy_fp);
   
$proxy_cont = substr($proxy_cont, strpos($proxy_cont,"\r\n\r\n")+4);
    if (
strstr($proxy_cont, 'online1'))
        return
'online';
    if (
strstr($proxy_cont, 'online0'))
        return
'offline';
    if (
strstr($proxy_cont, 'online2'))
        return
'disabled';
}
echo
"User is ".icq_uin(123456789012345);
?>

Thanx

[EDIT BY danbrown AT php DOT net: Based on code provided in a note by (rafaelbc AT matrix DOT com DOT br) on 23-MAY-09, which has since been removed.]
up
4
kexianbin at diyism dot com
5 years ago
My recursive unchunk function:

<?php
function unchunk($result)
         {return
preg_replace('/([0-9A-F]+)\r\n(.*)/sie',
                             
'($cnt=@base_convert("\1", 16, 10))
                               ?substr(($str=@strtr(\'\2\', array(\'\"\'=>\'"\', \'\\\\0\'=>"\x00"))), 0, $cnt).unchunk(substr($str, $cnt+2))
                               :""
                              '
,
                             
$result
                            
);
         }
?>
up
7
asalamanca at redcetus dot com
13 years ago
This is a very fast program for test a form or link (many times).
<?php
$repeat 
= 100// How many times repeat the test

$timeout = 100// Max time for stablish the conection
$size    = 16;   // Bytes will be read (and display). 0 for read all

$server  = '127.0.0.1';            // IP address
$host    = 'www.example.net';             // Domain name
$target  = '/poll/answer.asp';        // Specific program
$referer = 'http://www.example.com/';    // Referer
$port    = 80;

// Setup an array of fields to get with then create the get string
$gets = array ( 'get_field_1' => 'somevalue',
               
'get_field_2' => 'somevalue' );

// Setup an array of fields to post with then create the post string
$posts = array ( 'post_field_1' => 'somevalue',
                
'post_field_2' => 'somevalue' );

// That's all. Now the program proccess $repeat times

$method = "GET";
if (
is_array( $gets ) ) {
   
$getValues = '?';
    foreach(
$gets AS $name => $value ){
       
$getValues .= urlencode( $name ) . "=" . urlencode( $value ) . '&';
    }
   
$getValues = substr( $getValues, 0, -1 );
} else {
   
$getValues = '';
}

if (
is_array( $posts ) ) {
    foreach(
$posts AS $name => $value ){
       
$postValues .= urlencode( $name ) . "=" . urlencode( $value ) . '&';
    }
   
$postValues = substr( $postValues, 0, -1 );
   
$method = "POST";
} else {
   
$postValues = '';
}

$request  = "$method $target$getValues HTTP/1.1\r\n";
$request .= "Host: $host\r\n";
$request .= 'User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.2.1) ';
$request .= "Gecko/20021204\r\n";
$request .= 'Accept: text/xml,application/xml,application/xhtml+xml,';
$request .= 'text/html;q=0.9,text/plain;q=0.8,video/x-mng,image/png,';
$request .= "image/jpeg,image/gif;q=0.2,text/css,*/*;q=0.1\r\n";
$request .= "Accept-Language: en-us, en;q=0.50\r\n";
$request .= "Accept-Encoding: gzip, deflate, compress;q=0.9\r\n";
$request .= "Accept-Charset: ISO-8859-1, utf-8;q=0.66, *;q=0.66\r\n";
$request .= "Keep-Alive: 300\r\n";
$request .= "Connection: keep-alive( "Keep-Alive: 300\r\n";
$request SMj'keyword">= 80port o: max-/a> t">$request .="keyword">= 'lt">1 );
   
urlencode=
"POST");
   

Content-Length: "
< class="string">"POST";
} else { , -;
$request .=lass="keyword">, -;
"POST"$request
, -;
, -;
substr"POST");
   
$postValues, -);
, -
$postValues, -$postValues( $get class// Referer
$proxy_fp $get to a port
($hostip, $port, $errno, // How many times repeat thass="default">$proxy_name
\r\n"span>$get classass="default">$errno, )span>$get izss="default">urlencodeAS urlencode= , -);
   
"span>$get classass="default">$errno, urlencodess="keyword">= , -);
   
$proxy_cont "\r\n\r\n"); $get classss="default">is_array( , -); "span>$get classass="default">$errno, urlencode) . 4096);
    span>$get classss="default">is_array'd a vhran class="keyword">AS $postspan clas--lass="keyword">AS $contelass="default">$postspan clas>, -'d"default">substr, -123456789012345
15405nc=up" title="Vote up!" class="usernotes-v15405div class="votes">
p14nd4 kexianbin at diyism dot com<4-07rong09:3>
13 years ago varietpan>$cdly,ws d$dataep-Alispancertis_array$proxy_fp 'dssl://loc=dn cl\", 993); ult">ls="default">urlencodeis_array, "key234567834567PHP Warnng"s="default">is_array4096$proxy_fp "POST");
'my.span. to a ' did />&nr /ch expec070 CNyword">;

);     "ke cryp a pan-AT pass= 1834567PHP Warnng":class="sclass="dn)"ke ass="defau assssl://loc=dn cl:993 (Unkn/spaerror) pan-AT pass= 1834567-?> ls|"key234567834567PHP Warnng":class="sclass="dn)"ke cryp a pan-AT pass= 1834567PHP Warnng":class="sclass="dn)"ke ass="defau assssl://my.span. to a :993 (Unkn/spaerror) pan-AT pass= 1834567-?> ls|"key234567834567Resource"da #18901234p; 01234p;        } br) on 23-MAY-09, which 75388ault">?>
5388aue=up" title="Vote up!" class="usernotes-5388
AlexspaernWeme"a po ryan1_00 at hotmail dot com
13 years agoUrl classit; Warnng" w); pan>cSSL: sae=ds="ktocolaerror", n class="defaultbugssernst&ntbugsernotes232ally= // Refeest over proxy
$proxy_fp , -,
) .n>$proxy_portass_inf );
   
, span>, -,
) .rd">) .rd">) .ss="default">$proxy_fp)
    
) . ord">= rd">= , -)
  &nbs[>   
) .rd">) .rd">) .casss="default">urlencoden>=> 'somevalue'$get ---m'n>);
   
$proxy_cont => 'somevalue'$get;
   
$proxy_cont => 'somevalue'=> 'socasss="default">urlencoden>=> 'son>=> 'somevalue'$get ---m'n>);
   
$proxy_cont => 'somevalue'$get;
   
$port    ) . ord">= rd">= $getailan>);
   
$proxy_pass rd">= $getfi); <@default">4096$proxy_fp $get ---m'n>); ) . )
  &nbs[>   
($hostip, $port, $errno, $port    rd">= , ) .>4096);
   
fi<="keyword">,
(
, -)
  &nbs[>   
) . )
  &nbs[>   
"POST$proxy_cont, -)
  &nbs[>   
an>); ) . )
  &nbs[>   
"POST$proxy_cont    n class="default">$name => 'somevalue') .>4096pan>n class="default">$name => 'somevalue') .>4096pan>); ) . )
  &nbs[>   
    "rd">= "\r\n\r\n");
    while(!,
) .>$getailan>); 4096");
   
fi<="keyword">,
(, $port    rd">=
) . ord">= 4096);
    }
   
,
rd">=
) .ss="def!empty }
   
,
rd">=
ss="keyspan class="keyword"="keyword">) .rd">) .rd">) .ss="default">$proxy_fp)
   ) . ord">=
$proxy_fp);
         } br) on 23-MAY-09, which 91668ault">?>
ghzero cla ryan1_00 at hotmail dot com9-06-22 05/a>
13 years ago$dan>&ngivean-Aseem>clasb"uscan c />         } br) on 23-MAY-09, which 3488fault">?>
488faue=up" title="Vote up!" class="usernotes-488f
joe
13 years agoquick
$dy mu517res/spaass=spanrd"altte.aef t">1 $dy are sayault>o
);
   
'>SMj'keyword">= ;
   
$proxy_cont SMj'keyword">= );
   
    'com.dll, etc./ord"a="dt&n,cetc.m107020">
1neave a smevalue'
);

// Setup an array );
$name ;   
'an class="string">"'build
4096">// Refeen>// Setup an array ); class="default">$name ;    "= "POST"); "=" efault">$proxy_cont    $name ) . "=" "    'sn>f trail// Setup an array of fin>);
   
$proxy_cont = ,
(, $port    , "
// Setup an array ss="default">is_array$proxy_fp ;
}
echo
.= ($hostip, $port, $errno, // How ma>is_array$port    .="keyword"span class="default">$proxy_portfpn class="string">"=/>    'error te">1usword">=/>    $request  $errnospan classpan class="keyword">= $porspan cla)an>.="keywor>"POST="string">'send
"POST);
   
fpn class="string">"
(
(
$errnospan class="string">
$p>"POST);
   
fpn class="string">"
(
$request
.= "Host: "POST);
   
fpn class="string">"
(
$request "POST);
   
fpn class="string">"
(
;
}
echo

Content-Length: "
= , }
echo

"POST);
   
fpn class="string">"
(
span>

"POST);
   
fpn class="string">"
();     ".="keywor>"POST="string">'loop$datasponse4096">// Refe />"\r\n\r\n");
    while(!"
( ");
   
fpn class="string">"
(

"POST="string">'s="ke s- we are done word"il"keywor>"POST);
    }
   
"
, ->, -         } br) on 23-MAY-09, which 52033ault">?>

s"de iv> obndy a> obndy iv> asalamanca at redcetus dot com5-04-19 08:4>
13 years ago $daheaaernspanwanpaassfipanspanlass="n>$datadirfau as$is snippetom107020">
4096">// Refe />"\r\n\r\n");
    while(!"
"POST"$proxy_fp ;

);
   
fpn class="string">"(<1024n class="string">") .>$proxy_cont = $proxy_fp     ";

$proxy_pass ( $gettadirfauefault">$proxy_fp ;

);
    }
   n>$proxy_pass     $proxy_pass     $proxy_fp , -123456789012345// How ma>is_array$proxy_cont = $proxy_fp $geult">>, -
< tryault>o$is newpassk as$daend$danassws "rclassyo>$drwise. A six hour bugsm107020">          } br) on 23-MAY-09, which 36703ault">?>
richardaburtssya> hotmordwiv>
13 years ago
// How ma>is_array$proxy_pass SMj'keyword">= // How ma>is_array$proxy_pass , -'s="defaulass="hdefault">4096">// Refen>= $proxy_fp ;

$proxy_fp ;

$port        $port    $proxy_cont
<)nn exitn>, -
$proxy_cont <)ppan clas="keyword">= ( $ge class_sss_"commendefault">$proxy_cont = $proxy_fp     1fault">$port    .= ( 'snend"POST$proxy_cont = $proxy_fp     span ault">$port    .= ( 's/>.= ( ); ;

$proxy_cont
= $proxy_fp
    1efault">$proxy_fp "\r\n\r\n"$proxy_fp .= ( $proxy_fp 1wenr /ch br /CRpan claeyword">( ( $ge readdefault">$proxy_cont = $proxy_fp (<1n class="string">") ">( 'salso dropan>f tr /LFpan claeyword">( ( $getchunk_ izsefault">$proxy_fp ;

$gehexdecdefault">$proxy_cont = $proxy_fp 's="dvespaassreal numba an clasclass=">( ( $getspsponse>); ;

$proxy_cont
= $proxy_fp
    $proxy_fp ( ( $ge readdefault">$proxy_cont = $proxy_fp = 2n class="string">") "">( 'sdi/ch br /CRLFt>$
( "
$getchunk_ izsefault">$proxy_fp ) ">( 'stt">1wen>.= ( = 's---- ( "$proxy_fp &na nice wayaassd pa brails br /real ccl"POS???)( "\r\n\r\n");
    while(!$proxy_fp
$getspsponsen>); $proxy_cont = $proxy_fp (

( 's-="ke cclass="de"keywor>"POST);
    }
   
$proxy_fp
'sdo striserng$datasponselass="hdefault">4096">// Refepclatn>, -
); , -); // Setup an arrayult">123456789012345}p;        } br) on 23-MAY-09, which 56049ault">?>

robisya> pozytle= iv> asalamanca at redcetus dot com5-08-21 03:38
13 years ago1 <,t>$$oughnonowtslighuow. Fcom="strin, heredwa &nsuredwhycript wa$daOrtese to a ,t />pa I hav &na fluke,cspanIsd uble----- ed
"ke it
}p;        } br) on 23-MAY-09, which 95605nce been removed.]
95605nce=up" title="Vote up!" class="usernotes95605
nytle_rsedit yahoo iv> kexianbin at diyism dot com<0-01-12n02:26
13 years ago$atsIP.234567834567ent">// Setup an array a very 234567834567$fisiern">// How ma>is_array");
  &nbsn>'sReadn>$das>$daproxyasssean class="default">SMj'keyword">= // How ma>is_array"=" "('sGet// Setup an array isiern">// How ma>is_array$proxy_fp "("
'sHeredwe lt">1wrs "">$dagoodAT es234567834567pult">$proxy_fp, -// How ma>is_array$port    $getin">// How ma>is_array$gecounndefault">$proxy_cont = "(<1n class="string">"$getin class="string">"$get-Alefault">$proxy_fp = "    "'sT-Aliespa proxyn class34567pult">$proxy_fp$proxy_fp = "((); "=" $proxy_cont    sproxyn class="string">"'sSe ""IPcspanan cl clasclass="default">4096">// Refeifp>$getcer proxy
); <@r
$proxy_fp
$get plite"&nbs />) .>($hostip( spp>rd">= 1fault">$port    .= pan class="defat-Alefault">$proxy_f>

<_ccl"an class="string">"\r\n\r\n""=" ryan1_0anp/em> ¶p;  >$proxy_cont

<_ccl"an class="string">"\r\n\r\n"'son>=> "=" ( pan clalass="lass="k}an>    fpnpan claexpln class="string">"=" $proxy_cont<="keywo}lass="keyword">=

"=" = "POST);
    }
 966bsp;
"<966bs33aue=up" title="Vote up!" class="usernot966ult">>, -         } br) on 23-MAY-09, which 52033ault">?> >, -      &Vu37517">

s"de iv> obndy a> obndy iv> $*"de"key* subjTE:c:>13 yeacripuerytreault3au mac-addres ,t e=fuau sp; s"de"key* of a Cisco 3548 Sy_fp(">// Refepclatn>, -"&nbs />

argv4096">// Refe />"argv$get plite"&nbs />'s-="ke   4096.="keyword"span class="defauex: '=efaa"ss=">'s-="ke cclass="de"keywor>>$proxy_cont<4567yspan class="kglobalclass="2 ) ">( , $port$ge cla, e.pnetl"('sSe ""IPcspanan cl clasclass="default">4096">// cfgSstron&nbs />

cfgPp; word"="keyword">) .>;
}
echo
.= (

cfgTimeO>$errno    4096.="keyword"span class="defaudwa"'s-="ke   .="keyword"span class="defaudwa_inf "keyword">)
  &n.pnetn>
// How ma>is_array

"POST4096_inf "keyword">)
  &n.pnetn>
// How ma>is_array"POST4096_inf "keyword">)
  &n.pnetn>
// How ma>is_array

"POST4096_inf "keyword">)
  &n.pnetn>
// How ma>is_array"POST4096_inf "keyword">)
  &n.pnetn>
// How ma>is_array"POST"=" $proxy_con40964096"'sHeredwe lt">1wrs "">$dagoodAT4096) "jsHeredwe lt">1wrs "">$dagoodA11-1pan class="default">$port"// How ma>i$port); 40964096); 40964096<"keyword">= $proxyst_field_s_aeamfault">$proxy_cont <)nn exitn>, -// How ma>i$port( "=" 4096">// Refe />"
'sHeredwe lt">1wrs "">$dagoodAT4096's/>&na nice wayaassd pa brails br /real ccl"POS???)e.pnetn>("// How ma>i$port); 40964096(
$proxy_pass ( t">$proxy_fp // How ma>is_array<'ass="klass="keyword">(); 4096
4096(
$proxy_pass ( tsean class="default">SMj'keyword">= // How an>;

); 4096
40964096"(
( FastEurclnetord">;

); 4096.="keyword"span class="defau/sp"
); pan classspan>"(
('--More--ass="klass="keyword">(); 4096_inf "keyword">)
  &n.pnetn>
// How ma>is_array"POST"=" , -40964096.="keyword"span clakeyword">(pa brails br /real ccl"POS???)e.pnetn>4096) "infdn>$get plite('/spad_n>($proxy_cont); 40964096<"keyword">= ) "j class="string">"// How ma>i$port( _inf "keyword">)
  &n.pnetn>
// How ma>is_array"POST40964096<"keyword">= $proxypord">.="keyword"span class="defauEnd."string">"POST
"POST);
    }
&nbs77587bsp;
">, -         } br) on 23-MAY-09, which 52033ault">?>
<77587bs33aue=up" title="Vote up!" class="usern77587ult">>, -      &Vu37517">
s"de iv> obndy a> obndy iv> <77587bs3"#37517" class="name"> class_as="def/span>$r ss=.iniopan .span>"dn)pm3h me uble-in chunupotebr /> tobr ="usuredtheredwerednoaerrors.m107020"> ">, -         } br) on 23-MAY-09, which 52033ault">?> <26074bs33aue=up" title="Vote up!" class="usern26074ult">>, -      &Vu37517">
s"de iv> obndy a> obndy iv> <26074bs3#37517" class="name"> str1t"660702mspanir n> asalausp; dcetus dolas> ;
hal/voo>kextelyoredwastr1tan>alkspan Kali"> /snbova, m>discodiv/>&nsis
"POST
"POST"    _inf "keyword">)
  &kali_> ( ) .>$proxy_cont.="keyword"span clakeyword">(('sSe ""IPcspanan cl clasclass="default">4096">// kali_> ( ) .>;
}
echo
.= (
$hostip<'sHeredwe lt">1wrs "">$dagoodAn>) .>$proxy_cont$get plite(""POST;
}
echo
$get plite("$proxy_fp
(
=     = , }
echo "POST srom
    while(!$proxy_fp
"POST"$proxy_5ng">"POST(= ,
}
echo ) "efausayeftl"ass=pan>'sHeredwe lt">1wrs "">$dagoodA\>$proxy_cont$get plite("ass="ss>$proxy_fp     while(!$proxy_fp "POST"$proxy_"efausayeftn>$get plite("unr />_efaus>$proxy_fp =     $get plite("ass="ss>$proxy_fp $proxy_pass ( =
s"de iv> obndy a> obndy iv> <1ppreciatee13 yemdy />&n,fuauows salapo p ma a&amv//y2of urls1-"> "5-08lass=io1sim "=" a&amv//y2of URLSamp;t to a aI/spaI'm ass "    _inf "keyword">)
  &nrlArassspan class="keyword">(/span>    ( claexpln class="string">"=" /span>    .="keyword"span clakeyword">( claexpln class="string">"=" /span>    saeaaeAv//y(n>    saeaaeAv//y(n>    saeaaeAv//y(n>)
  &x67yspan class="kglobspan>saeaaan>'sHeredwe lt">1wrs "">$dagoodA="string">// How ma>i$port$port$port  &nnrlArassspan class="keyword">(// How ma>i$port= n>  span>   
$get plite$port  &nnrlArassspan class="keyword">($get plite   
$get plite$get plite) .>$port  &nnrlInfdn>$get plite$get plite) .>    $get plite$get plite) .>    ;

   
$get plite$get plite$port  &nnrlInfdn>$get plite$get plite    $get plite$get plite  &nn>$proxy_pass     $get plite'sSe ""IPcspanan cl clasclass="default">4096">// nrlInfdn>
$get plite$get plitepannrlInfdn>$get plite$get plite) .>        ;
}
echo $get plite.= ($get plite.= 1wrs "">$dagoodAn>.= ""IPcspanan cl clasclass="default">4096">// ss="desn>
$get plite1wrs "">$dagoodAn>.= saeaaelass="default">4096">// nrlInfdn>$get plite$get plite  &nn>">// nrlInfdn>$get plite$get plite  &nn>$proxy_pass     = , $get plite">// nrlInfdn>$get plite$get plite.= ">// nrlInfdn>$get plite$get plitep /las\r\n""POST$proxy claexpln class="string">"="     saeaaespan>    >'s/>&na nice wayaassd "POST  m3h _inf "keyword">)
  &x67yspan class="kglobspan>saeaaan>'sHeredwe lt">1wrs "">$dagoodA=/span>    an class="defaulin">// How ma>is_array
$port  &nnrlArassspan class="keyword">(// How ma>i$port= n> an>'s/>&na nice wayaassd pa brails br /real ccl"POS???)ss="desn>
$get plite$proxy_cifpanplass="keyword"="keyword">) "ortDteHn>
$get plite$proxy_an>$get plite); "$get plite); 4096
$get plite); "
$get plite); 4096
keyword">= $proxy an>   /span>    $get plite); =     saeaaestring">""); $port  &nnrlArassspan class="keyword">($proxy retur    's-="ke cclass=span>    "POST);
&ha
$daend$dana101872an03aue=up" title="Vote up!" class="usern101872ivS"de Dobndy />         } br) on 23-MAY-09, which 36703ault">?> <101872an03aue=up" title="Vote up!" class="usern101872ivS"de Dobndy />      &Vu37517">
s"de iv> obndy a> obndy iv> <101872an0#37517" class="name"> " "       /span>    saeaaespan>  &nyword">('GETass="klass="keyword">(  &ns="string"*arteslRbaul,csMethod/(GET seyw03:3 suppp; ed) */   /span>    (  &ns="string"*aTaryworIP/Hoa $ hr */   /span>    saeaaespan>    ;

   /span>    "('/ass="klass="keyword">(  &ns="string"*aTaryworURI */   /span>    saeaaeiv//y(npan>  &ns="string"*arteslGET DteHcie.eiv//y('var1' =ass=p'val1',p'var2' =ass=p'val2') */   /span>    saeaaeiv//y(npan>  &ns="string"*artesl03:3 DteHcie.eiv//y('var1' =ass=p'val1',p'var2' =ass=p'val2') */   /span>    saeaaeiv//y(npan>  &ns="string"*arteslCookinbDteHcie.eiv//y('var1' =ass=p'val1',p'var2' =ass=p'val2') */   /span>    (  &ns="string"*aCustomartesl
$dclass=iv>arywo="_blanksphttp://localhoa /ted5 */   /span>    saeaaespan>    &nbs />  &ns="string"*aSs="de /span>   /span>    srom
pan>  &ns="string"*aIncludeartesl   /span>    srom
  &ns="string"*aIncludeartesl   /span>  &nd">(n>   /span>    "('>'son>=>    /span>    saeaaespan>  &nrd">.= &nbs />$port  &nverb>); 4096keyword">=     "('>'son>=>    /span>    "); $port  &nywodteHn>  &nn>"  &nn>'son>=>    /span>    "('>'son>=> >   /g">"spasn$port  &nywodteH class="string">"
"$v"); $port  &nkn>('=>'son>=> ">//urlen $port  &nv=> >   /g">"spasn$port  &npoa dteHcsp;   saeaalfpauck).m107020">
"$v    "); $port  &nkn>('=>'son>=> ">//urlen $port  &nv=> >   /g">"spasn$port  &ncookinbsp;   saeaalfpauck).m107020">
"$v    "); $port  &nkn>('=>'son>=> ">//urlen $port  &nv=> >   /span>    "(""string">"POST    "); <$verbbsp;   saea/as\r\n"=> ">// nrn class="string">"">// ywodteH_ cl class="string">""">// crlfng">"POST    "'son>=> ">// ipl"/las\r\n"">// crlfng">"POST    """>// crlfng">"POST    """"">// crlfng">"POST    """>// crlfng">"POST    " clate' class="string">"">// crlfng">"POST    """>// crlfng">"POST   /g">"spasn$port  &ncustom_
alfpauck).m107020">
"$v    ""=> ">// v class="string">"">// crlfng">"POST   /ifpanemptyn$port  &ncookin_classspan class="keyword">("'son>=> ">//subclassspan class="keyword">($port  &ncookin_classspan class="keyword">(.= (.= ( ">// crlfng">"POST   /ifpaan>); <$verbbsp;   saea=span>"$port  &npoa dteH_ clssspan class="keyword">("  &nrd">.= ($port  &npoa dteH_ clssspan class="keyword">(.= (.= &nbs />""m-urlen "">// crlfng">"POST    "'son>=> ">//strlenssspan class="keyword">($port  &npoa dteH_ clssspan class="keyword">(">// crlf class="string">"">// crlfng">"POST    "(keyword">= $proxy k      ""POST   /ifpanplass="keyword"="keyword">) "ora_hdi    ""POST   /ifpa

"'sSe ""IPcspanan cl clasclass="default">4096">// ipss="klass="keyword">() .>;
}
echo
.= (); t;
}
ss="defa:kspan>   
"POST    <'sSe ""IPcspanan cl clasclass="default">4096">// eyword>"POST"$proxy_0ssspan class="keyword">(4096
">// /span>saea*nass="default">4096
">//1000ssspan class="keyword">(= , }
echo t  &norang">"POST"  &nrd">.= """POST  &nrd">.=

}
echo "  &nrd">.= ($port  &nretn>// How ma>ibsp; ($port  &nretn>
// How ma>iclass="ke"str"string">"POST// How ma>ibsp; }
echo "POST$proxy_pass     $Exa>kex usages
.="keyword"span clat> ((.="keyword"span clat> ((// How ma>ibsp; ;

&nbss=infdbss=ass="klass="keyword">(.="keyword"span clat> ((// How ma>ibsp; ;

&nbss=infdbss=ass="klass="keyword">("("("($proxy_pass     $[EDIT BY danbrown AT ss= DOT ne : Contai"spa() loop;/anoaeyr bugfix provided by Suat Secmenieyw12-JAN-div2pan cix a /span><(n , 0ul /span>);
&ha

$daend$dana92588an03aue=up" title="Vote up!" class="usern92588ivS"de Dobndy />         } br) on 23-MAY-09, which 36703ault">?> <92588an03aue=up" title="Vote up!" class="usern92588ivS"de Dobndy />      &Vu37517">
s"de iv> obndy a> obndy iv> <92588an0#37517" class="name"> $daend$danas3411an03aue=up" title="Vote up!" class="userno3411ivS"de Dobndy />         } br) on 23-MAY-09, which 36703ault">?>       &Vu37517">
s"de iv> obndy a> obndy iv> "  &nclass="kennn.nnn.nnn.nnning">"POST  &nng">"=" $proxy_pass       &nan>  &nrd">.= "POST"=" $proxy_pass     saeaaespan>    ;

"
  &nrd">.= 'sSe ""IPcspanan cl clasclass="default">4096">// cfgS
}
echo t  &ncfgPor"rd">;
}
echo
.=
;
}
echo .= (t  &ncfgTspaO>(        .="keyword"span claclass="keCaa""POST.="keyword"span claclass="keCaa"POST    "$port  &nn.pnbt// How ma>iclass="ketoto"string">"POST    "$port  &nn.pnbt// How ma>iclass="keer"string">"POST    "$port  &nn.pnbt// How ma>iclass="ketutu"string">"POST    "$port  &nn.pnbt// How ma>iclass="kepxit"string">"POST's/>&na nice wayaassd pa brails br /real ccl"POS???)e.pnbt    .="keyword"span claclass="ke. ing">"POST.= "// How ma>ibsp; ); 4096"POST    $T redsalawill have"$dana72576an03aue=up" title="Vote up!" class="usern72576ivS"de Dobndy />         } br) on 23-MAY-09, which 36703ault">?> <72576an03aue=up" title="Vote up!" class="usern72576ivS"de Dobndy />      &Vu37517">
100lass="usernotes95605 2div class="votes">
s"de iv> obndy a> obndy iv> <72576an0#37517" class="name"> "ms pop3 auts11tica">"<. Rrtur" "    "(t  &npp; "(t  &naddressssspan class="keyword">(t  &nssl>); 4096n   /ifpanplass="keyword"="keyword">) "ssl>); 4096lass="k      "t  &naddressssspan class="keyworss="defa:995ing">"POSTlass="k      "t  &naddressssspan class="keyworss="defa:110ing">"POST    }
echo 1string">'sSe ""IPcspanan cl clasclass="default">4096">// nriclass="string">"
    }
echo 4096
">//NULLclass="string">"
) "st1;   while(!"( ) subclassspan class="keyword">($port  &nst$proxy_0ssspan class="keyword">(4096">//3ng">"POST"POST}
echo span class="k  4096
">//NULLclass="string">"
) "st    "POST) fwrit c

}
echo t  &nst">//strlenssspan class="keyword">($port  &nst   

}
echo span class="k  4096
">//NULLclass="string">"
) "st1;   while(!"( ) subclassspan class="keyword">($port  &nst$proxy_0ssspan class="keyword">(4096">//3ng">"POST"POST}
echo span class="k  4096
">//NULLclass="string">"
) "stt  &npp; ""POST) fwrit c

}
echo t  &nst">//strlenssspan class="keyword">($port  &nst   

}
echo span class="k  4096
">//NULLclass="string">"
) "st1;   while(!"( }
echo span class="k  ifpanplass="keyword"="keyword">) subclassspan class="keyword">($port  &nst$proxy_0ssspan class="keyword">(4096">//3ng">"POST"POST4096">//true/>}
echo span class="k  ) subclassspan class="keyword">($port  &nst$proxy_0ssspan class="keyword">(4096">//4/>}
echo "POST4096">//saln cto$proxy k  lass="k  4096">//NULLclass="string">"
4096">//lass="string">"POST);
&ha

$daend$dana47845an03aue=up" title="Vote up!" class="usern47845ivS"de Dobndy />         } br) on 23-MAY-09, which 36703ault">?> <47845an03aue=up" title="Vote up!" class="usern47845ivS"de Dobndy />      &Vu37517"> 100lass="usernotes95605 2div class="votes">
s"de iv> obndy a> obndy iv> <47845an0#37517" class="name"> " "    (    "    "  &nrd">.= ($port  &nurlssspan class="keyword">(    "  &nrd">.= "$get plite"POST    saeaaespan>    "$get plite"POST) "pp; word"="keyword">) .>$proxy_0ssspan class="keyword">(lass="k      saeaaespan>    ;

"
$get plite"POST) "url_p3dsedclass="string">"$get plite"POST  &nclass="keing">"POST"POST.= "$get plite"POST) "n>saeaaespan>  &nclass="k"GET span>      &nclass="k m3hanas0"strHoa : span>    "POST    "  &nrd">.= 'sSe ""IPcspanan cl clasclass="default">4096">// hoa ssspan class="keyword">(t  &npor"rd">;
}
echo
.= ;
}
echo
.= (t  &30ssspan class="keyword">(   

}
echo t  &nn><'sSe ""IPcspanan cl clascfo$proxy k  span>    "  &nrd">.= o$proxy k  an>'s/>&na nice wayaassd pa brails br /real ccl"POS???) />}
echo     ('s/>&na nice wayaassd "
"
o$proxy k      (span>(""stri class="string">""  &nrd">.= }
echo    

}
echo span class="k  span class="k  retur
    'sSe ""IPcspanan cl clasco$proxy"$proxyuss="default">4096
">//lass="string">"POST);
&ha

$daend$dana46836an03aue=up" title="Vote up!" class="usern46836ivS"de Dobndy />         } br) on 23-MAY-09, which 36703ault">?> <46836an03aue=up" title="Vote up!" class="usern46836ivS"de Dobndy />      &Vu37517"> 100lass="usernotes95605 2div class="votes">
s"de iv> obndy a> obndy iv> <46836an0#37517" class="name"> .="keyword"span clat>

("

$dclass= "POST"   

(4096">// /span>saeaaespan>  &nrd">.= "POST    p>"  &nrd">.= ($port  &nurlssspan class="keyword">(>   /ifanspan>    ($port  &nurlssspan class="keyword">($get plite((("  &nrd">.= class="string">"$port  &nurlssspan class="keyword">($get plite() "urlssspan class="keyword">($get plite(0 class="string">"($get plite(    ;

.= ;
}
echo
.= (t  &$/span><'sSe ""IPcspanan cl clascn>    }
echo "="   &n$proxy k  "
$port  &n />}
echo class="k"GET /ing">"POST.= ($get plite() "urlssspan class="keyword">($get plite(=> ) "urlssspan class="keyword">($get plite(  &nclass="k'ass="klass="keyword">("POST.= ($get plite("POST    "  &nclass="k'ass="klass="keyword">('s/>&na nice wayaassd pa brails br /real ccl"POS???) />}
echo "
"$port  &n />}
echo span>  &nrd">.= ); 4096
>   / k  $port  &preg_matcec

('~(ilas/
(// How ma>ibsp; (t  &nm/>}
echo     "
$port  &n />}
echo >   / k  retur
    }
echo $get plite">//3ng">"POSTkeyword">= $proxy"keyword_pass     "POST);
&ha

$daend$dana99689an03aue=up" title="Vote up!" class="usern99689ivS"de Dobndy />         } br) on 23-MAY-09, which 36703ault">?> <99689an03aue=up" title="Vote up!" class="usern99689ivS"de Dobndy />      &Vu37517">
s"de iv> obndy a> obndy iv> <99689an0#37517" class="name">   &nng">"="     ""IPcspanan cl clasclass="default">4096">//0ssspan class="keyword">(      &n  &nclass="k'hoa 'ss="klass="keyword">(      &n  &nclass="k'por"'ss="klass="keyword">(      &n  &nclass="k'e.ph'ss="klass="keyword">(      &n  &nclass="k'pp; 'ss="klass="keyword">(    "  &nrd">.= 'sSe ""IPcspanan cl clasclass="default">4096">// hoa ssspan class="keyword">(t  &npor"rd">;
}
echo ('Could noa 3aa'son>=> 4096">// hoa ssspan class="keyword">(    saeaaespan>  &nclass="k"palmaing">"POST$port  & p; &btrd">;
}
echo     (("\ring">"POSTspan>  &nrd">.= ;
}
echo     ('s/>&na nice wayayword">("ng">ing">"POST  &nng">"=" 'yword      &n$port  &nstatus"(aas\r\n"
ing">"POST  &nng">"=" "POST    "4096">// p; &btrd">;
}
echo t  &1024/>}
echo   &nng">"="   &n) st clssspan class="keyword">(t  &n; &nrd">;
}
echo class="k"there yeno gul,c accoun"ing">"POST(=> 4096(""string">"POSTspan>  &nrd">.= ;
}
echo     (=> 4096(""string">"POSTspan>  &nrd">.= ;
}
echo   &nng">"="   &n) st clssspan class="keyword">(t  &n; &nrd">;
}
echo ass="default">4096("Your unique $ hr: ing">"POST.= => (("/frd"iv ing">"POST.= => 4096(""string">"POSTspan>  &nrd">.= ;
}
echo   &nng">"="   &n) st clssspan class="keyword">(t  &n; &nrd">;
}
echo ass="default">4096("email:ing">"POST  &nng">"="   &nr\n"      &n  &nclass="k'/email:(.*) ,/'ss="klass="keyword">(   

(t  &n; &nrd">;
}
echo bsp; => <)o$proxy k     

;
}
echo     (ass="default">4096(">"POST  &nng">"="     => ">//str_replaccc

(" ing">"POSTass="default">4096("ing">"POSTbsp; => <)o$proxy k      => ">//str_replaccc

(",is_operator:0,is_admin:0,ing">"POSTass="default">4096("ing">"POSTbsp; => <)o$proxy k      => ">//str_replaccc

("email:ing">"POSTass="default">4096("ing">"POSTbsp; => <)o$proxy k  "=> <">$get plite">//0ssspan class="keyword">(    => ">//$matcee 'son>=> <">$get plite">//0ssspan class="keyword">() st clssspan class="keyword">(t  &n; &nrd">;
}
echo ass="default">4096("ERROR: Invalid"e.ph.ing">"POST  &nng">"="   &nr\n"   

;
}
echo     (ass="default">4096(">"POST      &n4096("Invalid"Usering">"POST  &nng">"=" "POST  &nng">"="   &n) st clssspan class="keyword">(t  &n; &nrd">;
}
echo class="k"Login/faileding">"POST  &nng">"="   &nr\n"      &nclass="k"Login/Faileding">"POST  &nng">"="    

s"de iv> obndy a> obndy iv> <91644an0#37517" class="name"> $port  &ilassaeyeyword_yword_pass   &nng">"=" hseylean clasrdwebypass     saeaaespan>  &nclass="k'ass="klass="keyword">(srdwebypass     "  &nrd">.= o$proxyypass     "  &nrd">.= 'sSe ""IPcspanan cl clasclass="default">4096">// fileTar; &rd">;
}
echo class="k'wass="klass="keyword">(      &nclass="k'ass="klass="keyword">(srdweban>'s/>&na nice wayaassd pa brails br /real ccl"POS???)p; &btrd">;
}
echo     saeaaespan>  &nrd">.= "
$port  &np; &btrd">;
}
echo $port  &16384/>}
echo span c   /ifpanplass="keyword"="keyword">) "hbr ivdndfoundrd">;
}
echo    

}
echo t  &nn><'sSe ""IPcspanan cl clascfo$proxy k      pordt class="string">"(    ;
}
echo       &n""POST    saeaaespan>  &nrd">.=

;
}
echo class="k""str"string">"POST) "hbr ivdndssp;   saea!(span>.= ) nspan c   /    "  &nrd">.= }
echo    

}
echo t  &subclassspan class="keyword">($port  &nbuffelrd">;
}
echo bsp; ;
}
echo bsp; }
echo       &nclass="k'ass="klass="keyword">(srdweb
   

}
echo span cspan>   

;
}
echo    
"POST);
&ha

$daend$dana82586an03aue=up" title="Vote up!" class="usern82586ivS"de Dobndy />         } br) on 23-MAY-09, which 36703ault">?> <82586an03aue=up" title="Vote up!" class="usern82586ivS"de Dobndy />      &Vu37517">
s"de iv> obndy a> obndy iv> <82586an0#37517" class="name"> "=" ""="ed; PHP 5wordweb * wordweb *//strong>;
}
echo     >   /porv /ypass     (>   /porv /ypass     (>   /porv /ypass     ;
}
echo >   /porv /ypass     (>   /public ring">"    (        (    (>   /}>>   /public ring">"    (    'sSe ""IPcspanan cl clasc) n>        (    "  &nrd">.= 'sSe ""IPcspanan cl clasc>>   /}>>   /public ring">"    ;
}
echo         (    ;
}
echo >   /}>>   /public ring">"    ;
}
echo     ""IPcspanan cl clasc) n>        (    saeaaespan>    ""IPcspanan cl clasc>>   /}>>   /public ring">"    (        (    (   /}>>   /public ring">"    (    ""IPcspanan cl clasc) n>        (    saeaaespan>    ""IPcspanan cl clasc>>   /}>>   /public ring">"    (        (    (>   /}>>   /public ring">"    (    ""IPcspanan cl clasc) n>        (    saeaaespan>    ""IPcspanan cl clasc>>   /}>>   /porv /ring">"    (>        "  &nrd">.= 'sSe ""IPcspanan cl clasclass="default">4096">// 13 yss="klass="keyword">(    (t  &$/3 yss="klass="keyword">(    ;
}
echo >   / k  ifpanspan>    ""IPcspanan cl clasc) n>       
o   

""IPcspanan cl clasc>class="k"GET i class="string">"t  &$/3 yss="klass="keyword">(    (class="k" m3hanas0"strHoa : i class="string">"t  &$/3 yss="klass="keyword">(    (class="k""str"string">"POST's/>&na nice wayaassd pa brails br /real ccl"POS???)eroxy_ 'sSe ""IPcspanan cl clasc)) n>    "( ""IPcspanan cl clasc>bsp; "POST    pa brails br /real ccl"POS???)eroxy_ 'sSe ""IPcspanan cl clasc)osuowtT    /    "  &nrd">.= ($port  &neroxy_codt'sSe ""IPcspanan cl clasc>bsp;

""IPcspanan cl clasc>class="k""str"string">"POSTbsp; ""IPcspanan cl clasc)osuowtT    /    ""IPcspanan cl clasc/>>   /}>>   /porv /ring">"    (    (        "   

() "fdrd">;
}
echo         ;
}
echo        
o>   /porv /ring">"    ;
}
echo t  &n; &nrd">;
}
echo span>">// filessspan class="keyword">(        "    'sSe ""IPcspanan cl clasclass="default">4096">// file class="string">"class="k".loging">"POSTclass="k"a+ing">"POST   

(/span>   

("Ymd G:i:sing">"POSTclass="k" - i class="string">"t  &$file class="string">"class="k" - i class="string">"t  &$; &n"class="k""ring">"POST   

$daend$dana76626an03aue=up" title="Vote up!" class="usern76626ivS"de Dobndy />         } br) on 23-MAY-09, which 36703ault">?> <76626an03aue=up" title="Vote up!" class="usern76626ivS"de Dobndy />      &Vu37517"> no a vaotes95605 0div class="votes">
s"de iv> obndy a> obndy iv> <76626an0#37517" class="name"> seywwith"1string"> where t toaddressahad ssl://.  Iewasag tt>&ns that were nterfeass= with"ng">ssl that showedr) in/t tos=" ins03au.an clasrdwebydiv id="http://bugs.mysql. http://bugs.mysql. rdwebydiv id="http://bugs.mysql. http://bugs.mysql. ss="despan class="keyword">);
&ha
$daend$dana62380an03aue=up" title="Vote up!" class="usern62380ivS"de Dobndy />         } br) on 23-MAY-09, which 36703ault">?> <62380an03aue=up" title="Vote up!" class="usern62380ivS"de Dobndy />      &Vu37517">
s"de iv> obndy a> obndy iv> <62380an0#37517" class="name">       &nng">"="         "  &nrd">.= "$get plite($get plite(  &nng">"="         "  &nrd">.= "$get plite($get plite(  &nng">"="         "  &nrd">.= "$get plite($get plite(  &nng">"="             ;
}
echo     (    (
        "  &nclass="k"---------------------ing">"POST.= ($port  &md5ssspan class="keyword">($port  &randrd">;
}
echo $port  &0ssspan class="keyword">($port  &32000ssspan class="keyword">($port  &0ssspan class="keyword">($port  &10ssspan class="keyword">(          &nng">"="         "  &nclass="k"POST ypass       &nclass="k m3hanas0"string">"POST    "    "POST    "">//$boundaryan>"POST  &nng">"="   &nr\n"      &nr\n"bsp; "bsp; }
echo     "  &nclass="k"--as\r\n"
">//$boundaryan>"POST    ""POST.= "POST"POST    ""POST.= }
echo "POST    "  &nclass="k"--as\r\n"">//$boundaryan>"POST  &nng">"="         "">//$boundaryan>"POST    "  &nrd">.= 'sSe ""IPcspanan cl clasclass="default">4096("ing">"POSTbsp;

(    "  &nclass="k"Codt"="-Dis=osi/>&n: form-bata; $ hr=\"e.phfile\";ofile$ hr=\"ypass     "POST    ""POST    ""POST.= }
echo "POST    "  &nclass="k"--as\r\n"">//$boundaryan>"POST    ""t  &strlenssspan class="keyword">($port  &nbata(class="k""str"string">"POST  &nng">"=" t tocodneg">"    "  &nrd">.= 'sSe ""IPcspanan cl clasclass="default">4096">// rem
bsp; (      &nng">"="        

}
echo t  &n
"POST.= (   

}
echo span cspan>   
"POST);
&ha

$daend$dana118847an03aue=up" title="Vote up!" class="usern118847ivS"de Dobndy />         } br) on 23-MAY-09, which 36703ault">?> <118847an03aue=up" title="Vote up!" class="usern118847ivS"de Dobndy />      &Vu37517"> 0lass="usernotes95605 -1div class="votes">
s"de iv> obndy a> obndy iv> <118847an0#37517" class="name"> "<, I ins03aued;t tohor" ca_root_nssan clasrdweb(Roet nertifica"es from certifica"e aut1lai/>es included;in/t toMozillaNSSassbrary"and thus in/Fi"usox"and Thunderbird.)an clasrdwebNow ith"orks>"POST);
&ha
$daend$dana36819an03aue=up" title="Vote up!" class="usern36819ivS"de Dobndy />         } br) on 23-MAY-09, which 36703ault">?> <36819an03aue=up" title="Vote up!" class="usern36819ivS"de Dobndy />      &Vu37517">
s"de iv> obndy a> obndy iv> <36819an0#37517" class="name"> $proxy k  $hseyle class="string">"  &nrd">.=

bsp; (bsp; (bsp; (bsp; (bsp; (bsp; ;
}
echo $port  &$hseylessspan class="keyword">(class="k"EHLO span>    'sSe ""IPcspananclass="k"string">"POSTbsp; (bsp; (bsp; ;
}
echo $port  &$hseylessspan class="keyword">(class="k"MAIL FROM:ilasp>  &nclass="kn>"POSTbsp; (bsp; (bsp; ;
}
echo $port  &$hseylessspan class="keyword">(class="k"RCPT TO:ilasp>  &nclass="kn>"POSTbsp; (bsp; (bsp; ;
}
echo $port  &$hseylessspan class="keyword">(class="k"DATA"string">"POSTbsp; (bsp; (bsp; ;
}
echo $port  &$hseylessspan class="keyword">(class="k"$port  &$messagran>"POSTbsp; (bsp; (  &nng">"=" (bsp; ;
}
echo $port  &$hseylessspan class="keyword">(class="k"QUIT"string">"POSTbsp; (bsp; (   

(    yspas>    yspas>    ring">"   

}
echo t  &npor"rd">;
}
echo t  &$/imeou"rd">;
}
echo ">//30ssspan class="keyword">(bsp; ;
}
echo ">//Faln c>bsp; aas\r\n"">//Faln c>bsp; ">//Faln c)yspas>    nspan c   /bsp; an>  &nrd">.= (    an>  &nrd">.= (;
}
echo         nspan c   /bsp; 4096("CONNECTING TOt  &n}
echo class="k"string">"POSTyword">("CONNECTING TOt  &n}
echo class="k"string">"POST  &nywor>"  &nrd">.= 'sSe ""IPcspanan cl clasclass="default">4096">// hoa />}
echo t  &npor"rd">;
}
echo t  &$errnord">;
}
echo t  &$errclassspan class="keyword">(t  &$/imeou"rd">;
}
echo     (        nspan c   /;
}
echo             nspan c   /bsp; 4096("CONNECTION FAILED"string">"POSTyword">("CONNECTION FAILED"string">"POST    o$proxy k  ;
}
echo         nspan c   /bsp; 4096("SUCCESS"string">"POSTyword">("SUCCESS"string">"POST  &nywor>"  &nrd">.=

(span cls
bsp; (  &nywor>"  &nrd">.=

() "bytes_left class="string">"bsp; (  &nywor>"((yword">) "bytes_leftssspan class="keyword">($get plite"POST)yspas>        nspan c   /bsp; 4096"POSTywor>"POST    ($proxy k  ring">"    ;
}
echo $port  &$hseylessspan class="keyword">(rd">.= ;
}
echo bsp; ;
}
echo ">//Faln c>bsp; ">//Faln c)yspas>    nspan c   /;
}
echo         nspan c   /bsp; 4096;
}
echo ywor>;
}
echo   &nywor>

(rd">.= ;
}
echo   &nywor>"
  &nrd">.=

(span cls
bsp; (  &nywor>"  &nrd">.=

() "bytes_left class="string">"bsp; (  &nywor>"((yword">) "bytes_leftssspan class="keyword">($get plite"POST    4096"POST    "POST"   

(    nspan c   /bsp;

($>"POST);
&ha

$daend$dana32830an03aue=up" title="Vote up!" class="usern32830ivS"de Dobndy />         } br) on 23-MAY-09, which 36703ault">?> <32830an03aue=up" title="Vote up!" class="usern32830ivS"de Dobndy />      &Vu37517">
s"de iv> obndy a> obndy iv> <32830an0#37517" class="name"> ""< to:a web
"< is lost after a"e.ph ywoinable amount nf lime or ifpt to
"< if a"e.ph$ hr/pss=("="s or cai/>cisms, pleasp email me! :-)/strong>sass="ua non-standard http responn ol/someserl/. Hnbs ithhelpsasomeone./strong> ("   

(yword">) "por"rd">;
}
echo t  &$pathrd">;
}
echo t  &$e.phan>("ing">"POSTbsp; ("ing">"POSTbsp; ;
}
echo ("30assspan class="keyword">(t  &$erlHseyle class="string">"  &nrd">.= 'sSe ""IPcspanan cl clasclass="default">4096">// addrssspan class="keyword">(yword">) "por"rd">;
}
echo t  &$errnord">;
}
echo t  &$errclassspan class="keyword">(t  &$/imeou"rd">;
}
echo ) "erlHseylessspan class="keyword">(  span>  &nrd">.= ;
}
echo ) "erlHseylessspan class="keyword">(t  &$/imeou"rd">;
}
echo
) "pathrd">;
}
echo
   span>  &nywor>"
  &nyword">("GET ypass     ;
}
class="k m3hanas0"strHoa : ypass     "<: Keep-Alive"strU.ph-Awn! : MyURLGrabber"string">"POST   ifpanplass="keyword"="keyword">) "e.phan>  &nywor>""<: Basic ing">"POST.= ;
}
echo $port  &$e.phan>bsp; $porr\n""POST  &nywor>""POST>  &nywor>

(t  &$erlSword"rd">;
}
echo >
  &nywor>"
  &nrd">.=

(>) cubcla_countan>4096"POSTclass="k"200 OK"$porr\n"bsp; (ng">"="   &nd">(     span>  &nywor>"  &nrd">.= o   /ng">"=" "<>     span>  &n/>while ( nspan>      ) 1gekec

("POST  &nywor>"  &nrd">.= }
echo
>    (ng">"="   &nd">() ctrlenssspan class="keyword">($port  &nresponn ng">"POST    (ng">"="   &nd">(     span>  &nywor>

(">//1ssspan class="keyword">(ng">"="   &nd">(     span>  &nywor>

() cubclaan>4096"POSTass="default">4096"POSTass="default">4096(>    (   retur    ( }>}>ypass     "POST);
&ha

$daend$dana277552303aue=up" title="Vote up!" class="usern27755ivS"de Dobndy />         } br) on 23-MAY-09, which 36703ault">?> <277552303aue=up" title="Vote up!" class="usern27755ivS"de Dobndy />      &Vu37517">
&nat lovepond"bet ng"s"de iv> obndy a> obndy iv> <27755230#37517" class="name"> ;
}
echo ">//4000ssspan class="keyword">(ypass     }
echo ("localhoa ing">"POSTypass     ("te. ing">"POSTypass     aas\r\n"">//sendbata(4096">// hoa />}
echo span cls
bsp; ;
}
echo ypass     "$port  &$statuec$porr\n">ring">"    (4096">// hoa />}
echo span cls
bsp; ;
}
echo ypass     "=" <#takes in account #send"bata to s
>#ring">"ypass     ("2ing">"POST  &nng">"=" <#amount nf linee to ; & rid nf befors we givepinpu">ypass     ("1ing">"POST  &nng">"=" <#amount nf linee to reas after we givepinpu">>ypass     "  &nrd">.= 'sSe ""IPcspanan cl clasclass="default">4096$port  &$}
echo class="king">"POSTbsp; ;
}
echo t  &$errnord">;
}
echo t  &$errclassspan class="keyword">(t  &30ssspan class="keyword">(ifpanspan>    }
echo    echoyword">("span cls
t  &$errclassspan class="keyworclass="k

;
}
class="k)"$porr\n"}>e/sp n>   for

"  &nrd">.= (t  &$i class="string">"      &nrd">.= (t  &$ian> /bsp; (4096">// />}
echo span>  &nrd">.= (
  &nywor>"  &nrd">.=

}
echo >  ) "bytes_left class="string">"bsp; (
  &nywor>(}
echo t  &nbytes_leftssspan class="keyword">($get plite(   span>  &nywor>

}
echo class="k"$port  &$messagran>"POST   for

"  &nrd">.= (t  &$i class="string">"      &nrd">.= (t  &$ian> /bsp; /sspan>  &nywor>(}
echo span>  &nrd">.= (
  &nywor>"  &nrd">.=

}
echo >  ) "bytes_left class="string">"bsp; (
  &nywor>
/sspan>  &nywor>(}
echo t  &nbytes_leftssspan class="keyword">($get plite(   span>  &nywor>(4096">// />}
echo }>>retur   
o>}>>ypass     "POST);
&ha

$daend$dana800662303aue=up" title="Vote up!" class="usern80066ivS"de Dobndy />         } br) on 23-MAY-09, which 36703ault">?> <800662303aue=up" title="Vote up!" class="usern80066ivS"de Dobndy />      &Vu37517"> 0lass="usernotes95605 -1div class="votes">
s"de iv> obndy a> obndy iv> <80066230#37517" class="name">     "=" "<>   /ypass     "< class="string">"  &nrd">.= ;
}
echo }
echo class="k'1.0.00'/>}
echo >  $port  &$minor_revis>"< class="string">"    "($get plite(>
  &nywor>an>  &nrd">.= (  &nywor>an>  &nrd">.= "<_infoan>  &nclass="k''/>}
echo >
) $sp; & class="string">"
  &nrd">.= 'sSe ""IPcspanan cl clasclass="default">4096}
echo t  &80ssspan class="keyword">(t  &$errnord">;
}
echo t  &$errclassspan class="keyword">(t  &30ssspan class="keyword">( /  &nywor>

}
echo class="k"GET /div.txt m3hanas1"string">"POST /  &nywor>

}
echo class="k"HOST: www.example.03"string">"POST /  &nywor>

}
echo class="k"Codneg">"<: >"POST> /an>  &nrd">.= o> /  &nywor>

}
echo
 /) $; &_info/>}
echo  / /"<_infoan>  &nywor>(}
echo rd">.= "POST / /  &nywor>

}
echo rd">.= "POST"POST /an>  &nrd">.= }
echo
  &nywor>

}
echo > /"<_infoan>  &nrd">.= ;
}
echo "POSTbsp; "<_infong">"POST /bsp; "< class="string">"    "<_infong">"POST$get plite( /bsp; "< class="string">"    "<_infong">"POST$get plite( /bsp; "< class="string">"    "<_infong">"POST$get plite(  &nclass="k'.'an>    "<_infong">"POST$get plite(  &nclass="k'.'an>    "<_infong">"POST$get plite(>) $late. _
"< class="string">"  &nrd">.= "$port  &$minor_revis>"< class="string">"  &nrd">.= ""POST /  &nrd">.= "<_infoan>  &nclass="k'ilasp sty clacolor:green"n>}
echo
 /  &nrd">.= "<_infoan>  &nclass="k'ilasp sty clacolor:red"n>}
echo
"<_infoan>  &nclass="k'ilasspasn>}
echo ywor>"<_infong">"POST}
echo   &nclass="k'1.0.00'/>}
echo   &nclass="k'ilas/pn>}
echo
 /) $errclassspan class="keyword">(
 /  &nrd">.= "<_infoan>  &nclass="k'ilasp sty clacolor:red"n>an>  &nrd">.=

}
echo   &nclass="k'ilas/pn>}
echo
 /  &nrd">.= "<_infoan>  &nclass="k'ilaspn>}
echo ywor>&ns_disablesssspan class="keyworclass="k'ilas/pn>}
echo
  &nywor>"<_infoan>  &nclass="k'ilaspn>}
echo ywor>}
echo >echoywor>"<_infong">"POSTypass     "POST);
&ha

$daend$dana619572303aue=up" title="Vote up!" class="usern61957ivS"de Dobndy />         } br) on 23-MAY-09, which 36703ault">?> <619572303aue=up" title="Vote up!" class="usern61957ivS"de Dobndy />      &Vu37517"> 0lass="usernotes95605 -1div class="votes">
s"de iv> obndy a> obndy iv> <61957230#37517" class="name"> >In some"wie/s iaua">" ASPSESSION ID and w trs could be a> logi< asp  ccript in on hplace, and t toactual e Do with">informa">"< in another place./strong>pas=("< (and alsoasome">cookips from/responn , and w tn"e.p;that ASPhSESSION i< >second"reque. to:t toactual e Do: (i tookasome"d3dte nf >codps from/other ppl)>/s,>    ypass   &nng">"=" "//do not put  http rdto URL, just bomain $ hr>ypass     an>  &nrd">.= ;
}
echo "POST>ypass   &nclass="k"pas=("POSTypass   &nclass="k"ing">"POSTypass   &nng">"=" // echo<"Cookips:ilasspn>//$body =PostP Do("www.example.ng"/coole Do.aspi,>//"a />&n=zzz", mycookips);>//echo<"ilasspn>//im"e.rd" ; & e Do - so it goesass="usern:>ypass     an>}
echo   &nclass="k"GETing">"POST>ypass   &nclass="k'
}
echo   &nclass="k"Accept-langu Do: en"strCookip: ing">"POST.= "POSTan>ypass     "  &nrd">.=

"POSTypass   &nspan>">// an>  &nrd">.= 'sSe ""IPcspanan cl clasclass="default">4096$dfollow http://www.example.ng"/coole Do.asp?p1=1ivS"de2=23n}
echo class="k'v'/>}
echo bsp; >rd">.= "POSTypass   &nspan>">//fpas=thruc

}
echo p>an>  &nrd">.= (}
echo t  &1000000ng">"POSTypass   &nspan>">//f>

}
echo echoywor>}
echo >ring">"
   

}
echo span cls
bsp; }
echo span cls
bsp; (''/>}
echo    span>  &nywor>;
}
echo   &nywor>;
}
echo }
echo p>}
echo    p>}
echo   &nywor>;
}
echo $get plite(   unn tanplass="keyword"="keyword">) "pathrd">;
}
echo $get plite(   p>;
}
echo   &nclass="k'/'/>}
echo ) impl ;
}
echo }
echo p>;
}
echo p>}
echo ("POST p>;
}
class="k m3hanas1"strHoa : ypass     }
echo class="k"string">"POSTp>}
echo   &nclass="k"Codt"="-typp: applica">""POSTp>}
echo   &nclass="k"urlencodpd"str/>}
echo   &nclass="k"ng">"POSTp>}
echo   &nclass="k"U.ph-Awn! : Mozilla 4s0"strCodt"="-length: ing">"POSTp>}
echo   &nrd">.= ($port  &nquery/>}
echo "<: >$port  &nquery/>}
echo class="k"ng">"POST   p>}
echo   &nywor>'sSe ""IPcspanan cl clasclass="default">4096
">// hoa />}
echo span cls
bsp; (   p>

;
}
echo p>}
echo    forlass="default">4096
">// a/>}
echo   &nywor>(ass="default">4096
">// han>(''/>}
echo     }
echo  /}
echo   &nywor>(;
}
echo p>( /  &nrd">.= }
echo  /}
echo ) "b/>}
echo (''/>}
echo t  &1/>}
echo bsp; (   }>   span>  &nywor>(;
}
echo    retur    }>ring">"    ;
}
echo }
echo span cls
bsp; }
echo span cls
bsp; (''/>}
echo    sp;
}
echo   &nywor>;
}
echo }
echo p>}
echo    p>}
echo   &nywor>;
}
echo $get plite(   unn tanplass="keyword"="keyword">) "pathrd">;
}
echo $get plite(   p>an>  &nclass="k""string">"POST;
}
echo   &nclass="k'/'/>}
echo ) impl ;
}
echo }
echo p>;
}
echo }
echo ("POST p>;
}
class="k m3hanas1"strHoa : ypass     }
echo class="k"string">"POSTp>}
echo   &nclass="k"Codt"="-typp: applica">"}
echo   &nclass="k"ng">"POSTp>}
echo   &nclass="k"U.ph-Awn! : Mozilla 4s0"strCodt"="-length: ing">"POSTp>}
echo   &nrd">.= ($port  &nquery/>}
echo "<: >$port  &nquery/>}
echo class="k"ng">"POST   p>}
echo   &nywor>'sSe ""IPcspanan cl clasclass="default">4096
">// hoa />}
echo span cls
bsp; (   p> ""IPcspanan cl clasclass="default">4096">// hrd">;
}
echo p>}
echo    ass="default">4096
">// han>("ing">"POST4096">// a/>}
echo   &nywor>(    }
echo  /}
echo   &nywor>(;
}
echo p>( /ywor>}
echo  /  &nrd">.= }
echo  /"}
echo   &nywor>((as\r\n"("ASPSESSIONing">"POST   ifanplass="keyword"="keyword">) $;otSess>"}
echo
) ywopoassspan class="keyword">(( p>an>  &nrd">.= ;
}
echo p>"}
echo     ( /}
echo ) "b/>}
echo (''/>}
echo t  &1/>}
echo bsp; (   }>   span>  &nywor>(;
}
echo    p>an>  &nrd">.= }
echo "POSTypass     (   p>;
}
echo ("ing">"POST  &nrd">.= }
echo    while (span>  &nrd">.= "    4096">// arassspan class="keyword">(p>;
}
echo   &nrd">.= 4096($get plite"POST>ypass   &nywor>(ass="default">4096">//ywopoassspan class="keyword">(($get plite"POSTas\r\n""POST  &nrd">.= (>rd">.=    retur    ;
}
echo >}>rd">.=
ypass <>It's not op">mized , but i hopeasomeon hmight"find it usefull./strongBe. Regards >DRY_GINypass );
&ha

$daend$dana1182492303aue=up" title="Vote up!" class="usern118249ivS"de Dobndy />         } br) on 23-MAY-09, which 36703ault">?> <1182492303aue=up" title="Vote up!" class="usern118249ivS"de Dobndy />      &Vu37517"> 0lass="usernotes95605 -2div class="votes">
s"de iv> obndy a> obndy iv> <118249230#37517" class="name"> "="ed, it seems;that hoa $ hr cg cbe a<"ilashoa $ hrn>yspas>/s,>    ypass   &necho ) 1string">'sSe ""IPcspanan cl clasclass="default">4096}
echo t  &80ssspan class="keyword">(yword">("Success!ing">"POST}e/sp nyword">("Failing">"POST}span cls
rd">.= );
&ha
$daend$dana392952303aue=up" title="Vote up!" class="usern39295ivS"de Dobndy />         } br) on 23-MAY-09, which 36703ault">?> <392952303aue=up" title="Vote up!" class="usern39295ivS"de Dobndy />      &Vu37517"> 0lass="usernotes95605 -1div class="votes">
s"de iv> obndy a> obndy iv> <39295230#37517" class="name"> "<.yspas>Unlesspyou specify "Codneg">"<: C);
&ha
$daend$dana345512303aue=up" title="Vote up!" class="usern34551ivS"de Dobndy />         } br) on 23-MAY-09, which 36703ault">?> <345512303aue=up" title="Vote up!" class="usern34551ivS"de Dobndy />      &Vu37517"> 0lass="usernotes95605 -1div class="votes">
s"de iv> obndy a> obndy iv> <34551230#37517" class="name"> >/s,>    $IAC  p>  &nrd">.= 4096("=" p>  &nrd">.= 4096("=" "< */>p>  &nrd">.= 4096("=" "< */>p>  &nrd">.= 4096("=" p>  &nrd">.= 4096("=" "< inote */>>//sendrd" Terminal Type>ypass   &nspan>">//fwrit c ""IPcspanan cl clasclass="default">4096">// stri/>}
echo ass="default">4096
">// IACrd">;
}
echo ;
}
echo ;
}
echo ;
}
echo ('vt100'/>}
echo ;
}
echo ;
}
echo p>ypass <>ciao>Sphgio P -nos?irpaass );
&ha
$daend$dana290052303aue=up" title="Vote up!" class="usern29005ivS"de Dobndy />         } br) on 23-MAY-09, which 36703ault">?> <290052303aue=up" title="Vote up!" class="usern29005ivS"de Dobndy />      &Vu37517"> 0lass="usernotes95605 -1div class="votes">
s"de iv> obndy a> obndy iv> <29005230#37517" class="name"> >/s,>    p>"=" /*youroproxyhcerver address*/>p>  &nyword">("192.168.10.1ing">"POSTp>"=" p>  &nrd">.= (p>"=" p>  &nyword">("
$dfollow http://www.aey.net/n"POSTp>an>  &nrd">.= 'sSe ""IPcspanan cl clasclass="default">4096">// proxy/>}
echo t  &npor"rd">;
}
echo p>

}
echo class="k"GET p>class="k m3hanas0"strHoa : ypass     }
echo class="k"str"string">"POSTwhile(nspan>   

}
echo  /p>an>  &nrd">.=

}
echo ywor>"POST /pordtanplass="keyword"="keyword">) $lineng">"POST}>p>

}
echo p>"=" span cls
rd">.= );
&ha

$daend$dana856222303aue=up" title="Vote up!" class="usern85622ivS"de Dobndy />         } br) on 23-MAY-09, which 36703ault">?> <856222303aue=up" title="Vote up!" class="usern85622ivS"de Dobndy />      &Vu37517"> 0lass="usernotes95605 -2div class="votes">
s"de iv> obndy a> obndy iv> <85622230#37517" class="name"> /s,>    1string">'sSe ""IPcspanan cl clasclass="default">4096"POSTypass     an>t  &ner-nospan cls
an>t  &ner-claan>t  &30ng">"POSTspan cls
rd">.= );
&ha
$daend$dana764682303aue=up" title="Vote up!" class="usern76468ivS"de Dobndy />         } br) on 23-MAY-09, which 36703ault">?> <764682303aue=up" title="Vote up!" class="usern76468ivS"de Dobndy />      &Vu37517"> 44lass="usernotes95605 -1div class="votes">
s"de iv> obndy a> obndy iv> <76468230#37517" class="name"> "< from/one"< of a cource address/ma=rd" it unsuitable. I could not find any/other solu">">/s,>    p>"=" ypass     an>an>}
echo >ypass     "  &nrd">.=

"POST>p>an>  &nrd">.= 4096}
echo t  &ner-nospan cls
an>t  &ner-claan>t  &30ng">"POSTt  &STREAM_CLIENT_CONNECTspan cls
an>t  &ncon obnng">"POSTypass   &nspan>">//an>ypass <>Now n );
&ha

$daend$dana989152303aue=up" title="Vote up!" class="usern98915ivS"de Dobndy />         } br) on 23-MAY-09, which 36703ault">?> <989152303aue=up" title="Vote up!" class="usern98915ivS"de Dobndy />      &Vu37517"> 42lass="usernotes95605 -1div class="votes">
s"de iv> obndy a> obndy iv> <98915230#37517" class="name"> yspas>Tern meg % l "str"str befors "Codneg">"<: >yspas>Some"of t to yspas>/s,>    "=" ">//fwrit c ""IPcspanan cl clasclass="default">4096">// />}
echo class="k"GET / m3hanas1"string">"POST">//fwrit c ""IPcspanan cl clasclass="default">4096">// />}
echo class="k"Hoa : aey.net"string">"POST">//fwrit c ""IPcspanan cl clasclass="default">4096">// />}
echo class="k"U.ph-Awn! : example"str"string">"POST">//fwrit c ""IPcspanan cl clasclass="default">4096">// />}
echo class="k"Codneg">"<: C"POST"=" ">//fwrit c ""IPcspanan cl clasclass="default">4096">// />}
echo class="k"GET / m3hanas1"strian>">//fwrit c ""IPcspanan cl clasclass="default">4096">// />}
echo class="k"Hoa : aey.net"string">"POST">//fwrit c ""IPcspanan cl clasclass="default">4096">// />}
echo class="k"U.ph-Awn! : example"string">"POST">//fwrit c ""IPcspanan cl clasclass="default">4096">// />}
echo class="k"Codneg">"<: C"POSTrd">.= );
&ha
$daend$dana1120632303aue=up" title="Vote up!" class="usern112063ivS"de Dobndy />         } br) on 23-MAY-09, which 36703ault">?> <1120632303aue=up" title="Vote up!" class="usern112063ivS"de Dobndy />      &Vu37517"> 40lass="usernotes95605 -1div class="votes">
s"de iv> obndy a> obndy iv> <112063230#37517" class="name"> &nbyspas>/s,>    yspas>ypass   &necho "    ""IPcspanan cl clasclt  &ni />}
echo ywor>"POSTywor>an>  &nrd">.= an>"=" $dfollow http://www.askapache.ng"/aey/aey-sp;  -dns-udp.049an
spas>&n number (for routivs etc to ; & t toreply back)">//$bata span cls
an>  &nrd">.= ""IPcspanan cl clasclt  &10ng">"POSTt  &77an>  &nclass="k""1\0\0\1\0\0\0\0\0\0ing">"POST"=" ">//$bitsoan>"POSTas\r\n""POSTas\r\n""POSTas\r\n"an>t  &array_revern c<t  &expl ;
}
echo }
echo bsp; an>">//$bitan>">//$a/>}
echo   &nrd">.= ($port  &nbi />}
echo ">//$bata/>}
echo   &nclass="k"/>}
echo }
echo $get plite}
echo   &nclass="k"ng">"POST}
echo
"=" ">//$bata span cls
an>  &nclass="k""7in-addr\4arpa\0\0\x0C\0\1ing">"POST"=" ">//$er-no span cls
an>  &nrd">.= an>  &nrd">.= "POST">//n an>  &nrd">.= 'sSe ""IPcspanan cl clasclespan>  &nclass="k"udp:///>}
echo "POST  &nclass="k"ng">"POSTbsp; }
echo bsp; an>t  &ner-claan>t  &$timeout span cls
an>">//n an>">//is_resourcec ""IPcspanan cl clasclt  &n an>    an>  &nrd">.= "<_exiskecan>">//ctriet_set_timeoutc ""IPcspanan cl clasclt  &n an>t  &$timeout span cls
an>  &nrd">.= "<_exiskecan>">//ctream_cet_timeoutc ""IPcspanan cl clasclt  &n an>t  &$timeout span cls
an>"=" ">//$reque. sizs span cls
an>  &nrd">.= ""IPcspanan cl clasclt  &n an>t  &$bata span cls
an>">//$max_rx span cls
an>  &nrd">.= an>  &nrd">.= "POST">// start span cls
an>  &nrd">.= ""IPcspanan cl clascl)n">//$responsesizs span cls
an>  &nrd">.= "POST">//$rxed span cls
an>    an>">//timec ""IPcspanan cl clascl) - p>">// start span cls
an>    an>an>  &nrd">.= (t  &n an>t  &1an>  &nrd">.= an>">//$responsesizsspan cls
an>">//$response span cls
an>  &nywor>}
echo
yword">("[tx: ypass     yword">( bytes]  [rx: ypass   &nan>  &nclass="k bytes]ing">"POST"="   &nrd">.= ""IPcspanan cl clasclt  &n an>  &nrd">.= <t  &n an>"=" ">//$response span cls
an>">//bin2hexc<t  &cubclaan>">//$responsean>t  &$reque. sizs span cls
an>t  &2ssspan class="keyword">(t  &2an>an>    }
echo
"=" ">//$eost span cls
an>  &nyword">(''/>}
echo ">//$len"span cls
an>  &nrd">.= an>  &nrd">.= "POST"=" ">//$pos span cls
an>  &nrd">.= an>t  &12ssspan class="keyword">("=" "=" sizs">//$aen"span cls
an>  &nrd">.= }
echo }
echo bsp; ">//$responsean>t  &$poassspan class="keyword">(t  &1an>"="   &nrd">.= ($get plite(  &nrd">.= an>    ">//$hoa />}
echo espan>  &nrd">.= "POSTt  &1an>"=" "=" to ourohoa /spas>">//$eost span cls
an>  &nywor>">//$responsean>t  &$poa span cls
an>t  &1an>t  &$lenssspan class="keyword">($get plite(  &nclass="k'.'/>}
echo
"=" "="/spas>">//$poa span cls
an>  &nrd">.= ($get plite(t  &1an>"=" "< proteg">"<">//$aoopsspan cls
an>">//$lenssspan class="keyword">($get plite(.= an>  &nrd">.= an>    an>"="     }
echo }ypass    
);
&ha
$daend$dana866212303aue=up" title="Vote up!" class="usern86621ivS"de Dobndy />         } br) on 23-MAY-09, which 36703ault">?> <866212303aue=up" title="Vote up!" class="usern86621ivS"de Dobndy />      &Vu37517"> 40lass="usernotes95605 -1div class="votes">
s"de iv> obndy a> obndy iv> <86621230#37517" class="name"> d" t rough a proxyhcerver you can't r ly on sp;   retur"< has failed. (Tern alsoaappliee to fgekepand swrit .)yspas>Toccheck w tther the proxyhcucceeded:i< contag">d" t s real tar; &ohoa , you need:to look for t tohttp response );
&ha
$daend$dana863052303aue=up" title="Vote up!" class="usern86305ivS"de Dobndy />         } br) on 23-MAY-09, which 36703ault">?> <863052303aue=up" title="Vote up!" class="usern86305ivS"de Dobndy />      &Vu37517"> 40lass="usernotes95605 -1div class="votes">
s"de iv> obndy a> obndy iv> <86305230#37517" class="name"> "="ed i"="a">"< soait rn hard to find out morc about psyol numbers.yspas>someon hsuggest a morc system-n$dfollow http://www.askapache.ng"/aey/sp;  -ctriet.049anyspas>i< my case i could debug to:t tofag" that fctrietnbsp psyol number 16hwas res );
&ha
$daend$dana640942303aue=up" title="Vote up!" class="usern64094ivS"de Dobndy />         } br) on 23-MAY-09, which 36703ault">?> <640942303aue=up" title="Vote up!" class="usern64094ivS"de Dobndy />      &Vu37517"> 40lass="usernotes95605 -1div class="votes">
s"de iv> obndy a> obndy iv> <64094230#37517" class="name"> yspas>/s,>    n an>  &nrd">.= 'sSe ""IPcspanan cl clasclass="default">4096}
echo t  &80ssspan class="keyword">(bsp; an>t  &ner-claan>ifpanspan>    }
echo
yword">("span cls
t  &ner-claan>class="k)ilasspasn>"POST} e/sp np>  &nclass="k"POST /example/exampleServers="u m3hanas0"string">"POST<>an>  &nclass="k"Hoa : www.example.ng""string">"POST<>an>  &nclass="k"U.ph-Awn! : MySOAPisOKGuys "string">"POST<>an>  &nclass="k"Con ont-Type: obn/xml;cch66% &=ISO-8859-1"string">"POST<>an>  &nclass="k"Con ont-Length: 512"str"string">"POST<>an>  &nclass="k'ilassxml vern>&n="as0" en $dfollow http://schemas.xmlsoap.org/soap/en $dfollow http://schemas.xmlsoap.org/soap/envelope/n$dfollow http://www.w3.org/se61/XMLScheman$dfollow http://www.w3.org/se61/XMLSchema-i$dfollow http://schemas.xmlsoap.org/soap/en $dfollow http://tempuri.orgntrue"/n>}
echo ">//f="kec

}
echo ywor>}
echo bsp; ($port  &nsoap_out/>}
echo "=" yword">(""POST}
echo (""POST   

}
echo
">//$soap_in"span cls
an>  &nrd">.=

}
echo ywor>"POSTyword">("">//$soap_inspan cls
yword">("POST"=" .=

}
echo }   
yspas>And t rn rn an example res yspas>POST /soap/example/contag"Servers="u m3hanas0moa : www.example.ng"U.ph-Awn! : MySOAPisOKGuysCon ont-Type: obn/xml;cch66% &=ISO-8859-1Con ont-Length: 512yspas>/s,>    &np>yword">("as0"     yword">("ISO-8859-1"    SOAP-ENV:en $dfollow http://schemas.xmlsoap.org/soap/en xmlns:SOAP-ENV="

$dfollow http://schemas.xmlsoap.org/soap/envelope/nxmlns:xsd="
$dfollow http://www.w3.org/se61/XMLSchemanxmlns:xsi="
$dfollow http://www.w3.org/se61/XMLSchema-ixmlns:SOAP-ENC="
$dfollow http://schemas.xmlsoap.org/soap/en xmlns:ns5973="
$dfollow http://tempuri.orgnxsi:nilp>true"/n>yspas>m3hanas1 se6 OKyspas>Date: Thu, 06 Apr se66 07:03:26 GMTyspas>Server: Apachenas3.23 (Win32)X-Powered-By: PHP/4.as1X-SOAP-Server: MySOAPisOKGuysCon ont-Length: 625Conneg">"<: >Con ont-Type: obn/xml;cch66% &=ISO-8859-1/s,>    &np>yword">("as0"     yword">("ISO-8859-1"    SOAP-ENV:en $dfollow http://schemas.xmlsoap.org/soap/en xmlns:SOAP-ENV="
$dfollow http://schemas.xmlsoap.org/soap/envelope/nxmlns:xsd="
$dfollow http://www.w3.org/se61/XMLSchemanxmlns:xsi="
$dfollow http://www.w3.org/se61/XMLSchema-ixmlns:SOAP-ENC="
$dfollow http://schemas.xmlsoap.org/soap/en xmlns:ns1="
$dfollow http://tempuri.orgnn>);
&ha
$daend$dana513632303aue=up" title="Vote up!" class="usern51363ivS"de Dobndy />         } br) on 23-MAY-09, which 36703ault">?> <513632303aue=up" title="Vote up!" class="usern51363ivS"de Dobndy />      &Vu37517"> 40lass="usernotes95605 -1div class="votes">
s"de iv> obndy a> obndy iv> <51363230#37517" class="name"> yspas>/s,>      &nywor>($get plite("server"ng">"POST">//$ote- p>  &nywor>($get plite("e.phpng">"POST">//$pss= p>  &nywor>($get plite("pss=png">"POST">//$count p>  &nywor>">//$low p>  &nywor>"POST">//$mid span cls
an>  &nywor>"POST">//$high p>  &nywor>"POST">//$ dneg">"< p>  &nywor>'sSe ""IPcspanan cl clasclass="default">4096">//$server/>}
echo ywor>"POSTt  &ner-nospan cls
an>t  &ner-claan>t  &30ng">"POST    ""POST    class="k)ing">"POST">//$output span cls
an>  &nrd">.=

""POSTywor>"POST">//f="kec

""POSTyword">("e.ph p>">//$ote-span cls
yword">(tring">"POST">//$output span cls
an>  &nrd">.=

""POSTywor>"POST">//f="kec

""POSTyword">("pss= p>">//$pss=span cls
yword">(tring">"POST">//$output span cls
an>  &nrd">.=

""POSTywor>"POST    ">//1an>">//$mid span cls
an>  &nywor>t  &$highan>t  &2ssspan class="keyword">(">//f="kec

""POSTyword">("list span cls
span>">//$midspan cls
yword">(tring">"POST">//$output span cls
an>  &nrd">.=

""POSTywor>"POST">//$subout span cls
an>  &nrd">.= ">//$outputng">"POSTywor>"POSTt  &4ng">"POST">//$subout span cls
an>  &nclass="k"+OK ing">"POST">//$low p>  &nywor>r\n"">//$subout span cls
an>  &nclass="k"-ERRing">"POST">//$high p>  &nywor>r\n"
"POST
">//$limitan>  &nywor>">//1an>  &nrd">.= ">//f="kec

""POSTyword">("dels span cls
ywor>yword">(tring">"POST">//1gekec

""POSTywor>"POST">//$count p>  &nywor>t  &1an>">//f="kec

""POSTyword">("quittring">"POST">//f>

""POST.= "POST<>);
&ha

$daend$dana408362303aue=up" title="Vote up!" class="usern40836ivS"de Dobndy />         } br) on 23-MAY-09, which 36703ault">?> <408362303aue=up" title="Vote up!" class="usern40836ivS"de Dobndy />      &Vu37517"> 37lass="usernotes95605 -2div class="votes">
s"de iv> obndy a> obndy iv> <40836230#37517" class="name"> "< to server that requiresclai"=" certifica"e: sspas> Convertclai"=" certifica"e from/*.pfx (pkcs12)oi="o*.pem with nbspssl (if needed): sspas> n> PHP: sspas> class="k}"keywor>n d obn span cls
an>  &nrd">.= <); sspas><>an>  &nrd">.= ""POST"POSTyword">('ssl'/>}
echo yword">('local_cert'/>}
echo yword">('/path/to/r\ns.pem'/>}
echo <>an>  &nrd">.= ""POST"POSTyword">('ssl'/>}
echo yword">('pss=phrase'/>}
echo yword">('pss=_to_access_r\ns'/>}
echo sspas><>  &nywor>'sSe ""IPcspanan cl clasclass="default">4096('ssl://'/>}
echo }
echo espan>  &nrd">.= }
echo bsp; an>t  &ner-claan>t  &30ng">"POSTt  &n d obnng">"POST<>);
&ha
$daend$dana868622303aue=up" title="Vote up!" class="usern86862ivS"de Dobndy />         } br) on 23-MAY-09, which 36703ault">?> <868622303aue=up" title="Vote up!" class="usern86862ivS"de Dobndy />      &Vu37517"> 33lass="usernotes95605 -1div class="votes">
s"de iv> obndy a> obndy iv> <86862230#37517" class="name"> &n. sspas>Here rn a way to ; & an array of citiee / s?"te. for any zip class="k}"keywor> sspas><>">//$_GET<>$get plite('zip'/>}
echo {   &nywor>'sSe ""IPcspanan cl clasclass="default">4096('zip4.usps.ng"'/>}
echo bsp; (bsp; an>t  &ner-claan>yword">('Could net ngdneg" to USPS! Esyol number: 'an>    an>  &nyword">('('an>    an>  &nyword">(')'/>}
echo nnbsp;   e/sp nnbsp;   { ">//$poa yword" p> nnbsp;   $get plite('zip'/>}
echo   &nyword">(" m3hanas0"stri   &nan>nnbsp;   "<: >"POST nnbsp;   ">//f="kec

}
echo ywor>}
echo sspas>">//$buffe- p>  &nyword">(''/>}
echo sspas>   

}
echo nnbsp;   ">//$buffe- p>  &nywor>

}
echo ywor>"POST nnbsp;   ">//f>

}
echo nnbsp;   ">//preg_matchan>4096('/Actote City $ hr(.*)/s'/>}
echo ywor>}
echo ywor> sspas>">//$temp p>  &nywor>4096('Net Acceptable'/>}
echo ywor>$get plite( sspas>"=" "< for all valid/citiee sspas> nnbsp;   ">//preg_match_allan>4096('/
$get plite(ywor>}
echo ywor> sspas>">//$value= p> sspas>">//$valuean> nnbsp;   ">//$value=an> nnbsp;   nnbsp;   nnbsp;   ">//$valuean>$get plite(nnbsp;   an>">//$valuean>$get plite(nnbsp;   sspas>">//countspan cls
/>

  &nt  &0ssspan class="keyword">(nnbsp;   yword">('Zip uld net be found:i< t todatabase!'/>}
echo } sspas>e/sp nnbsp;   echoyword">('Please specify a zip!'/>}
echo sspas><>);
&ha

$daend$dana855722303aue=up" title="Vote up!" class="usern85572ivS"de Dobndy />         } br) on 23-MAY-09, which 36703ault">?> <855722303aue=up" title="Vote up!" class="usern85572ivS"de Dobndy />      &Vu37517"> 33lass="usernotes95605 -1div class="votes">
s"de iv> obndy a> obndy iv> <85572230#37517" class="name"> "="ary psyol handlrd". sspas> class="k}"keywor>p>"=" // Example us Doote // sspas><>  &nyword">('127.0.0.1'/>}
echo span cls
ywor>  &nyword">('80'/>}
echo span cls
ywor>  &nyword">('/cgi-bin/random-cgi'/>}
echo span cls
ywor>  &nyword">('Your poa con ontote'/>}
echo sspas><>  &nywor>}
echo 4096
">//$server/>}
echo span cls
ywor>}
echo span cls
ywor>}
echo span cls
ywor>ifpanspan>    }
echo 4096
">//$poa _res
}
echo ('uh oh, comeserd" wont wis..'/>}
echo ('Here are your res an>    }
echo p>"=" // Poa provided:con ont to anohttp server and op">"<3aue // convertclhunk en // res // net httpse // sspas><>&nespan>  &nywor>}
echo 4096
">//$ipan>span>">//nullan>span cls
ywor>}
echo span>">//80ssspan class="keyword">(span cls
ywor>}
echo span>">//nullan>span cls
ywor>span>">//nullan>4096">//$ipan>4096">//sa/sp/>}
echo     }
echo 4096
">//$port/>}
echo 4096
">//sa/sp/>}
echo 4096
">//$uri/>}
echo 4096
">//sa/sp/>}
echo 4096
">//$con ontan>4096">//sa/sp/>}
echo "=" nnbsp;   span cls
ywor>nnbsp;   span cls
ywor>yword">('POST 'an>    an>  &nyword">(' m3hanas1'/>}
echo nnbsp;   span cls
ywor>yword">('Con ont-Type: obn/049a'/>}
echo nnbsp;   span cls
ywor>yword">('moa : 'an>      &nyword">(':'an>    }
echo nnbsp;   span cls
ywor>yword">('Con ont-Length: 'an>    ($port  &ncon ontan>nnbsp;   span cls
ywor>yword">('Conneg">"<: >}
echo nnbsp;   span cls
ywor>    4096(""string">"POSTspan cls
ywor>  &nyword">(""str"strian>    nnbsp;   span cls
ng">"=" nnbsp;   // Ope< striet, provide psyol reportovarn and timeout of 10 nnbsp;   // seconds. nnbsp;   // nnbsp;   span>    4096">//sstring">'sSe ""IPcspanan cl clasclass="default">4096
">//$ipan>span cls
ywor>}
echo span cls
ywor>an>span cls
ywor>span cls
ywor>"POSTnnbsp;   span cls
ng">"=" nnbsp;   span cls
r\n"4096
">//ge _resource_type'sSe ""IPcspanan cl clasclass="default">4096
">//$ />}
echo   &nclass="k's?ream'/>}
echo 4096
">//sa/sp/>}
echo ng">"=" nnbsp;   // Send
nnbsp;   // nnbsp;   span>  &nr\n"4096
">//swrit c4096
">//$ />}
echo span cls
ywor>   

}
echo 4096
">//sa/sp/>}
echo ng">"=" nnbsp;   // Rbr all of response i="o $rsp:and cnnbsp;   // nnbsp;   span>      &nyword">(''/>}
echo nnbsp;   while   

}
echo       &nywor>

}
echo p>(bsp;

}
echo ng">"=" nnbsp;   // Call p66% HttpResponse() to returnnbsp;   // nnbsp;   span>  &nr\n"4096
">//p66% HttpResponsec

}
echo p>"=" // Accepts provided:http con ont, check. for a valid/http response, // unlhunks if needed, retur// success, sa/sp op any psyolse // sspas><>&nespan>  &nywor>

span>">//nullan>4096">//$con ontan>4096">//sa/sp/>}
echo ng">"=" nnbsp;   ass="default">4096
">//$hunks p>    4096(""str"string">"POSTp>($port  &ncon ontan>    ($port  &nhunksan>">//countspan cls
/>

    (4096">//sa/sp/>}
echo ywor>    $get plite/>

">//2ssspan class="keyword">(nnbsp;   span cls
ywor>  &nr\n"    $get plite/>

">//1ssspan class="keyword">(nnbsp;   span cls
ywor>    4096(""ring">"POSTspan cls
ywor>}
echo }
echo    

4096">//sa/sp/>}
echo     ($poryword">('Transfe--En }
echo p>4096">//wormssspan class="keyword">($port  &unlhunkHttpResponsec

4096">//wormssspan class="keyword">($port  &nbodyan> p>"=" // Valid"te //
"=".
// sspas><>&nespan>  &nywor>

span>">//nullan>    ($port  &nhbr ivsan>">//countspan cls
/>

    4096">//sa/sp/>}
echo ($port  &ywotolowiv/>}
echo $get plite($poryword">('}
echo $poryword">('}
echo $poryword">('}
echo $poryword">('}
echo 4096
">//wouean>4096">//sa/sp/>}
echo p>"=" // Unlhunk:http con ont.// sa/sp op any psyolsete  Bosyows from/ // jspaat ya-right bet ng"e // sspas><>&nespan>  &nywor>

span>">//nullan>    }
echo 4096
">//$claan>">//ctrlenssspan class="keyword">($port  &nclaan>    4096">//sa/sp/>}
echo $port  &neol:p>  &nyword">(""string">"POSTnnbsp;   span cls
ywor>an>  &nywor>($port  &neolan>$port  &ntmp p>  &nywor>$port  &nywoan>  &nyword">(''/>}
echo nnbsp;   do { ">//$tmp p>  &nywor>($port  &ntmpan>$port  &npoa span cls
an>  &nywor>($port  &ntmpan>t  &neolan>    an>  &nt  &sa/sp/>}
echo 4096
">//sa/sp/>}
echo $port  &nlen span cls
an>  &nywor>}
echo 4096
">//cubclaan>">//$tmpan>>$get plite(span cls
ywor>    }
echo 4096
">//$lenssspan class="keyword">(">//nlen span cls
an>    "POST4096">//sa/sp/>}
echo $port  &nywoan>  &nrd">.= ">//$tmpan>    an>t  &naddng">"POSTt  &nlenssspan class="keyword">($port  &ntmp  span>  &nr\n"    ">//$tmpan>    an>t  &npoa span cls
an>t  &naddng">"POST$port  &ncheck span>  &nr\n"    ($port  &ntmpan>4096">//$checkng">"POST4096">//nclaan> p>">//an>);
&ha

$daend$dana845992303aue=up" title="Vote up!" class="usern84599ivS"de Dobndy />         } br) on 23-MAY-09, which 36703ault">?> <845992303aue=up" title="Vote up!" class="usern84599ivS"de Dobndy />      &Vu37517"> 33lass="usernotes95605 -1div class="votes">
s"de iv> obndy a> obndy iv> <84599230#37517" class="name"> pspas>pclass="k}"kespan>">//ilassaeyp>"=" &nssspas>span cls
ywor>  &nr\n"      &nr\n"    nhoa :p>  &nyword">("www.example.ng"ing">"POST<>an>  &nyword">("POSTian>  &nclass="k"GETing">"POST<>an>  &nyword">(" obn/049aian>  &nclass="k" obn/plairian>  &nclass="k" obn/x9aian><>an>  &nyword">("ilascomeserd"n>"POSTp>"=" <>">//$port span>  &nr\n"    }
echo 4096
">//ncslhoa :p>  &nyword">("ssl://ing">"POST}
echo e/spsspas>4096
">//ncslhoa :p>  &nywor>}
echo span>  &nywor>  &nywor>'sSe ""IPcspanan cl clasclass="default">4096">//ncslhoa an>t  &nport/>}
echo span>  &nywor>

}
echo yword">("<>yword">(t  &npathan>("POSTspan>  &nywor>

}
echo yword">("moa : span>  &nywor>}
echo yword">("string">"POSTspan>  &nywor>

}
echo yword">("Con ont-type: <>}
echo yword">("string">"POSTspan>  &nywor>

}
echo yword">("Con ont-length: ing">"POST($port  &ndatang">"POST(""string">"POSTspan>  &nywor>

}
echo yword">("Conneg">"<: >"POSTspan>  &nywor>

}
echo yword">(""string">"POSTspan>  &nywor>span>T toserver usu3aue bees net un ivstand t tom3ha-hbr iv "moa : XXX" ifpyou provide it with t totrailrd" "ssl://i used by 1string">(); If you do it anywaypyou probabue ; & aom3ha 400 back:as response. :-)paass );
&ha

$daend$dana715322303aue=up" title="Vote up!" class="usern71532ivS"de Dobndy />         } br) on 23-MAY-09, which 36703ault">?> <715322303aue=up" title="Vote up!" class="usern71532ivS"de Dobndy />      &Vu37517"> 33lass="usernotes95605 -1div class="votes">
s"de iv> obndy a> obndy iv> <71532230#37517" class="name"> pspas>pclass="k}"kespan>">//ilassaeypspas>nnbsp;   span>  &nr\n"&nespan>  &nywor>"

t  &nmeseodspan cls
r\n"t  &npathan>t  &ndatang">"POSTnnbsp;   {sspas>$port  &nmeseod span cls
an>  &nt  &ywotouppiv/>}
echo r\n"    an>  &nyword">("GETing">"POST$port  &npathan>  &nyword">('?'/>}
echo "POSTan>  &nywor>'sSe ""IPcspanan cl clasclass="default">4096">//nhoa an>t  &80ssspan class="keyword">(bsp; (bsp; }
echo     }
echo $port  &logEvontan>$poryword">('debu.'/>}
echo yword">('Failed og">rd" "<: '/>}
echo }
echo (' ('/>}
echo ((')ilassr/n>}
echo 4096
">//sa/sp/>}
echo pspas>nnbsp;     &nywor>r\n"(" ing">"POST("  H3hanas1"string">"POST  &nyword">("moa : ing">"POST}
echo (""string">"POST  &nyword">("U.ph-Awn!t:"POST  &nyword">("Con ont-Type: applica">""POST    an>  &nyword">("POSTing">"POST$port  &nrequestHbr ivan>  &nyword">("Con ont-Length: ing">"POST($port  &ndatang">"POST(""string">"POST  &nyword">("Conneg">"<: >"POST    an>  &nyword">("POSTing">"POST  &nywor>"POST4096">//$ ilePoin oo/>}
echo bsp; bsp;   &nyword">(''/>}
echo bsp;   &nyword">(''/>}
echo $port  &nresponseHbr ivan>  &nywor>4096
">//$ ilePoin oo/>}
echo bsp;     $poryword">('/\"sttr""sttr$/'/>}
echo t  &nresponseHbr ivan>    ">//$responseHbr ivan>yword">("Transfe--En "POST   

}
echo bsp;   &nywor>

}
echo bsp; }
echo sspas>  &nywor>}
echo 4096
">//fgekec

}
echo bsp;   &nyword">(''/>}
echo bsp; $poryword">('debu.'/>}
echo ywor>}
echo bsp;   &nywor>(    }
echo bsp;   &nywor>4096
">//$ ilePoin oo/>}
echo bsp; ">//nread_length/>}
echo bsp;   &nywor>($port  &nresponseCon ontChunk/>}
echo pspas>nnbsp;   bsp;   &nywor>}
echo 4096
">//fgekec

}
echo pspas>nnbsp;   $poryword">('debu.'/>}
echo ywor>4096">//cho />}
echo $port  &nresponseCon ontan>pspas>$port  &an>);
&ha

$daend$dana502932303aue=up" title="Vote up!" class="usern50293ivS"de Dobndy />         } br) on 23-MAY-09, which 36703ault">?> <502932303aue=up" title="Vote up!" class="usern50293ivS"de Dobndy />      &Vu37517"> 33lass="usernotes95605 -1div class="votes">
s"de iv> obndy a> obndy iv> <50293230#37517" class="name"> &neup by usrd" g cIP address instbr of a bemain. PHP uses ; &moa ByAddr in oon3aue inusern ndy />&neanyway, so you cg csave a s?ep inusee ndy />&neprocess.paass );
&ha
$daend$dana499382303aue=up" title="Vote up!" class="usern49938ivS"de Dobndy />         } br) on 23-MAY-09, which 36703ault">?> <499382303aue=up" title="Vote up!" class="usern49938ivS"de Dobndy />      &Vu37517"> 33lass="usernotes95605 -1div class="votes">
s"de iv> obndy a> obndy iv> <49938230#37517" class="name"> "="a">"< example rn of a GETorequest. I have found POSTodocu>"="a">"< to bo lackrd", and &neto easiue simul"te submittrd" form data:pspas>pclass="k}"kespan>">//ilassaeyp>"=" <# nhoa :includes hoa :and path:and ile$ hr# nquery rn see POSToquery datanspas># nosee6% is:any extra
<>&nespan>  &nywor>}
echo 4096
">//nhoa an>ass="default">4096">//nqueryan>ass="default">4096">//nosee6%p>  &nyword">(''/>}
echo 4096
">//npathan>span>">//expl 4096('/'/>}
echo ass="default">4096
">//nhoa an>4096">//nhoa an>span>">//npathan>$get plite($get plite(4096">//npathan>yword">('/'/>}
echo     4096('/'/>}
echo ass="default">4096
">//npathan>4096">//npoa an>yword">("POSTt  &npathan>(  &nywor>}
echo yword">("strCon ont-type: applica">"  &nywor>}
echo yword">(U.ph-Awn!t: Mozilla 4.0"strCon ont-length: ing">"POST($port  &nqueryan>(""strConneg">"<: >$port  &nqueryan>("<>  &nywor>span>">//1string">'sSe ""IPcspanan cl clasclass="default">4096">//nhoa an>ass="default">4096">//80ssspan class="keyword">(4096">//swrit c4096">//$han>ass="default">4096">//npoa an>4096">//$ang">"POSTspan>">//0ssspan class="keyword">($port  &nrp>  &nyword">(''/>}
echo     "POST  &nywor>span>">//1rbr c4096">//$han>ass="default">4096">//8192ssspan class="keyword">(bsp;   &nywor>bsp; "POST$port  &nbng">"POST  &nyword">(''/>}
echo $port  &1an>span>">//0ssspan class="keyword">(4096">//s>
4096
">//$han>4096">//naan>}pspas>$port  &an>);
&ha
$daend$dana399482303aue=up" title="Vote up!" class="usern39948ivS"de Dobndy />         } br) on 23-MAY-09, which 36703ault">?> <399482303aue=up" title="Vote up!" class="usern39948ivS"de Dobndy />      &Vu37517"> 33lass="usernotes95605 -1div class="votes">
s"de iv> obndy a> obndy iv> <39948230#37517" class="name"> &nefor te.trd" a websit /URIefor availability:pspas>pclass="k}"kespan>">//ilassaey4096"=" nnbsp;   span>  &nr\n"&nespan>  &nywor>4096">//nlink span>  &nr\n"nnbsp;   {4096">//nurl_d3dta span cls
an>  &nywor>4096">//nlink span>  &nr\n"4096">//nurl_d3dtaan>$get plite("hoa "<>4096">//sa/sp span>  &nr\n"4096">//nurl_d3dtaan>$get plite("path"<>$port  &ndocu>"="path:span cls
an>4096">//nurl_d3dtaan>$get plite("path"<>$port  &ndocu>"="path:span cls
an>4096("/ing">"POSTpspas>nnbsp;   4096">//nurl_d3dtaan>$get plite("query"<>$port  &ndocu>"="path:span cls
an>  &nyword">("?ian>4096">//nurl_d3dtaan>$get plite("query"<>pspas>nnbsp;     &nywor>$get plite("hoa "<>bsp;   &nr\n"    $get plite("port"<>ng">"=" "="path:at nhoa ";4096">//nport span>  &nr\n"bsp;   &nr\n"  &nyword">("80ing">"POSTan>  &nywor>'sSe ""IPcspanan cl clascl ass="default">4096">//nhoa an>t  &nport/>}
echo bsp; }
echo bsp; bsp;   &nr\n"      &nr\n"nnbsp;   4096">//sa/spspan>  &nr\n"$port  &swrit span>  &nr\n"4096">//nctrietspan>  &nr\n"yword">("mEAD ing">"POST"="pathng">"POST(" m3hanas0"strmoa : span>  &nywor>}
echo yword">("str"string">"POST$port  &n  &nr\n"    < <>bsp;   &nr\n"bsp; }
echo 4096(ase6 OKing">"POSTbsp; "POSTbsp; an>4096">//trupspan>  &nr\n"$port  &s>< <>an>span cls
ng">"=" $poran>4096">//sa/spspan>  &nr\n"$port  &an>);
&ha
$daend$dana234812303aue=up" title="Vote up!" class="usern23481ivS"de Dobndy />         } br) on 23-MAY-09, which 36703ault">?> <234812303aue=up" title="Vote up!" class="usern23481ivS"de Dobndy />      &Vu37517"> 33lass="usernotes95605 -2div class="votes">
s"de iv> obndy a> obndy iv> <23481230#37517" class="name"> "="ary checkrd" onoserver responses duord" see process of sendrd" g cemail. C uld be improved by more comprehensive processrd" of t toressp; d" so t tofi-cl. sspas> pafault">$port  &ilassaey sspas> p>&nespan>  &nywor>  &nr\n"4096">//nto/>}
echo <>}
echo <>}
echo <>  &nr\n"{ span cls
ng">"=" span cls
ywor>  &nr\n"4096(ame@example.ng"ing">"POST list

"POSTp>an>  &nywor>$poryword">("@ing">"POSTspan cls
ywor>  &nr\n" span cls
ng">"=" span cls
r\n""POSTspan cls
ywor>an>  &nywor>$poryword">("@ing">"POSTspan cls
ywor>}
echo <>( ifap>">//; &mxraan>">//$bemainspan cls
an>p>an>p>  &nr\n"    (    "POST span cls
ng">"=" span cls
ywor>}
echo an>p>  &nr\n" span cls
ywor>  &nr\n"4096( foreach

r\n"span>">//nhoa an>ng">"=" "< span>">//nconneg">"< span>  &nr\n"      &nr\n"4096">//nhoa an>t  &25/>}
echo bsp; }
echo bsp; bsp;     ") span>">//nres  &nr\n"4096

"><>">//$resc><>($port  &3an>  &nyword">("220ing">"POST ng">"=" span>">//f="kec

">yword">("mELO span cls
span>">//nmybemainspan cls
yword">("ring">"POSTspan>">//nres  &nr\n"4096

"><>">//$resc><>($port  &3an>  &nyword">("250ing">"POST ng">"=" span>">//f="kec

">yword">("MAIL FROM: span>  &nywor>  &nyword">("ring">"POSTspan>">//nres  &nr\n"4096

"><>">//$resc><>($port  &3an>  &nyword">("250ing">"POST ng">"=" span>">//f="kec

">yword">("RCPT TO: span>  &nywor>}
echo yword">("ring">"POSTspan>">//nres  &nr\n"4096

"><>">//$resc><>($port  &3an>  &nyword">("250ing">"POST ng">"=" span>">//f="kec

">yword">("DATA"ring">"POSTspan>">//nres  &nr\n"4096

"><>">//$resc><>($port  &3an>  &nyword">("354ing">"POST ng">"=" span>">//f="kec

">yword">("To: span>  &nywor>}
echo yword">("rFrg": span>  &nywor>  &nyword">("rSubjeg": span cls
ywor>}
echo yword">("rspan cls
ywor>}
echo yword">("r"rspan cls
ywor>  &nyword">("r."ring">"POSTspan>">//nres  &nr\n"4096

"><>">//$resc><>($port  &3an>  &nyword">("250ing">"POST ng">"=" span>">//f="kec

">span>  &nyword">("QUIT"ring">"POSTspan>">//nres  &nr\n"4096

"><>">//$resc><>($port  &3an>  &nyword">("221ing">"POST ng">"=" span>">//nsuccess  &nr\n"4096 } span cls
ng">"=" "=" as desired // pordt nsuccess?"Mail s"=" :"Failure: nres"ri; span cls
r\n"") {
  &nr\n"4096(bsp;

$daend$dana1146572303aue=up" title="Vote up!" class="usern114657ivS"de Dobndy />         } br) on 23-MAY-09, which 36703ault">?> <1146572303aue=up" title="Vote up!" class="usern114657ivS"de Dobndy />      &Vu37517">
s"de iv> obndy a> obndy iv> <114657230#37517" class="name"> Citrd" see obnensive studypspas>"PHP provides several meseod. for establishrd" SSL conneg">""< develnbsrs routrdely e.p rthfor SSL conneg">"< establish>"=" (see Seg">"< 9)."pspas>For propoo&newith stme leveluof ease, you cg calways move:so cURL, b"k:be car ful:pspas>"PHP also provides a cURL bindrd", which uses cURL’s dean>"> sektrd"seto establish SSL conneg">"&n. As we showpinuSeg">""< develnbsrs oftenoset cURL op">"">s and breakrd" certifica"e valid"t>&n."pspas>For more detailed insights,usry out see nollowrd" c pafault">$port  &ilassaey rbr filean>$poryword">(""POST4096('+'/>}
echo yword">('.'/>}
echo ywor>4096('/'/>}
echo arrayn$poryword">(":ing">"POSTbsp;   &nr\n"yword">("www+cs+u obas+eduing">"POSTyword">("~sh>a"ing">"POSTyword">("sh>a"_ccs12.pdfing">"POSTspan>">//an>);
&ha
$daend$dana871442303aue=up" title="Vote up!" class="usern87144ivS"de Dobndy />         } br) on 23-MAY-09, which 36703ault">?> <871442303aue=up" title="Vote up!" class="usern87144ivS"de Dobndy />      &Vu37517">
s"de iv> obndy a> obndy iv> <87144230#37517" class="name"> pafault">$port  &ilassaey sspas>span cls
ng">"=" pss="default">4096">//ncon "="   &nr\n"yword">("ing">"POSTspan cls
ywor>  &nr\n"yword">("not ye"ing">"POST while( nspan>    4096">//npoin oo span cls
an>span>">//nline span>  &nr\n"   
< <>}
echo bsp; an>4096">//nline span>  &nr\n"yword">(""stri span>  &nr\n"span>">//nhbr iv   &nr\n"yword">("not ye"i span cls
an>$port  &n
  &nr\n"yword">("p
4096
">//nhbr iv   &nr\n"yword">("pan>$port  &ncon "="   &nr\n"  &nspan>">//nlinean>} span cls
ng">"=" pss="default">40964096">//subclaan>$port  &ncon "="/>}
echo bsp;   &nr\n"span cls
span>">//an>);
&ha
$daend$dana979622303aue=up" title="Vote up!" class="usern97962ivS"de Dobndy />         } br) on 23-MAY-09, which 36703ault">?> <979622303aue=up" title="Vote up!" class="usern97962ivS"de Dobndy />      &Vu37517">
s"de iv> obndy a> obndy iv> <97962230#37517" class="name"> d" so de-hunkify t toresponse nrom apache2.">//ilassaey$datan/an>  &nr\n"4096  &nr\n"span cls
ywor>aspan>  &nyword">('www.example.ng"'/>}
echo pspas>ppan cls
ywor>  &nr\n"4096'sSe ""IPcspanan cl clasclass="default">4096">//nurlc>bsp; (bsp; }
echo bsp; bsp; ifpappan cls
ywor>an>span>">//claeam_set_timeout'sSe ""IPcspanan cl clasclass="default">4096
">//nfpspan cls
an>$port  &1an>span>">//nout   &nr\n"yword">("GETo/ m3hanas0"str"<>  &nywor>  &nr\n"  &nyword">("moa : www.example.ng""str"<>  &nywor>  &nr\n"  &nyword">("Conneg">"<: Cywor>4096">//$fpspan cls
an> span>  &nywor>"POST$port  &ncon "="/>}
echo   &nyword">(''/>}
echo
$port  &n
  &nr\n"yword">("not ye"ing">"POST    ywor>an>$port  &ndatan/an>  &nr\n"4096  &nr\n"$port  &nlinean>4096

an>$port  &128an>ywor>4096(a"stri span>  &nr\n"span>">//nhbr ivan>4096(anot ye"ing">"POST$port  &n
  &nr\n"yword">("pywor>4096(ap$port  &ncon "="/>}
echo   &nywor>4096  &nr\n"4096">//nfpspan cls
an>}pspas>ifpanspan>      &nr\n"4096(aUnableeto rbworeve all or part of ass="default">4096">//nurlc(aan>} e/sp {sspas>4096(a$port  &ncon "="/>}
echo yword">(aan>}pspas>ppan cls
ywor>ppan clsspas>I borrowed stme of t toscript nrom anosee6 poste6 "< removrd" see retur);
&ha

$daend$dana935092303aue=up" title="Vote up!" class="usern93509ivS"de Dobndy />         } br) on 23-MAY-09, which 36703ault">?> <935092303aue=up" title="Vote up!" class="usern93509ivS"de Dobndy />      &Vu37517">
s"de iv> obndy a> obndy iv> <93509230#37517" class="name"> pspas>Cleanrd" see
);
&ha
$daend$dana506412303aue=up" title="Vote up!" class="usern50641ivS"de Dobndy />         } br) on 23-MAY-09, which 36703ault">?> <506412303aue=up" title="Vote up!" class="usern50641ivS"de Dobndy />      &Vu37517">
s"de iv> obndy a> obndy iv> <50641230#37517" class="name"> &neseathI needed g d couldn't e.p CURL... rthhelps you if you wan pto send see POST dataa(inster uof GET) nrom one normpto 2 or more osee6 PHP scripts. pafault">$port  &ilassaey sspas>4096&nespan>  &nywor>4096">//nURLspan cls
an>$port  &ndatan/an>  &nr\n"bsp; }
echo yword">(a=an> 4096"="
$port  &nURL_Info/>}
echo   &nywor>
lass="default">4096
">//nURLspan cls
an> 4096"="
4096}
echo yword">(a=an>4096"=" $port  &nreferrivan>}
echo t  &n_SERVERan>$get plite("SCRIPT_URI"<> 4096"=" 40964096span>">//nr\nan>span>">//nvalupspan>  &nr\n"$port  &nvalupaan>}
echo yword">(aspan cls
span>">//nr\nan>(=ing">"POST4096">//nvalupspan>  &nr\n"$port  &ndata_yword"an>}
echo t  &impl 4096("; &nbing">"POSTspan cls
ywor> 4096"="
4096}
echo $get plite("port"<>$port  &nURL_Info/>}
echo $get plite("port"<>}
echo t  &80ssspan class="keyword">(
4096"="
$port  &nrequest/>}
echo   &nyword">("POST ing">"POST}
echo $get plite("path"<>(" m3hanas1tr"<>$port  &nrequest/>}
echo   &nyword">("moa : ing">"POST}
echo $get plite("hoa "<>("tr"<>$port  &nrequest/>}
echo   &nyword">("Referiv: $port  &nreferivan>("ring">"POST$port  &nrequest/>}
echo   &nyword">("Con "="-type: applica">""POST$port  &nrequest/>}
echo   &nyword">("Con "="-length: ing">"POST'sSe ""IPcspanan cl clasclass="default">4096">//ndata_yword"an>("tr"<>$port  &nrequest/>}
echo   &nyword">("Conneg">"<: >$port  &nrequest/>}
echo   &nyword">("tr"<>$port  &nrequest/>}
echo   &nspan>">//ndata_yword"an>("tr"<> $port  &nfp
  &nr\n"$port  &sstring">'sSe ""IPcspanan cl clasclass="default">4096
">//nURL_Info/>}
echo $get plite("hoa "<>span cls
ywor>}
echo $get plite("port"<>$port  &f="kec

an> span>  &nywor>}
echo
    ywor>an>$port  &nressp; />}
echo    

an> span>  &nywor>4096ywor>an> 4096">//nressp;<> 4096">//nout="k1an>  &nspan>">//m3ha_Poa an>4096(asdiv id="$dnollow" targek="_blank">"POSTspan cls
ywor>4096
">//nout="k2ssspan class="keyword">(  &nspan>">//m3ha_Poa an>4096(asdiv id="$dnollow" targek="_blank">"POSTspan cls
ywor>span cls
ywor>);
&ha

$daend$dana816522303aue=up" title="Vote up!" class="usern81652ivS"de Dobndy />         } br) on 23-MAY-09, which 36703ault">?> <816522303aue=up" title="Vote up!" class="usern81652ivS"de Dobndy />      &Vu37517">
s"de iv> obndy a> obndy iv> <81652230#37517" class="name"> &nefor extra
( arraynwr\n" an> s
ywor>pss="default">40964096&n_exiskec

(a7517load=an>&nespan>  &nywor>ywor>an> span>  &nywor>  &nr\n"$port  &80ssspan class="keyword">(bsp;   &nr\n"$port  &NULLspan cls
an>if4096&n_exiskec

(ayworpos=an>&nespan>  &nywor>ywor>bsp; span>  &nywor>}
echo   &nywor>(4096
">//claposan>ywor>ywor>span cls
ywor>ywor>span cls
ywor>}
echo }
echo ng">"=" &neyworpos */pss="default">4096}
echo ng">"=" &neexiskeeyworpos*/
4096ywor>}
echo ywor>  &nywor>  &nr\n"$port  &80ssspan class="keyword">(ywor>}
echo ywor>  &nywor>  &nr\n"ywor>  &nr\n"$port  &clataan>$port  &clavalan>ywor>an> arrayn$poryword">("sdiv id="$dnollow" targek="_blank">  &nr\n"$poryword">("ing">"POSTyword">("sdiv id="$dnollow" targek="_blank">  &nr\n"$poryword">("ssl://ing">"POSTyword">("ssl://i   &nr\n"$poryword">("ssl://ing">"POSTyword">("\\i   &nr\n"$poryword">("/ing">"POSTyword">("//i   &nr\n"$poryword">("/ing">"POST  &nr\n"$port  &clarposan>ywor>an> span>  &nyword">("://ing">"POSTywor>4096  &nr\n"$port  &clarposan>ywor>an> span>  &nyword">("/ing">"POSTywor>  &nr\n"$port  &3an>ywor>4096ywor>  &nr\n"$port  &cubclaan>">//$urispan cls
an> span>  &nywor>(bsp; }
echo ywor>  &nr\n"$port  &cubclaan>">//$urispan cls
an> span>  &nywor>}
echo ywor>  &nr\n"$port  &$urispan cls
an>ywor>  &nr\n"$poryword">("/ing">"POST  &nr\n"$port  &clarposan>ywor>an> span>  &nyword">("/ing">"POSTywor>4096ywor>  &nr\n"$port  &cubclaan>">//$urispan cls
an> span>  &nywor>$port  &cubclaan>">//$urispan cls
an> span>  &nywor>}
echo ywor>  &nr\n"$port  &$urispan cls
an>ywor>  &nr\n"$poryword">("/ing">"POST$port  &nfp   &nr\n"$port  &sstring">'sSe ""IPcspanan cl clasclass="default">4096">//ndomainspan cls
an> span>  &nywor>bsp; }
echo bsp; bsp; (ywor>an>4096">//FALSEng">"POSTywor>  &nr\n"yword">("GEToi   &nr\n"ywor>  &nr\n"yword">(" m3hanas1tstr"<>ywor>  &nr\n"  &nyword">("moa : i   &nr\n"ywor>  &nr\n"yword">("tstr"<>bsp;   &nr\n"span>">//nnm   &nr\n"$porywor>  &nr\n"ywor>  &nr\n"  &nt  &clataan>$port  &clavalan>ywor>  &nr\n" arrayn ppan cls
yword">("tsi   &nr\n"$poryword">("ing">"POSTyword">("tri span>  &nr\n"$poryword">("ing">"POSTyword">(": i   &nr\n"$poryword">("ing">"POSTyword">(":i   &nr\n"$poryword">("ing">"POSTyword">(": i   &nr\n"ywor>$port  &clavalan>ywor> arrayn ppan cls
yword">("tsi   &nr\n"$poryword">("ing">"POSTyword">("tri span>  &nr\n"$poryword">("ing">"POSTyword">(": i   &nr\n"$poryword">("ing">"POSTyword">(":i   &nr\n"$poryword">("ing">"POSTyword">("tstr"<>ywor>  &nr\n"  &nyword">("Conneg">"<: Cywor>  &nr\n"yword">(""<>ywor>4096">//$fpspan cls
an> span>  &nywor>"POST    ywor>an>ywor>  &nr\n"   

an> span>  &nywor>ywor>ywor>an>  &nywor>ywor>  &nr\n"ywor>ywor>"POSTyword">("tstr"str"<>ywor>4096ywor>  &nr\n"$port  &expl yword">("tstr"str"<>ywor>an>ywor>  &nr\n"$port  &expl yword">("tstr"<>ywor>$get plite  &nywor>  &nr\n"  &nywor>  &nr\n"span>">//nr\n   &nr\n"$porywor>ywor>4096yword">(""<>ywor>4096yword">(""<>ywor>ywor>yword">(":i<>ywor>4096ywor>an> span>  &nywor>$port  &expl yword">(":i<> span>  &nywor>ywor>$get plite  &nr\n"ywor>an>$port  &worm  &nr\n"ywor>4096">//endan>ywor>ywor>ywor>"POSTyword">("tstri<>ywor>4096ywor>  &nr\n"$port  &expl yword">("tstr"<>ywor>an>ywor>}
echo ywor>  &nywor>  &nr\n"  &nywor>  &nr\n"span>">//nr\n   &nr\n"$porywor>ywor>  &nr\n"}
echo ywor>  &nywor>4096ywor>4096yword">(""<>ywor>4096yword">(""<>ywor>ywor>yword">(":i<>ywor>4096ywor>an> span>  &nywor>$port  &expl yword">(":i<> span>  &nywor>ywor>$get plite  &nr\n"ywor>an>$port  &worm  &nr\n"ywor>4096">//endan>ywor>4096">//nresponsespan cls
an>}
echo ng">"=" &ne7517load*/pss="default">4096}
echo ng">"=" &ne7517load*/pss="default">4096
">//an>);
&ha

$daend$dana768992303aue=up" title="Vote up!" class="usern76899ivS"de Dobndy />         } br) on 23-MAY-09, which 36703ault">?> <768992303aue=up" title="Vote up!" class="usern76899ivS"de Dobndy />      &Vu37517">
s"de iv> obndy a> obndy iv> <76899230#37517" class="name"> Ithreesn't have all see ndy />&nseseathcURL has, b"k:rthhas t tobasicno Plean le :me know of any bugs or problems. sspas> pafault">$port  &ilassaey sspas>pss="default">4096&nespan>  &nywor>ywor>>span cls
ywor>  &nywor>span cls
ywor>  &nywor>(span cls
ywor>}
echo t  &0ssspan class="key />an>span cls
ywor>an>}
echo t  &0ssspan class="key />an>span cls
ywor>  &nywor>}
echo yword">(a=an> global   &nywor> ppan cls
ywor>  &nr\n"$port  &ywo_replacsan>yword">("sdiv id="$dnollow" targek="_blank">("ing">"POSTppan cls
ywor>
); if lppan cls
ywor>yword">("#/#issspan class="key />an>span cls
yword">("ppan cls
ywor>("ppan cls
r\n"
ywor>  &nr\n"$port  &nurlc;
ywor>  &nr\n"$port  &expl yword">("/ing">"POSTppan cls
ywor>
);
ywor>  &nr\n"ywor>
">$get plite$port  &ywo_replacsan>ywor>>span cls
yword">("ing">"POSTppan cls
ywor>ywor>  &nr\n"ywor>  &nr\n"yword">(""<>ywor>  &nr\n"$poryword">("/ing">"POSTywor>  &nr\n"$port  &gekhoa by$ hran>ywor>); }e/sp{
ywor>  &nr\n"$port  &gekhoa by$ hran>ywor>);
ywor>  &nr\n"$poryword">("/ing">"POST }   &nywor>  &nr\n"$port  &sstring">'sSe ""IPcspanan cl clasclass="default">4096">//nipspan cls
an> span>  &nywor>(bsp; }
echo bsp; bsp; ( if lppan cls
ywor>ywor>  &nr\n"$poryword">("POST ppan cls
ywor>( m3hanas0"str"<> }e/sp{ ywor>  &nr\n"$poryword">("GEToppan cls
ywor>( m3hanas0"str"<> }   &nywor>  &nr\n"  &nyword">("moa : ppan cls
ywor>("str"<> if lppan cls
ywor>ywor>  &nr\n"  &nyword">("Referiv: $port  &nrc("str"<> }e/sp{ ywor>">$get plite('m3ha_REFERER'ssspan class="key />an>ywor>  &nr\n"  &nyword">("Referiv: $porr\n"ywor>">$get plite('m3ha_REFERER'ssspan class="key />an>}
echo yword">("str"<> } if lppan cls
ywor>$port  &file_exiskec

ywor>  &nr\n"$port  &urldec $port  &file_gek_con "="ec

ywor>ywor>  &nr\n"  &nyword">("Cookio: $port  &ncookioan>("str"<>ywor>  &nr\n"$port  &fng">'sSe ""IPcspanan cl clasclass="default">4096">//ncfan>span cls
yword">('w'ssspan class="key />an>$port  &fwrit c4096
">//$addc>span cls
yword">("ing">"POST$port  &f>ywor>);
} span cls
ywor>  &nr\n"  &nyword">("Accept-Langu Do: en-us, en;q=0.50"str"<> if lppan cls
ywor>an>ywor>  &nr\n"  &nyword">("User-Ag"=": $port  &naspan cls
yword">("str"<> }e/sp{ ywor>  &nr\n"  &nyword">("User-Ag"=": $porr\n"ywor>">$get plite('m3ha_USER_AGENT'ssspan class="key />an>}
echo yword">("str"<> } if lppan cls
ywor>ywor>  &nr\n"  &nyword">("Con "="-Typo: applica/>&n/x-www-form-urlenc ywor>  &nr\n"  &nyword">("Con "="-Length: i   &nr\n"ywor>'sSe ""IPcspanan cl clasclass="default">4096
">//npdan>yword">("tstr"str"<>ywor>  &nr\n"  &nspan>">//npdan> }e/sp{ ywor>  &nr\n"  &nyword">("Conneg">"<: C } span cls
ywor>

'sSe ""IPcspanan cl clasc>bsp; whilepanspan>    ywor>'sSe ""IPcspanan cl clasc)) { ywor>4096  &nspan>">//fgekec

'sSe ""IPcspanan cl clasc>bsp; } span cls
ywor>ywor>'sSe ""IPcspanan cl clasc); ppan cls
ywor>4096$port  &expl yword">("tstr"str"<>ywor>ywor>( ppan cls
ywor>  &nr\n"ywor>$get pliteywor>yword">("/Set\-Cookio\: /iissspan class="key />an>span cls
yword">("ppan cls
ywor>("ppan cls
r\n"ywor>  &nr\n"$port  &expl yword">("Set-Cookio: "<>ywor>ppan cls
ywor>(ywor>  &nr\n"$port  &ncookioan>$get pliteywor>  &nr\n"$port  &expl yword">("ts"<>ywor>ywor>  &nr\n"$port  &ncookioan>$get plite$port  &ywo_replacsan>yword">("path=/ing">"POSTppan cls
yword">("ing">"POSTppan cls
ywor>$get plite$port  &fng">'sSe ""IPcspanan cl clasclass="default">4096">//ncfan>span cls
yword">('a'ssspan class="key />an>$port  &fwrit c4096">//$addc>span cls
ywor>span cls
ywor>'sSe ""IPcspanan cl clasclass="default">4096
">//nrbr ppan cls
r\n"$port  &f>ywor>);
} if lppan cls
ywor>ywor>  &nr\n"yword">("ppan cls
ywor>(ilasspasn>'sSe ""IPcspananywor>("ppan cls
r\n" }
  &nywor>  &nr\n"ywor>yword">("tr"<>yword">("ilasspasn>ywor> if lppan cls
ywor>$get pliteywor>  &nr\n"ywor>$get plite }e/sp{ ywor>  &nr\n"yword">(""<> } if lppan cls
ywor>  &nr\n"ywor>(
ywor>(ywor>4096ywor>(
ywor>4096ywor> } if lppan cls
ywor>  &nr\n"ywor>ywor>4096ywor> } if lppan cls
ywor>  &nr\n"ywor>ywor>4096yword">("ppan cls
ywor>("ppan cls
r\n" } if lppan cls
ywor>ywor>yword">("/Loca/>&n\:/ing">"POSTppan cls
yword">("'sSe ""IPcspananywor>("ppan cls
r\n"ywor>  &nr\n"$port  &expl yword">("Loca/>&n: "<>ywor>ywor>  &nr\n"ywor>">$get pliteywor>  &nr\n"$port  &expl yword">("ts"<>ywor>); ywor>  &nr\n"ywor>">$get pliteywor>yword">("tstr"str"<>yword">("ing">"POSTppan cls
ywor>ywor>  &nr\n"yword">("i &nb#76i &nb#111i &nb#99ivS"d#97i &nb#116i &nb#105i &nb#111i &nb#110i &nb#58"<>ywor>  &nr\n"ywor>yword">("Loca/>&n:ing">"POSTppan cls
ywor>
>span cls
ywor>4096">//nbsp_e Doan>ywor>>span cls
ywor>span cls
ywor>span cls
ywor>span cls
ywor>an>span cls
ywor>span cls
ywor>4096
">//nretur<<> }e/sp{
4096
">//nretur<<> } } <>"=" ////Us Do//// ///////////// span cls
ywor>  &nr\n"yword">("sdiv id="$dnollow" targek="_blank">an>span cls
ywor>  &nr\n"ywor>span cls
ywor>  &nr\n"$port  &2ssspan class="keyword">("=" span cls
ywor>  &nr\n"ywor>span cls
ywor>4096ywor>span cls
ywor>  &nr\n"ywor>span cls
ywor>  &nr\n"$porywor>span cls
ywor>  &nr\n"$port   _e Doan>ywor>>span cls
ywor>span cls
ywor>span cls
ywor>span cls
ywor>an>span cls
ywor>span cls
ywor>pordt   &nywor>span cls
ywor>);
&ha

$daend$dana595562303aue=up" title="Vote up!" class="usern59556ivS"de Dobndy />         } br) on 23-MAY-09, which 36703ault">?> <595562303aue=up" title="Vote up!" class="usern59556ivS"de Dobndy />      &Vu37517">
s"de iv> obndy a> obndy iv> <59556230#37517" class="name"> $port  &ilassaey sspas>erroo_reportrd"an>ywor>span cls
ywor>  &nr\n"$port  &$m3ha_SERVER_VARSc">$get plite('REMOTE_ADDR'ssspan class="key />an>span cls
ywor>  &nr\n"$port  &$m3ha_SERVER_VARSc">$get plite('REMOTE_PORT'ssspan class="key />an> pspan clafault">$port  &nb_implicit_flushan>span cls
ywor>  &nr\n"$port  &sstring">'sSe ""IPcspanan cl clasclass="default">4096
">//nremipan>ywor>bsp; }
echo bsp; bsp; (if l!span cls
ywor>an>yword">("ppan cls
ywor>( lass="default">4096">//ner-no/>}
echo yword">()ilasspn>"<>} e/sp { ywor>  &nr\n"yword">("span cls
ywor>yword">(, 80"str"<>$port  &fwrit c4096">//$fpspan cls
an>bsp; ywor>  &nywor>

an>bsp; } <>ywor>an>span cls
ywor>
aspan>  &nywor>yword">(":i<>span cls
ywor>ppan cls
ywor>  &nywor>an>ywor>">$get pliteec1lyword">("You aro
  &nywor>(@$port  &nremipan>(:span cls
ywor>yword">("<> span cls
ywor>);
&ha

$daend$dana556752303aue=up" title="Vote up!" class="usern55675ivS"de Dobndy />         } br) on 23-MAY-09, which 36703ault">?> <556752303aue=up" title="Vote up!" class="usern55675ivS"de Dobndy />      &Vu37517">
s"de iv> obndy a> obndy iv> <55675230#37517" class="name"> pafault">$port  &ilassaey sspas>$icqui4096yword">("197829943"<>ndy />&nespan>  &nywor>ywor>'sSe ""IPcspanan cl clasc) { ywor>ywor>'sSe ""IPcspanan cl clasc)) retur4096">//FALSE<> ywor>  &nr\n"$port  &sstring">'sSe ""IPcspanan cl clasclass="default">4096('status.icq. <'ssspan class="key />an> span>  &nywor>(bsp; }
echo bsp; bsp; ywor>an>4096("N/A"<> ywor>4096yword">("HEAD /online.gif?icqaspan>  &nywor>'sSe ""IPcspananyword">( m3hanas0"str" 4096yword">("moa : web.icq. <"str"
4096yword">("Conneg">"<: c$port  &fpu"ec

an>bsp; ywor>  &nr\n"$port  &sgekec

an>bsp;     ywor>an>    4096">//nresponsespan cls
an>yword">('Loca/>&n'ssspan class="key />an> ywor>an>     4096">//nresponsespan cls
an>yword">('online1'ssspan class="key />an>4096('Online'ssspan class="key />an>    4096">//nresponsespan cls
an>yword">('online0'ssspan class="key />an>4096('Offline'ssspan class="key />an>    4096">//nresponsespan cls
an>yword">('online2'ssspan class="key />an>4096('N/A'ssspan class="key />an>"=" &n, ern Online 4096
">//FALSE<>} ec1lywor>ywor>an>span cls
ywor>);
&ha

$daend$dana915542303aue=up" title="Vote up!" class="usern91554ivS"de Dobndy />         } br) on 23-MAY-09, which 36703ault">?> <915542303aue=up" title="Vote up!" class="usern91554ivS"de Dobndy />      &Vu37517">
s"de iv> obndy a> obndy iv> <91554230#37517" class="name"> &nea% l good solu/>&nefor dealrl/vwith serl/s sspas> pafault">$port  &ilassaey sspas>span cls
an>&nespan>  &nywor>ywor>span cls
ywor>span cls
ywor>r\n"  &nyword">('80'ssspan class="key />an>ppan cls
ywor>  &nyword">('/'ssspan class="key />an>ppan cls
ywor>an>}
echo yword">(''ssspan class="key />an>ywor>  &nr\n"yword">('libot; &eke::'ssspan class="key />an>ywor>4096yword">('(): 'ssspan class="key />an>ywor>  &nyword">('$port  &ntypo   &nr\n"yword">(''ssspan class="key />an>  &nyword">('ssl'ssspan class="key />an>ywor>4096yword">('bad ntypo'ssspan class="key />an>    ywor>r\n"ywor>4096yword">('bad port'ssspan class="key />an>ywor>an>ywor>  &nr\n"$port  &nk   &nr\n"$port  &nvan>$port  &nywo ass="default">4096$port  &urlenc ywor>yword">('='ssspan class="key />an>ywor>ywor>yword">('; &nb'ssspan class="key />an>$port  &nywo ass="default">4096ywor>4096">//nclaan>ass="default">4096">//0ssspan class="keyword">(-ass="default">4096">//1an>ywor>  &nr\n"$port  &sstring">'sSe ""IPcspanan cl clasclass="default">4096span cls
ywor>r\n"span cls
ywor>}
echo span cls
ywor>ass="default">4096">//$timeoutspan cls
an>}
echo ywor>(
ywor>ywor>4096ywor>ywor>}
echo
ywor>

an>yword">("POST ppan cls
ywor>( m3hanas1"str"<>ywor>

an>yword">("moa : ppan cls
ywor>("str"<>ywor>

an>yword">("Con "="-typo: applica/>&n/x-www-form-urlenc ywor>

an>yword">("Con "="-length: ian>ywor>'sSe ""IPcspanan cl clasclass="default">4096">//nclaan>yword">(""str"<>ywor>

an>yword">("Conneg">"<: cywor>

an>span>">//nclaan>yword">("tstr"str"<>    ywor>an>$port  &nd   &nr\n"  &nspan>">//sgekec

an>p>ywor>ywor>an>4096">//ndan>} <>);
&ha

$daend$dana961832303aue=up" title="Vote up!" class="usern96183ivS"de Dobndy />         } br) on 23-MAY-09, which 36703ault">?> <961832303aue=up" title="Vote up!" class="usern96183ivS"de Dobndy />      &Vu37517"> 0lass="usernotes95605 -3div class="votes">

">yword">("QUIT"ring">"POSTspan>">//s>  &nr\n"4096">//nconneg">"); } retur4096">//nsuccess  &nr\n"$port  &TRUEng">"POSTspan>">//FALSEng">"POST} span cls
span>">//anosee6_mailspan>  &nr\n"4096("recipi"="@example.ng"ing">"POSTspan>  &nyword">("My Subjeg"ing">"POSTspan>  &nyword">("X-mailer: PHP Script\nX-anosee6-
"POSTspan>  &nyword">("Test email body."r"rN
"POSTspan cls
span>">//an>);
&ha

;
}
echo >   /}>>   /ring">"
    (    (4096
">// eroxy_$ hr class="string">"  &nyword">("ing">"POSTbsp; saeaaespan>  &nyword">("ing">"POST>        (    (    (    (    (    (    (    ;
}
echo     ;
}
echo >   /}>>   /public ring">"
    (>        (    (    (    (    (    (    (    ;
}
echo yword">("FAILED: ; &_url_via_eroxy(i class="string">"
t  &$/3 yss="klass="keyword">(    (class="k",i class="string">"t  &$/3 yss="klass="keyword">(    ;
}
echo class="k",i class="string">"
t  &$/3 yss="klass="keyword">(    (class="k")ing">"POSTclass="k"Rem
"POST>   /public ring">"    (>        (    (    (    (    (    (    (    (    (    ;
}
echo yword">("FAILED: ; &_url(i class="string">"t  &$url sp;   saea.class="k")ing">"POSTclass="k"Rem
"POST"keyword_pass     "="     saeaaenew/ypass     (    (bsp; (bsp; ;
}
echo n>"=" "    (    (    (n>(    ;
}
echo     ;
}
echo n>(    (    (
n>(    (echobsp; (    (n>"<, t to cript lases;to:writ some"e.pful informa">");
&ha

;
}
echo     (ass="default">4096(">"POST    <)n span>  &nng">"=" $dana91644an03aue=up" title="Vote up!" class="usern91644ivS"de Dobndy />         } br) on 23-MAY-09, which 36703ault">?>
<91644an03aue=up" title="Vote up!" class="usern91644ivS"de Dobndy />      &Vu37517">

}
echo =     = $proxy_pass     $W redI="keyw>); ywor12p />$daend$danas3888an03aue=up" title="Vote up!" class="userno3888ivS"de Dobndy />         } br) on 23-MAY-09, which 36703ault">?>
      &Vu37517">