<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[verifica link script asp]]></title><description><![CDATA[<p dir="auto">Salve, chi mi sa dire dove si può trovare uno script in asp che riesce a controllare se uno scambio link è mantenuto nel sito con cui mi è stato richiesto di fare scambio link reciproco?<br />
Avevo già sul mio sito uno script in php ma essendo passato ad un windows superiore non gira più lo script in php e l'ho eliminato.<br />
Attendo risposta grazie.</p>
]]></description><link>https://dev.connect.gt/topic/230914/verifica-link-script-asp</link><generator>RSS for Node</generator><lastBuildDate>Thu, 26 Nov 2026 06:45:13 GMT</lastBuildDate><atom:link href="https://dev.connect.gt/topic/230914.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 07 Sep 2017 10:03:41 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to verifica link script asp on Tue, 12 Jun 2018 11:58:24 GMT]]></title><description><![CDATA[<p dir="auto">Ciao,</p>
<p dir="auto">dovresti scrivere una cosa del genere:</p>
<p dir="auto">public bool CheckUrl(string uri)<br />
{</p>
<pre><code>    try
    {
        string html = "";

        HttpWebRequest request = (HttpWebRequest)WebRequest.Create(uri);
        request.AutomaticDecompression = DecompressionMethods.GZip | DecompressionMethods.Deflate;

        using (HttpWebResponse response = (HttpWebResponse)request.GetResponse())
        using (Stream stream = response.GetResponseStream())
        using (StreamReader reader = new StreamReader(stream))
        {
            html = reader.ReadToEnd();
        }

        if (html.IndexOf("www tuosito it") != -1)
        {
            return true;
        }
        else
            return false;
        
    }
    catch {
        return false;
    }

    
}
</code></pre>
<p dir="auto">Poi ogni tot ore lo fai richiamare da uno scheduler....</p>
]]></description><link>https://dev.connect.gt/post/1239958</link><guid isPermaLink="true">https://dev.connect.gt/post/1239958</guid><dc:creator><![CDATA[progettospartaco]]></dc:creator><pubDate>Tue, 12 Jun 2018 11:58:24 GMT</pubDate></item></channel></rss>