Ask Question

Name:
Title:
Your Question:

Answer Question

Name:
Your Answer:
Latest Saved Source Codes!

Source Code 28377 - somma, Language: C/C++
Source Code 28376 - s1, Language: C/C++
Source Code 28375 - s1, Language: C/C++
Source Code 28374 - s1, Language: C/C++
Source Code 28373 - DENISE1, Language: PASCAL
Source Code 28372 - 111, Language: C/C++
Source Code 28371 - code, Language: JAVA
Source Code 28370 - Click API, Language: JAVA
Source Code 28369 - fff, Language: C/C++
Source Code 28368 - hhhhhhh, Language: PASCAL
Source Code 28367 - hhgh, Language: C/C++
Source Code 28366 - game.c, Language: C/C++
Source Code 28365 - kjhgkj, Language: C/C++
Source Code 28364 - Test, Language: JAVA
Source Code 28363 - a, Language: JAVA
Source Code 28362 - a, Language: JAVA
Source Code 28361 - ff, Language: C/C++
Source Code 28360 - panos, Language: PASCAL
Source Code 28359 - xxxxx, Language: PASCAL
Source Code 28358 - etjhttj, Language: PASCAL
Source Code 28357 - etjhttj, Language: PASCAL
Source Code 28356 - Cristiano, Language: PASCAL
Source Code 28355 - dem chu so trang, Language: PASCAL
Source Code 28354 - Cristiano, Language: PASCAL
Source Code 28353 - xxxxx, Language: PASCAL
Source Code 28352 - uno, Language: C/C++
Source Code 28351 - ClockApplet.java, Language: JAVA
Source Code 28350 - ClockApplet.java, Language: JAVA
Source Code 28349 - ClockApplet.java, Language: JAVA
Source Code 28348 - ClockApplet.java, Language: JAVA
Source Code 28347 - ClockApplet.java, Language: JAVA
Source Code 28346 - ClockApplet.java, Language: JAVA
Source Code 28345 - 1st, Language: C/C++
Source Code 28344 - aaa, Language: C/C++
Source Code 28343 - df, Language: C/C++
Source Code 28342 - df, Language: C/C++
Source Code 28341 - df, Language: C/C++
Source Code 28340 - asdf, Language: JAVA
Source Code 28339 - a, Language: C/C++
Source Code 28338 - a, Language: C/C++
Source Code 28337 - Aba1, Language: C/C++
Source Code 28336 - Aba1, Language: C/C++
Source Code 28335 - Aba1, Language: C/C++
Source Code 28334 - Aba1, Language: C/C++
Source Code 28333 - Suma, Language: C/C++
Source Code 28332 - Suma, Language: C/C++
Source Code 28331 - a, Language: C/C++
Source Code 28330 - wewe, Language: C/C++
Source Code 28329 - Random Number Generator, Language: C/C++
Source Code 28328 - Sample.java, Language: JAVA
Source Code 28327 - mp-2, Language: C/C++
Source Code 28326 - mp-2, Language: C/C++
Source Code 28325 - mp-2, Language: C/C++
Source Code 28324 - dsf, Language: C/C++
Source Code 28323 - dsf, Language: C/C++
Source Code 28322 - d, Language: PASCAL
Source Code 28321 - a, Language: PASCAL
Source Code 28320 - primo, Language: PASCAL
Source Code 28319 - primo, Language: PASCAL
Source Code 28318 - final1, Language: PASCAL
Source Code 28317 - TP final 1, Language: PASCAL
Source Code 28316 - a, Language: C/C++
Source Code 28315 - LargestSquare.java, Language: JAVA
Source Code 28314 - asd, Language: C/C++
Source Code 28313 - 123, Language: PASCAL
Source Code 28312 - T, Language: C/C++
Source Code 28311 - T, Language: C/C++
Source Code 28310 - main.cpp, Language: C/C++
Source Code 28309 - main.cpp, Language: C/C++
Source Code 28308 - 5, Language: C/C++
Source Code 28307 - 5, Language: C/C++
Source Code 28306 - ok, Language: C/C++
Source Code 28305 - matirx, Language: C/C++
Source Code 28304 - tcpclient.java, Language: JAVA
Source Code 28303 - carla hola , Language: C/C++
Source Code 28302 - k, Language: C/C++
Source Code 28301 - k, Language: C/C++
Source Code 28300 - k, Language: C/C++
Source Code 28299 - k, Language: C/C++
Source Code 28298 - k, Language: C/C++
Source Code 28297 - yasir, Language: FORTRAN
Source Code 28296 - program maxz1, Language: PASCAL
Source Code 28295 - program maxz1, Language: PASCAL
Source Code 28294 - program maxz1, Language: PASCAL
Source Code 28293 - stl.cpp, Language: C/C++
Source Code 28292 - c++, Language: C/C++
Source Code 28291 - Demag, Language: FORTRAN
Source Code 28290 - 9dDAnJpn.java, Language: JAVA
Source Code 28289 - hello world, Language: C/C++
Source Code 28288 - g, Language: C/C++
Source Code 28287 - 22, Language: C/C++
Source Code 28286 - OO, Language: C/C++
Source Code 28285 - formulagral, Language: FORTRAN
Source Code 28284 - sin, Language: FORTRAN
Source Code 28283 - 1, Language: C/C++
Source Code 28282 - 1, Language: C/C++
Source Code 28281 - 1, Language: C/C++
Source Code 28280 - 1, Language: C/C++
Source Code 28279 - 12, Language: PASCAL
Source Code 28278 - wdw, Language: PASCAL
Source Code 28277 - ffg, Language: C/C++
Source Code 28276 - 1, Language: C/C++
Source Code 28275 - werwe, Language: JAVA
Source Code 28274 - сы, Language: C/C++
Source Code 28273 - 343, Language: C/C++
Source Code 28272 - Prime.java, Language: JAVA
Source Code 28271 - Prime.java, Language: JAVA
Source Code 28270 - Prime.java, Language: JAVA
Source Code 28269 - Prime.java, Language: JAVA
Source Code 28268 - 123, Language: C/C++
Source Code 28267 - hw, Language: C/C++
Source Code 28266 - hello, Language: FORTRAN
Source Code 28265 - Welcome.java, Language: JAVA
Source Code 28264 - test, Language: JAVA
Source Code 28263 - g, Language: FORTRAN
Source Code 28262 - anyad, Language: PASCAL
Source Code 28261 - program, Language: JAVA
Source Code 28260 - atika, Language: PASCAL
Source Code 28259 - tff.c, Language: C/C++
Source Code 28258 - tff.c, Language: C/C++
Source Code 28257 - g, Language: C/C++
Source Code 28256 - pograma, Language: C/C++
Source Code 28255 - HelloWorld, Language: JAVA
Source Code 28254 - Hello, Language: JAVA
Source Code 28253 - SOlver, Language: C/C++
Source Code 28252 - gmhg, Language: C/C++
Source Code 28251 - sepanak_hw3.java, Language: JAVA
Source Code 28250 - sepanak_hw3.java, Language: JAVA
Source Code 28249 - sepanak_hw3, Language: JAVA
Source Code 28248 - programování, Language: C/C++
Source Code 28247 - ludo, Language: PASCAL
Source Code 28246 - Prog1Array, Language: C/C++
Source Code 28245 - ankit010.cpp, Language: C/C++
Source Code 28244 - Area, Language: JAVA
Source Code 28243 - addition.cpp, Language: C/C++
Source Code 28242 - c.c, Language: C/C++
Source Code 28241 - 逐步模拟, Language: FORTRAN
Source Code 28240 - test, Language: C/C++
Source Code 28239 - game 1, Language: C/C++
Source Code 28238 - not, Language: C/C++
Source Code 28237 - MAIN 1, Language: C/C++
Source Code 28236 - asd, Language: FORTRAN
Source Code 28235 - 5, Language: C/C++
Source Code 28234 - test, Language: C/C++
Source Code 28233 - unit Unit1; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, IdBaseComponent, IdComponent, IdTCPServer, IdMappedPortTCP, StdCtrls, jpeg, ExtCtrls; type TForm1 = class(TForm) Button1: TButton; TCP: TIdMappedPortTCP; Image1: TImage; Label1: TLabel; Hajar: TLabel; Memo1: TMemo; Memo2: TMemo; Label2: TLabel; procedure Button1Click(Sender: TObject); procedure TCPExecute(AThread: TIdMappedPortThread); procedure TCPOutboundData(AThread: TIdMappedPortThread); private Tombol:Boolean; { Private declarations } public { Public declarations } end; var Form1: TForm1; implementation {$R *.dfm} procedure TForm1.Button1Click(Sender: TObject); begin if Tombol then begin TCP.Active := False; TCP.Bindings.Clear; Sleep(100); Button1.Caption := 'START'; Tombol := False; end else begin Button1.Caption := 'STOP'; TCP.Bindings.Add.IP := '127.0.0.1'; TCP.Bindings.Add.Port := StrToInt('1111'); TCP.MappedHost :='10.1.89.130'; TCP.MappedPort := StrToInt('8000'); TCP.Active := True; Tombol := True; end; end; function AddHeader(header, Newheader:string):string; begin header := StringReplace(header, #13#10 + #13#10, #13#10 + Newheader + #13#10 + #13#10, [rfReplaceAll]); Result := header; end; procedure TForm1.TCPExecute(AThread: TIdMappedPortThread); var Payload,header: string; begin Memo1.Lines.Add(AThread.NetData); if (pos('CONNECT',athread.NetData)<>0) or (pos('HTTP',athread.NetData)<>0) or (pos('http',athread.NetData)<>0) or (pos('https',athread.NetData)<>0) then begin header:=Addheader(Athread.NetData,'Proxy-Connection: Keep-Alive'+#13#10#13+'Connection: Keep-Alive'+#10#13#13#10); payload := 'DELETE http://auth.telkomsel.mobi/ HTTP/1.1''Host: telkomsel.mobi'+#13#10+'Connection: Keep-Alive'; athread.OutboundClient.Write(Addheader(Athread.NetData,'Proxy-Connection: Keep-Alive'+#13#10#13+'Connection: Keep-Alive'+#10#13#13#10)); //athread.OutboundClient.Write(header); Sleep (1000); athread.NetData:=payload; end; end; procedure TForm1.TCPOutboundData(AThread: TIdMappedPortThread); begin if Pos ('403 Forbidden', AThread.NetData) <>0 then begin AThread.NetData := StringReplace(athread.NetData,'403 Forbidden','200 OK',[rfReplaceAll]); end else if Pos ('407 Proxy Authentication Required', AThread.NetData) <>0 then begin AThread.NetData := StringReplace(athread.NetData,'407 Proxy Authentication Required','200 OK',[rfReplaceAll]); end else if Pos ('302 Found', AThread.NetData) <>0 then begin AThread.NetData := StringReplace(athread.NetData,'302 Found','200 OK',[rfReplaceAll]); end else if Pos ('301 Moved Permanently', AThread.NetData) <>0 then begin AThread.NetData := StringReplace(athread.NetData,'301 Moved Permanently','200 OK',[rfReplaceAll]); end else if Pos ('HTTP/1.0 405 Method Not Allowed', AThread.NetData) <>0 then begin AThread.NetData := StringReplace(athread.NetData,'405 Method Not Allowed','200 OK',[rfReplaceAll]); end else if Pos ('503 Service Unavailable', AThread.NetData) <>0 then begin AThread.NetData := StringReplace(athread.NetData,'503 Service Unavailable','200 OK',[rfReplaceAll]); end else if Pos ('407 Proxy Authentication Required', AThread.NetData) <>0 then begin AThread.NetData := StringReplace(athread.NetData,'407 Proxy Authentication Required','200 OK',[rfReplaceAll]); end else if Pos (' Set-Cookie', AThread.NetData) <>0 then begin AThread.NetData := StringReplace(AThread.NetData,' Set-Cookie',' 200 OK',[rfReplaceAll]); end else if Pos ('HTTP/1.1 302 Moved Temporarily', AThread.NetData) <> 0 then begin AThread.NetData := ''; end; end; end., Language: PASCAL
Source Code 28232 - raul, Language: PASCAL
Source Code 28231 - ol, Language: C/C++
Source Code 28230 - dd, Language: C/C++
Source Code 28229 - 11111, Language: C/C++
Source Code 28228 - dsg, Language: C/C++
Source Code 28227 - Hd, Language: C/C++
Source Code 28226 - First.c, Language: C/C++
Source Code 28225 - g,c, Language: C/C++
Source Code 28224 - Maximum Draw, Language: C/C++
Source Code 28223 - Maximum Draw, Language: C/C++
Source Code 28222 - Maximum Draw, Language: C/C++
Source Code 28221 - stars, Language: C/C++
Source Code 28220 - b, Language: C/C++
Source Code 28219 - b, Language: C/C++
Source Code 28218 - 322, Language: C/C++
Source Code 28217 - deniseduarte, Language: PASCAL
Source Code 28216 - r.c, Language: C/C++
Source Code 28215 - ok, Language: C/C++
Source Code 28214 - ok, Language: C/C++
Source Code 28213 - ok, Language: C/C++
Source Code 28212 - ok, Language: C/C++
Source Code 28211 - ok, Language: C/C++
Source Code 28210 - PRIYAM, Language: C/C++
Source Code 28209 - renuka, Language: C/C++
Source Code 28208 - eldo, Language: C/C++
Source Code 28207 - eldo, Language: C/C++
Source Code 28206 - eldo, Language: C/C++
Source Code 28205 - eldo, Language: C/C++
Source Code 28204 - u, Language: FORTRAN
Source Code 28203 - jdjjjjd, Language: C/C++
Source Code 28202 - venegas, Language: C/C++
Source Code 28201 - Employee, Language: JAVA
Source Code 28200 - countdown, Language: JAVA
Source Code 28199 - 12, Language: C/C++
Source Code 28198 - te, Language: C/C++
Source Code 28197 - hanoi, Language: C/C++
Source Code 28196 - GossipServer.java, Language: JAVA
Source Code 28195 - 3, Language: C/C++
Source Code 28194 - nn.c, Language: C/C++
Source Code 28193 - kakadevaca, Language: C/C++
Source Code 28192 - dsf, Language: C/C++
Source Code 28191 - argv, Language: C/C++
Source Code 28190 - desvio padrao, Language: FORTRAN
Source Code 28189 - desvio padrao, Language: FORTRAN
Source Code 28188 - Emvado, Language: PASCAL
Source Code 28187 - 123, Language: C/C++
Source Code 28186 - test1.java, Language: JAVA
Source Code 28185 - programacion, Language: C/C++
Source Code 28184 - programacion, Language: C/C++
Source Code 28183 - gfgfgf, Language: C/C++
Source Code 28182 - calculator.java, Language: JAVA
Source Code 28181 - calculator.java, Language: JAVA
Source Code 28180 - ggg, Language: PASCAL
Source Code 28179 - 4, Language: PASCAL
Source Code 28178 - eqw, Language: JAVA