CGI.zip

Simple C# CGI working on Apache

474

Simple program to demonstarte the power of c# on the Net.This program require web server e.g(java web server ,apache etc).Hello.cs.Compile the class Hello.cs.This will give u a exe file i.e Hello.exe.Put this file in the server's cgi-bin directory.for e.g ...

MFC based World Wide Web HTTP Server Source Code

457

The below attachment is HTTP Server source code that supports CGI. Detail Description: HTTPSVR is an MFC sample that demonstrates the use of MFC and its Windows Sockets (WinSock) classes in implementing a simple World Wide Web HTTP server. HTTPSVR turns an...

Simple CGI Programming in C

540

Here's the simplest C based CGI example. #include #include int main(void){    char *data;    printf("Content-Type:text / html;xdxa"); / / HTML out start !!    printf("Multiplication results< / TITL...</p> </div> </article> </div><div class="grid-item"> <article class="hc"> <div class="hc-body"> <h2 class="hc-title"><a href="https://strcpy.com/python/486/Simple-Web-Server-based-in-Python/">Simple Web Server based in Python</a></h2> <div class="hc-meta"><span title="updated"><time datetime="2024-08-01T20:39:39Z" data-ts="1722544779" data-fmt="date">Aug 02, 2024</time></span><span><svg viewBox="0 0 24 24" aria-hidden="true"><path d="M12 5C6.5 5 2.7 9.3 1.5 12c1.2 2.7 5 7 10.5 7s9.3-4.3 10.5-7C21.3 9.3 17.5 5 12 5zm0 11.5A4.5 4.5 0 1 1 12 7.5a4.5 4.5 0 0 1 0 9zm0-7a2.5 2.5 0 1 0 0 5 2.5 2.5 0 0 0 0-5z"/></svg>366</span></div> <p class="hc-excerpt">To deliver content with the simple web server set up using http.server,you can place the content (HTML,CSS,JavaScript files,images,etc.) in the same directory where you run the script.The server will serve files from this directory and its subdirectories.H...</p> </div> <div class="hc-ad"><ck-ins class="adsbygoogle" ad-style="display:inline-block;width:300px;height:250px" data-ad-client="ca-pub-2837042411139815" data-ad-slot="5912166641"></ck-ins></div> </article> </div><div class="grid-item"> <article class="hc"> <div class="hc-body"> <h2 class="hc-title"><a href="https://strcpy.com/cplulplus/347/KMP-String-Matching-Algorithm/">KMP String Matching Algorithm</a></h2> <div class="hc-meta"><span title="updated"><time datetime="2024-10-29T21:46:50Z" data-ts="1730238410" data-fmt="date">Oct 30, 2024</time></span><span><svg viewBox="0 0 24 24" aria-hidden="true"><path d="M12 5C6.5 5 2.7 9.3 1.5 12c1.2 2.7 5 7 10.5 7s9.3-4.3 10.5-7C21.3 9.3 17.5 5 12 5zm0 11.5A4.5 4.5 0 1 1 12 7.5a4.5 4.5 0 0 1 0 9zm0-7a2.5 2.5 0 1 0 0 5 2.5 2.5 0 0 0 0-5z"/></svg>668</span></div> <p class="hc-excerpt">KMP String Matching Algorithm is well-known algorithm for faster string search.KMP is,as you know,Knuth,Morris,and Pratt.It's complexity is O(n).n is the length of target string and O is big-O notation.Here's the implemented algorithm. </p> </div> <div class="hc-ad"><ck-ins class="adsbygoogle" ad-style="display:inline-block;width:300px;height:90px" data-ad-client="ca-pub-2837042411139815" data-ad-slot="4623658791"></ck-ins></div> </article> </div><div class="grid-item"> <article class="hc"> <div class="hc-body"> <h2 class="hc-title"><a href="https://strcpy.com/cplulplus/288/URL-Encode-Decode-function-for-MFC/">URL Encode, Decode function for MFC</a></h2> <div class="hc-meta"><span title="updated"><time datetime="2023-12-19T22:53:44Z" data-ts="1703026424" data-fmt="date">Dec 20, 2023</time></span><span><svg viewBox="0 0 24 24" aria-hidden="true"><path d="M12 5C6.5 5 2.7 9.3 1.5 12c1.2 2.7 5 7 10.5 7s9.3-4.3 10.5-7C21.3 9.3 17.5 5 12 5zm0 11.5A4.5 4.5 0 1 1 12 7.5a4.5 4.5 0 0 1 0 9zm0-7a2.5 2.5 0 1 0 0 5 2.5 2.5 0 0 0 0-5z"/></svg>601</span></div> <p class="hc-excerpt">Here's the good example for URL Encoding & Decoding.  Above sample code use CString, so if you want to use it on another type of development environment such as gcc or something like that, you need to add some more stuffs because it may not suppo...</p> </div> </article> </div><div class="grid-item"> <article class="hc"> <div class="hc-body"> <h2 class="hc-title"><a href="https://strcpy.com/cplulplus/287/How-to-load-HTML-resource-on-MFC/">How to load HTML resource on MFC ?</a></h2> <div class="hc-meta"><span title="updated"><time datetime="2023-12-17T05:41:51Z" data-ts="1702791711" data-fmt="date">Dec 17, 2023</time></span><span><svg viewBox="0 0 24 24" aria-hidden="true"><path d="M12 5C6.5 5 2.7 9.3 1.5 12c1.2 2.7 5 7 10.5 7s9.3-4.3 10.5-7C21.3 9.3 17.5 5 12 5zm0 11.5A4.5 4.5 0 1 1 12 7.5a4.5 4.5 0 0 1 0 9zm0-7a2.5 2.5 0 1 0 0 5 2.5 2.5 0 0 0 0-5z"/></svg>838</span></div> <p class="hc-excerpt">I tried to load HTML resource that stored in the application for MFC based application programming. The resource name is IDR_KURAPA_COM_HTML_ROOT.Actually this is very convenient to reduce files for application package.You can load HTML resource as followi...</p> </div> <div class="hc-ad"><ck-ins class="adsbygoogle" ad-style="display:inline-block;width:300px;height:250px" data-ad-client="ca-pub-2837042411139815" data-ad-slot="5912166641"></ck-ins></div> </article> </div><div class="grid-item"> <article class="hc"> <div class="hc-body"> <h2 class="hc-title"><a href="https://strcpy.com/cplulplus/610/Makefile-to-automate-the-build-process-for-C/">Makefile to automate the build process for C++</a></h2> <div class="hc-meta"><span title="created"><time datetime="2008-11-17T21:12:21Z" data-ts="1226956341" data-fmt="date">Nov 18, 2008</time></span><span><svg viewBox="0 0 24 24" aria-hidden="true"><path d="M12 5C6.5 5 2.7 9.3 1.5 12c1.2 2.7 5 7 10.5 7s9.3-4.3 10.5-7C21.3 9.3 17.5 5 12 5zm0 11.5A4.5 4.5 0 1 1 12 7.5a4.5 4.5 0 0 1 0 9zm0-7a2.5 2.5 0 1 0 0 5 2.5 2.5 0 0 0 0-5z"/></svg>275</span></div> <p class="hc-excerpt">Makefiles are used in C++ projects to automate the build process,especially when the project has multiple source files and dependencies.They define rules specifying how to compile individual source files into object files and then link those object files i...</p> </div> <div class="hc-ad"><ck-ins class="adsbygoogle" ad-style="display:inline-block;width:300px;height:90px" data-ad-client="ca-pub-2837042411139815" data-ad-slot="4623658791"></ck-ins></div> </article> </div><div class="grid-item"> <article class="hc"> <div class="hc-body"> <h2 class="hc-title"><a href="https://strcpy.com/cplulplus/268/How-to-call-SetTimer-function-on-MFC-CDialog-class/">How to call SetTimer function on MFC CDialog class ?</a></h2> <div class="hc-meta"><span title="created"><time datetime="2008-07-29T16:16:29Z" data-ts="1217348189" data-fmt="date">Jul 30, 2008</time></span><span><svg viewBox="0 0 24 24" aria-hidden="true"><path d="M12 5C6.5 5 2.7 9.3 1.5 12c1.2 2.7 5 7 10.5 7s9.3-4.3 10.5-7C21.3 9.3 17.5 5 12 5zm0 11.5A4.5 4.5 0 1 1 12 7.5a4.5 4.5 0 0 1 0 9zm0-7a2.5 2.5 0 1 0 0 5 2.5 2.5 0 0 0 0-5z"/></svg>650</span></div> <p class="hc-excerpt">Hi,problem with MFC Dialog based app: In OnInitDialog: .In OnTimer: .But OnTimer never reached.Why? When i call SendMessage( WM_TIMER,0,0); OnTimer calls succesfully.</p> </div> </article> </div><div class="grid-item"> <article class="hc"> <div class="hc-body"> <h2 class="hc-title"><a href="https://strcpy.com/engineering/267/How-to-search-file-on-certain-directory/">How to search file on certain directory ?</a></h2> <div class="hc-meta"><span title="created"><time datetime="2008-06-15T14:50:59Z" data-ts="1213541459" data-fmt="date">Jun 15, 2008</time></span><span><svg viewBox="0 0 24 24" aria-hidden="true"><path d="M12 5C6.5 5 2.7 9.3 1.5 12c1.2 2.7 5 7 10.5 7s9.3-4.3 10.5-7C21.3 9.3 17.5 5 12 5zm0 11.5A4.5 4.5 0 1 1 12 7.5a4.5 4.5 0 0 1 0 9zm0-7a2.5 2.5 0 1 0 0 5 2.5 2.5 0 0 0 0-5z"/></svg>625</span></div> <p class="hc-excerpt">In case of finding files on certain directory, you need to use FindFirstFileEx function.Following example shows the example,bool KFindFile(void *findname){    WIN32_FIND_DATA FindFileData;    HANDLE hFind;    CString strSearch...</p> </div> <div class="hc-ad"><ck-ins class="adsbygoogle" ad-style="display:inline-block;width:300px;height:250px" data-ad-client="ca-pub-2837042411139815" data-ad-slot="5912166641"></ck-ins></div> </article> </div><div class="grid-item"> <article class="hc"> <div class="hc-body"> <h2 class="hc-title"><a href="https://strcpy.com/php/219/How-to-get-Referral-URL/">How to get Referral URL ?</a></h2> <div class="hc-meta"><span title="updated"><time datetime="2024-10-28T22:11:27Z" data-ts="1730153487" data-fmt="date">Oct 29, 2024</time></span><span><svg viewBox="0 0 24 24" aria-hidden="true"><path d="M12 5C6.5 5 2.7 9.3 1.5 12c1.2 2.7 5 7 10.5 7s9.3-4.3 10.5-7C21.3 9.3 17.5 5 12 5zm0 11.5A4.5 4.5 0 1 1 12 7.5a4.5 4.5 0 0 1 0 9zm0-7a2.5 2.5 0 1 0 0 5 2.5 2.5 0 0 0 0-5z"/></svg>2,068</span></div> <p class="hc-excerpt">Grabs the referring URL - get the HTTP_REFERER and save it to a variable. code snippet: .While not inherently intended for API security,the HTTP_REFERER header can be a valuable tool for implementing an API that restricts access to certain resources based ...</p> </div> <div class="hc-ad"><ck-ins class="adsbygoogle" ad-style="display:inline-block;width:300px;height:90px" data-ad-client="ca-pub-2837042411139815" data-ad-slot="4623658791"></ck-ins></div> </article> </div><div class="grid-item"> <article class="hc"> <div class="hc-body"> <h2 class="hc-title"><a href="https://strcpy.com/cplulplus/129/How-to-run-shell-command-by-MFC/">How to run shell command by MFC ?</a></h2> <div class="hc-meta"><span title="created"><time datetime="2007-09-08T21:56:16Z" data-ts="1189288576" data-fmt="date">Sep 09, 2007</time></span><span><svg viewBox="0 0 24 24" aria-hidden="true"><path d="M12 5C6.5 5 2.7 9.3 1.5 12c1.2 2.7 5 7 10.5 7s9.3-4.3 10.5-7C21.3 9.3 17.5 5 12 5zm0 11.5A4.5 4.5 0 1 1 12 7.5a4.5 4.5 0 0 1 0 9zm0-7a2.5 2.5 0 1 0 0 5 2.5 2.5 0 0 0 0-5z"/></svg>434</span></div> <p class="hc-excerpt">Followings are the useful example can run shell command. If you want to launch browser for specific URL,simple run as below:* Note: The above code must be included in the same source.</p> </div> </article> </div><div class="grid-item"> <article class="hc"> <div class="hc-body"> <h2 class="hc-title"><a href="https://strcpy.com/cplulplus/128/Binary-Search-Sample-Code/">Binary Search Sample Code</a></h2> <div class="hc-meta"><span title="created"><time datetime="2007-09-08T00:10:08Z" data-ts="1189210208" data-fmt="date">Sep 08, 2007</time></span><span><svg viewBox="0 0 24 24" aria-hidden="true"><path d="M12 5C6.5 5 2.7 9.3 1.5 12c1.2 2.7 5 7 10.5 7s9.3-4.3 10.5-7C21.3 9.3 17.5 5 12 5zm0 11.5A4.5 4.5 0 1 1 12 7.5a4.5 4.5 0 0 1 0 9zm0-7a2.5 2.5 0 1 0 0 5 2.5 2.5 0 0 0 0-5z"/></svg>403</span></div> <p class="hc-excerpt">This is Binary search that returns a negative one if the number is not found.This code does a bubble sort and then proforms the binary search.</p> </div> <div class="hc-ad"><ck-ins class="adsbygoogle" ad-style="display:inline-block;width:300px;height:250px" data-ad-client="ca-pub-2837042411139815" data-ad-slot="5912166641"></ck-ins></div> </article> </div><div class="grid-item"> <article class="hc"> <div class="hc-body"> <h2 class="hc-title"><a href="https://strcpy.com/cplulplus/127/Double-Linked-List-based-in-C/">Double Linked List based in C++</a></h2> <div class="hc-meta"><span title="updated"><time datetime="2024-11-26T21:36:18Z" data-ts="1732656978" data-fmt="date">Nov 27, 2024</time></span><span><svg viewBox="0 0 24 24" aria-hidden="true"><path d="M12 5C6.5 5 2.7 9.3 1.5 12c1.2 2.7 5 7 10.5 7s9.3-4.3 10.5-7C21.3 9.3 17.5 5 12 5zm0 11.5A4.5 4.5 0 1 1 12 7.5a4.5 4.5 0 0 1 0 9zm0-7a2.5 2.5 0 1 0 0 5 2.5 2.5 0 0 0 0-5z"/></svg>796</span></div> <p class="hc-excerpt">Below is the double linked list example that based on console.Specially this application use macro by define function provided by ANSI C.It's just like inline function that C++ provides.</p> </div> <div class="hc-ad"><ck-ins class="adsbygoogle" ad-style="display:inline-block;width:300px;height:90px" data-ad-client="ca-pub-2837042411139815" data-ad-slot="4623658791"></ck-ins></div> </article> </div><div class="grid-item"> <article class="hc"> <div class="hc-body"> <h2 class="hc-title"><a href="https://strcpy.com/cplulplus/71/Creating-and-Using-a-CAsyncSocket-Object-to-use-CA/">Creating and Using a CAsyncSocket Object to use CAsyncSocket</a></h2> <div class="hc-meta"><span title="created"><time datetime="2007-08-27T16:56:05Z" data-ts="1188233765" data-fmt="date">Aug 28, 2007</time></span><span><svg viewBox="0 0 24 24" aria-hidden="true"><path d="M12 5C6.5 5 2.7 9.3 1.5 12c1.2 2.7 5 7 10.5 7s9.3-4.3 10.5-7C21.3 9.3 17.5 5 12 5zm0 11.5A4.5 4.5 0 1 1 12 7.5a4.5 4.5 0 0 1 0 9zm0-7a2.5 2.5 0 1 0 0 5 2.5 2.5 0 0 0 0-5z"/></svg>470</span></div> <p class="hc-excerpt">Followings are the procedure to send / receive UDP packet by CAsyncSocket.STEP 1. ConstructionConstruct a CAsyncSocket object and use the object to create the underlying SOCKET handle.Creation of a socket follows the MFC pattern of two-stage construction.F...</p> </div> </article> </div><div class="grid-item"> <article class="hc"> <div class="hc-body"> <h2 class="hc-title"><a href="https://strcpy.com/cplulplus/61/Fast-and-Good-Keyboard-Mouse-Test-without-the-mess/">Fast and Good Keyboard/Mouse Test without the message handler</a></h2> <div class="hc-meta"><span title="created"><time datetime="2007-08-26T21:01:55Z" data-ts="1188162115" data-fmt="date">Aug 27, 2007</time></span><span><svg viewBox="0 0 24 24" aria-hidden="true"><path d="M12 5C6.5 5 2.7 9.3 1.5 12c1.2 2.7 5 7 10.5 7s9.3-4.3 10.5-7C21.3 9.3 17.5 5 12 5zm0 11.5A4.5 4.5 0 1 1 12 7.5a4.5 4.5 0 0 1 0 9zm0-7a2.5 2.5 0 1 0 0 5 2.5 2.5 0 0 0 0-5z"/></svg>975</span></div> <p class="hc-excerpt">In this short snippet, I will show you a Win32 function that checks whether a button is pressed or not. The good thing is that you don't need to handle the WM_KEYDOWN message. The second advantage is that it is really easy to use and that it can be used ev...</p> </div> <div class="hc-ad"><ck-ins class="adsbygoogle" ad-style="display:inline-block;width:300px;height:250px" data-ad-client="ca-pub-2837042411139815" data-ad-slot="5912166641"></ck-ins></div> </article> </div><div class="grid-item"> <article class="hc"> <div class="hc-body"> <h2 class="hc-title"><a href="https://strcpy.com/cplulplus/59/C-CGI-Example-working-on-Apache/">C++ CGI Example working on Apache</a></h2> <div class="hc-meta"><span title="created"><time datetime="2007-08-26T19:55:32Z" data-ts="1188158132" data-fmt="date">Aug 27, 2007</time></span><span><svg viewBox="0 0 24 24" aria-hidden="true"><path d="M12 5C6.5 5 2.7 9.3 1.5 12c1.2 2.7 5 7 10.5 7s9.3-4.3 10.5-7C21.3 9.3 17.5 5 12 5zm0 11.5A4.5 4.5 0 1 1 12 7.5a4.5 4.5 0 0 1 0 9zm0-7a2.5 2.5 0 1 0 0 5 2.5 2.5 0 0 0 0-5z"/></svg>480</span></div> <p class="hc-excerpt">In this short howto I will explain how to setup your apache webserver to run any compiled application as an CGI script and show a little example program to explain the main concepts. So why does someone might have the idea to execute an application? There ...</p> </div> <div class="hc-ad"><ck-ins class="adsbygoogle" ad-style="display:inline-block;width:300px;height:90px" data-ad-client="ca-pub-2837042411139815" data-ad-slot="4623658791"></ck-ins></div> </article> </div><div class="grid-item"> <article class="hc"> <div class="hc-body"> <h2 class="hc-title"><a href="https://strcpy.com/cplulplus/57/How-to-send-binary-data-through-C-CGI-app/">How to send binary data through C# CGI app?</a></h2> <div class="hc-meta"><span title="created"><time datetime="2007-08-26T19:05:37Z" data-ts="1188155137" data-fmt="date">Aug 27, 2007</time></span><span><svg viewBox="0 0 24 24" aria-hidden="true"><path d="M12 5C6.5 5 2.7 9.3 1.5 12c1.2 2.7 5 7 10.5 7s9.3-4.3 10.5-7C21.3 9.3 17.5 5 12 5zm0 11.5A4.5 4.5 0 1 1 12 7.5a4.5 4.5 0 0 1 0 9zm0-7a2.5 2.5 0 1 0 0 5 2.5 2.5 0 0 0 0-5z"/></svg>992</span></div> <p class="hc-excerpt">Following example implemented binary data downloading. If you are using Apache and wanna test it just put the EXE in the cgi-bin folder under Apache's directory.Also note that the parameters are static just for this example.</p> </div> </article> </div> </div></div> <script>function doSearch(){var kw = document.getElementById("search_keyword").value.trim();if (kw.length<2) alert("Too short search keyword!");else window.self.location = "/search/" + encodeURIComponent(kw) + "/";}</script> <div class="hc-search"> <input type="text" class="tw-input" id="search_keyword" value="CGI" placeholder="Search keyword" onkeydown="if (event.key==='Enter') { doSearch(); }"> <button type="button" class="tw-btn tw-btn-primary" onClick="javascript:doSearch();">Search</button> </div> </div> <br> <br> <div id="menu"><table bgcolor="black" width="100%"> <tr width=100%><td style="margin:5px;padding:5px;"><span id="menu2_1" style="margin:5px;padding:5px;"><a href="https://strcpy.com/notice/416/strcpycom-Renewal/"><font color='yellow'><nobr>About Super Coder's Page</nobr></font></a></span>  <span id="menu2_2" style="margin:5px;padding:5px;"><a href="/privacy_policy/"><font color='yellow'><nobr>Privacy Policy</nobr></font></a></span></font></td> </tr></table></div> <script> var g_masonry = null; var g_masonry_observer = null; function masonry_grid_update() { var grid = document.querySelector( ".grid" ); if (!grid || typeof Masonry === "undefined") return; /* first call builds the layout; later calls (e.g. after ads load) pick up added cards and re-stack */ if (!g_masonry) g_masonry = new Masonry( grid, {"itemSelector":".grid-item","gutter":3,"fitWidth":true,"percentPosition":false} ); else { g_masonry.reloadItems(); g_masonry.layout(); } /* re-stack whenever a card changes height (lazy images, ads, embedded videos) */ if (!window.ResizeObserver) return; if (!g_masonry_observer) { var timer = null; g_masonry_observer = new ResizeObserver( function() { clearTimeout( timer ); timer = setTimeout( function() { if (g_masonry) g_masonry.layout(); }, 60 ); }); } grid.querySelectorAll( ".grid-item" ).forEach( function(node) { g_masonry_observer.observe( node ); } ); } /* Masonry may load with defer (TCKTAILWIND defer_scripts option): then build the grid once the page is parsed */ if (typeof Masonry !== "undefined") masonry_grid_update(); else document.addEventListener( "DOMContentLoaded", masonry_grid_update ); window.addEventListener( "load", function() { if (g_masonry) g_masonry.layout(); } ); </script> </body> <script>var g_ck_ad_refresh_duration = 25000;var g_ck_ad_initial_refresh_duration = 20000;function adjustContainerWidth(container) {var windowWidth = window.innerWidth || document.documentElement.clientWidth;var containerWidth = parseInt(container.style.width) || parseInt(window.getComputedStyle(container).width);if (containerWidth > windowWidth) {container.style.width = (windowWidth - 6) + "px";}}function createAdSense(container) {var adSenseAd = document.createElement('ins');adSenseAd.className = 'adsbygoogle';adSenseAd.style.cssText = container.getAttribute('ad-style');adjustContainerWidth(container);adSenseAd.setAttribute('data-ad-client', container.getAttribute('data-ad-client'));adSenseAd.setAttribute('data-ad-slot', container.getAttribute('data-ad-slot'));var adSenseScript = document.createElement('script');adSenseScript.src = 'https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js';adSenseScript.async = true;adSenseScript.crossorigin = 'anonymous';container.innerHTML = '';container.appendChild(adSenseAd);container.appendChild(adSenseScript);var pushScript = document.createElement('script');pushScript.innerHTML = '(adsbygoogle = window.adsbygoogle || []).push({});';container.appendChild(pushScript);}</script><script>var _cur_ad_pos = 0;var _ad_elements = null;var _ad_elements_len = 0;function isVisible(element){const rect = element.getBoundingClientRect();return (rect.width > 0 &&rect.height > 0 &&rect.top >= 0 &&rect.left >= 0 &&rect.bottom <= (window.innerHeight || document.documentElement.clientHeight) &&rect.right <= (window.innerWidth || document.documentElement.clientWidth));}function refreshAdSense(){if (_ad_elements){if (document.visibilityState === "visible"){for (var i = 0; i < _ad_elements_len; i++){if ( isVisible( _ad_elements[i] ) ) createAdSense(_ad_elements[i]);}}setTimeout( refreshAdSense, g_ck_ad_refresh_duration );}if (typeof masonry_grid_update === 'function') setTimeout(masonry_grid_update, 500);}function loadAdSense0(){_ad_elements = document.querySelectorAll('[class="adsbygoogle"]');if (_ad_elements){_ad_elements_len = _ad_elements.length;for (var i = 0; i < _ad_elements_len; i++){createAdSense(_ad_elements[i]);}}setTimeout( refreshAdSense, g_ck_ad_initial_refresh_duration );if (typeof masonry_grid_update === 'function') setTimeout( masonry_grid_update, 500);}setTimeout(loadAdSense0, 500);</script> </html>