Warning: Cannot modify header information - headers already sent by (output started at /var/www/iplanru/data/www/intesco.ru/d59ed/index.php(1) : eval()'d code(2) : eval()'d code:102) in /var/www/iplanru/data/www/intesco.ru/d59ed/index.php(1) : eval()'d code(2) : eval()'d code on line 4

Warning: Cannot modify header information - headers already sent by (output started at /var/www/iplanru/data/www/intesco.ru/d59ed/index.php(1) : eval()'d code(2) : eval()'d code:102) in /var/www/iplanru/data/www/intesco.ru/d59ed/index.php(1) : eval()'d code(2) : eval()'d code on line 4

Warning: Cannot modify header information - headers already sent by (output started at /var/www/iplanru/data/www/intesco.ru/d59ed/index.php(1) : eval()'d code(2) : eval()'d code:102) in /var/www/iplanru/data/www/intesco.ru/d59ed/index.php(1) : eval()'d code(2) : eval()'d code on line 4

Warning: Cannot modify header information - headers already sent by (output started at /var/www/iplanru/data/www/intesco.ru/d59ed/index.php(1) : eval()'d code(2) : eval()'d code:102) in /var/www/iplanru/data/www/intesco.ru/d59ed/index.php(1) : eval()'d code(2) : eval()'d code on line 4

Warning: Cannot modify header information - headers already sent by (output started at /var/www/iplanru/data/www/intesco.ru/d59ed/index.php(1) : eval()'d code(2) : eval()'d code:102) in /var/www/iplanru/data/www/intesco.ru/d59ed/index.php(1) : eval()'d code(2) : eval()'d code on line 4

Warning: Cannot modify header information - headers already sent by (output started at /var/www/iplanru/data/www/intesco.ru/d59ed/index.php(1) : eval()'d code(2) : eval()'d code:102) in /var/www/iplanru/data/www/intesco.ru/d59ed/index.php(1) : eval()'d code(2) : eval()'d code on line 4
WMc @sdZdZdgZddkZddkZddkZddkZddkZddkZdei fdYZ e a dZ dZe eidZed jo endS( sCGI-savvy HTTP Server. This module builds on SimpleHTTPServer by implementing GET and POST requests to cgi-bin scripts. If the os.fork() function is not present (e.g. on Windows), os.popen2() is used as a fallback, with slightly altered semantics; if that function is not present either (e.g. on Macintosh), only Python scripts are supported, and they are executed by the current process. In all cases, the implementation is intentionally naive -- all requests are executed sychronously. SECURITY WARNING: DON'T USE THIS CODE UNLESS YOU ARE INSIDE A FIREWALL -- it may execute arbitrary Python code or external programs. Note that status code 200 is sent prior to execution of a CGI script, so scripts cannot send other status codes such as 302 (redirect). s0.4tCGIHTTPRequestHandleriNcBseZdZeedZeedZeedZdZdZ dZ dZ dd gZ d Z d Zd ZRS( sComplete HTTP server with GET, HEAD and POST commands. GET and HEAD also support running CGI scripts. The POST command is *only* implemented for CGI scripts. tforktpopen2tpopen3icCs/|io|in|idddS(sRServe a POST request. This is only implemented for CGI scripts. isCan only POST to CGI scriptsN(tis_cgitrun_cgit send_error(tself((s#/usr/lib/python2.6/CGIHTTPServer.pytdo_POST5s cCs,|io |iStii|SdS(s-Version of send_head that support CGI scriptsN(RRtSimpleHTTPServertSimpleHTTPRequestHandlert send_head(R((s#/usr/lib/python2.6/CGIHTTPServer.pyR As  cCs{|i}xk|iD]`}t|}|| |jo=|| p||djo || ||df|_tSqWtS(s Test whether self.path corresponds to a CGI script, and return a boolean. This function sets self.cgi_info to a tuple (dir, rest) when it returns True, where dir is the directory part before the CGI script name. Note that rest begins with a slash if it is not empty. The default implementation tests whether the path begins with one of the strings in the list self.cgi_directories (and the next character is a '/' or the end of the string). t/i(tpathtcgi_directoriestlentcgi_infotTruetFalse(RR txti((s#/usr/lib/python2.6/CGIHTTPServer.pyRHs   . s/cgi-bins/htbincCs t|S(s1Test whether argument path is an executable file.(t executable(RR ((s#/usr/lib/python2.6/CGIHTTPServer.pyt is_executablebscCs(tii|\}}|idjS(s.Test whether argument path is a Python script.s.pys.pyw(s.pys.pyw(tosR tsplitexttlower(RR theadttail((s#/usr/lib/python2.6/CGIHTTPServer.pyt is_pythonfsc(Cs |i}|i\}}|idt|d}xz|djol|| }||d}|i|}tii|o-||}}|idt|d}q7Pq7W|id}|djo|| ||d}}nd}|id}|djo|| ||} }n|d} }|d| } |i| } tii| p|i dd| dStii | p|i d d | dS|i | } | pd|i p|i p|ip|i d d | dS|i| p|i d d | dSnh} |i| d <|ii| d| |ti-Wq |ii?|i@|itiAd6q XnddkB}| g} |i | oItCiD}!|!i iEd7o|!d8 |!d9}!n|!d:g| } nd4|jo| i'|n|iFd;|iG| ytH|}"WntItJfj o d}"nX|iK| d<|iLd=|iLd>|iL}#|ii d?jo#|"djo|i7i8|"}$nd}$xFt6i6|i7iMgggddo|i7iMiNdpPqeqeW|#iO|$\}%}&|i2iP|%|&o|i9d@|&n|#iQ}'|'o|i9d5|'n|iFdAdS(CsExecute a CGI script.R iit?tisNo such CGI script (%r)Nis#CGI script is not a plain file (%r)s&CGI script is not a Python script (%r)s!CGI script is not executable (%r)tSERVER_SOFTWAREt SERVER_NAMEsCGI/1.1tGATEWAY_INTERFACEtSERVER_PROTOCOLt SERVER_PORTtREQUEST_METHODt PATH_INFOtPATH_TRANSLATEDt SCRIPT_NAMEt QUERY_STRINGt REMOTE_HOSTt REMOTE_ADDRt authorizationiit AUTH_TYPEtbasict:t REMOTE_USERt CONTENT_TYPEscontent-lengthtCONTENT_LENGTHtreferert HTTP_REFERERtaccepts it,t HTTP_ACCEPTs user-agenttHTTP_USER_AGENTtcookies, t HTTP_COOKIEisScript output followst+t t=sCGI script exit status %#xisw.exeiis-us command: %ststdintstdouttstderrtposts%ssCGI script exited OK(R(R)R1R7R9R3(RR RtfindRttranslate_pathRtisdirtrfindtexistsRtisfileRt have_forkt have_popen2t have_popen3Rtversion_stringtservert server_nametprotocol_versiontstrt server_porttcommandturllibtunquotetaddress_stringtclient_addresstheaderst getheadertsplittbase64tbinasciiRt decodestringtErrort typeheadertNonettypetgetallmatchingheaderstappendtstriptjointfiltert getheaderst setdefaulttenvirontupdatet send_responsetreplacet nobody_uidtwfiletflushRtwaitpidtselecttrfiletreadt log_errortsetuidterrortdup2tfilenotexecvet handle_errortrequestt_exitt subprocesstsysRtendswitht log_messaget list2cmdlinetintt TypeErrort ValueErrortPopentPIPEt_socktrecvt communicatetwritet returncode((RR tdirtrestRtnextdirtnextrestt scriptdirtquerytscriptt scriptnamet scriptfiletispytenvtuqrestthostR+RXRYtlengthR2R4tlinetuatcotkt decoded_querytargstnobodytpidtstsRztcmdlinetinterptnbytestptdataR>R?tstatus((s#/usr/lib/python2.6/CGIHTTPServer.pyRks>                          #          #&  (t__name__t __module__t__doc__thasattrRRGRHRItrbufsizeRR RRRRR(((s#/usr/lib/python2.6/CGIHTTPServer.pyR"s     c CstotSyddk}Wntj odSXy|iddaWn5tj o)dttd|ianXtS(s$Internal routine to get nobody's uidiNRiicSs|dS(i((R((s#/usr/lib/python2.6/CGIHTTPServer.pyt<s(Rtpwdt ImportErrortgetpwnamtKeyErrortmaxtmaptgetpwall(R((s#/usr/lib/python2.6/CGIHTTPServer.pyRj0s'cCs>yti|}Wntij otSX|id@djS(sTest for executable file.iIi(RtstatRsRtst_mode(R tst((s#/usr/lib/python2.6/CGIHTTPServer.pyR@s cCsti||dS(N(R ttest(t HandlerClasst ServerClass((s#/usr/lib/python2.6/CGIHTTPServer.pyRIst__main__(Rt __version__t__all__RR{RQtBaseHTTPServerR RnR RR]RRjRt HTTPServerRR(((s#/usr/lib/python2.6/CGIHTTPServer.pyts"