home *** CD-ROM | disk | FTP | other *** search
- <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
- <html>
- <head>
- <title>Function _INetGetSource</title>
- <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
- <link href="../css/default.css" rel="stylesheet" type="text/css">
- </head>
-
- <body><script language="javascript">
- if (window.name != "content")
- document.write("<center><a href='../../index.html?page=html/libfunctions/_INetGetSource.htm'>show framing</a></center>")
- </script>
- <h1>Function Reference</h1>
- <font size="+1">_INetGetSource</font>
- <hr size="2">
- <p>Gets the source from an URL without writing a temp file.<br></p>
-
- <p class="codeheader">
- #include <INet.au3><br>
- _INetGetSource ( $s_URL )<br>
- </p>
- <p> </p>
-
- <p><b>Parameters</b></p>
- <table border="1" width="100%" cellspacing="0" cellpadding="3" bordercolor="#C0C0C0">
- <tr>
- <td width="15%">$s_URL </td>
- <td width="85%">(The URL of the site.) eg 'www.autoitscript.com'</td>
- </tr>
- </table>
- <p> </p>
-
- <p><b>Return Value</b></p>
- <table width="100%">
- <tr>
- <td width="10%" valign="top">Success:</td>
- <td width="90%">Returns the source code.</td>
- </tr>
- <tr>
- <td valign="top">Failure:</td>
- <td>0 and sets @ERROR = 1</td>
- </tr>
- </table>
- <p> </p>
-
- <p><b>Remarks</b></p>
- None.<br>
- <br>
- <p> </p>
-
- <p><b>Related</b></p>
- <a href="autoit3.chm::/html/functions/inetget.htm">INetGet</a>
- <p> </p>
-
- <p><b>Example</b></p>
- <p class="codebox">
- <br>
- <span><span class="S11">#include</span><span class="S0"> </span><span class="S7"><INet.au3></span><br>
- <span class="S4">ConsoleWrite</span><span class="S8">(</span><span class="S15">_INetGetSource</span><span class="S8">(</span><span class="S7">'www.autoitscript.com'</span><span class="S8">))</span></span><br>
- <br><OBJECT id=hhctrl type="application/x-oleobject" classid="clsid:adb880a6-d8ff-11cf-9377-00aa003b7a11" width=58 height=57>
- <PARAM name="Command" value="ShortCut">
- <PARAM name="Button" value="Text:Open this Script">
- <PARAM name="Item1" value=",Examples\HelpFile\_INetGetSource.au3,">
- </OBJECT>
- <p> </p>
-
- </body>
- </html>
-