<?xml version="1.0" encoding="utf-8" ?><rss version="2.0" xml:base="https://www.webmaster-forums.net/crss/node/1031681" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title></title>
    <link>https://www.webmaster-forums.net/crss/node/1031681</link>
    <description></description>
    <language>en</language>
          <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/converting-php-asp-vbscript#comment-1185727</link>
    <description> &lt;p&gt;you will need to use the XMLHTTP Object to get the page content with ASP;&lt;br /&gt;
This will return the page source if it gets a 200 response otherwise it will return the error code.&lt;br /&gt;
&lt;div class=&quot;codeblock&quot;&gt;&lt;code&gt;function GetPageCode(strURL)&lt;br /&gt; Response.Buffer = True&lt;br /&gt;&amp;nbsp; Dim&amp;nbsp; xml&lt;br /&gt;&amp;nbsp; Set xml = Server.CreateObject(&amp;quot;Microsoft.XMLHTTP&amp;quot;)&lt;br /&gt;&amp;nbsp; &lt;br /&gt; 	xml.Open &amp;quot;GET&amp;quot;, strURL, False&lt;br /&gt;	xml.setRequestHeader &amp;quot;User-Agent&amp;quot;, &amp;#039; insert your own user agent string here&lt;br /&gt;	xml.Send&lt;br /&gt;	if xml.status = 200 then&lt;br /&gt;	GetPageCode = xml.responseText&lt;br /&gt;	else&lt;br /&gt;	GetPageCode = cstr(xml.status) &amp;amp; &amp;quot; (&amp;quot; &amp;amp; xml.StatusText &amp;amp; &amp;quot;)&amp;quot;&lt;br /&gt;	end if&lt;br /&gt;&amp;nbsp; Set xml = Nothing&lt;br /&gt;end function&lt;/code&gt;&lt;/div&gt;&#039;&lt;/p&gt;
 </description>
     <pubDate>Wed, 16 Nov 2005 08:19:04 +0000</pubDate>
 <dc:creator>chrishirst</dc:creator>
 <guid isPermaLink="false">comment 1185727 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/converting-php-asp-vbscript#comment-1185722</link>
    <description> &lt;p&gt;Probably your biggest challenge here is finding ASP/VB analogues of the PHP curl bindings, and maybe also using that bit of Perl regex. I do not recall if and how ASP/VB supports either of these; &lt;a href=&quot;http://curl.haxx.se/&quot; class=&quot;bb-url&quot;&gt;curl&lt;/a&gt; packages are available for Win32, but does ASP/VB ship with it?&lt;/p&gt;
&lt;p&gt;  Time to hit Google. &lt;img src=&quot;https://www.webmaster-forums.net/misc/smileys/wink.png&quot; title=&quot;Wink&quot; alt=&quot;Wink&quot; class=&quot;smiley-content&quot; /&gt;&lt;/p&gt;
&lt;p&gt; (Let me know if the above didn&#039;t make any sense, I&#039;m not sure how confident you are with this.) &lt;img src=&quot;https://www.webmaster-forums.net/misc/smileys/smile.png&quot; title=&quot;Smiling&quot; alt=&quot;Smiling&quot; class=&quot;smiley-content&quot; /&gt;&lt;/p&gt;
 </description>
     <pubDate>Wed, 16 Nov 2005 07:12:55 +0000</pubDate>
 <dc:creator>Abhishek Reddy</dc:creator>
 <guid isPermaLink="false">comment 1185722 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/converting-php-asp-vbscript#comment-1185708</link>
    <description> &lt;p&gt;Im a asp guru but I know not VB. I&#039;m quite curious though... Why would you want to go from php to asp?&lt;/p&gt;
 </description>
     <pubDate>Wed, 16 Nov 2005 00:47:14 +0000</pubDate>
 <dc:creator>bja888</dc:creator>
 <guid isPermaLink="false">comment 1185708 at https://www.webmaster-forums.net</guid>
  </item>
  </channel>
</rss>
