<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-gb">
	<link rel="self" type="application/atom+xml" href="https://forum.eggheads.org/app.php/feed/topic/2868" />

	<title>egghelp/eggheads community</title>
	<subtitle>Discussion of eggdrop bots, shell accounts and tcl scripts.</subtitle>
	<link href="https://forum.eggheads.org/index.php" />
	<updated>2002-10-25T08:02:28-04:00</updated>

	<author><name><![CDATA[egghelp/eggheads community]]></name></author>
	<id>https://forum.eggheads.org/app.php/feed/topic/2868</id>

		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2002-10-25T08:02:28-04:00</updated>

		<published>2002-10-25T08:02:28-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=12359#p12359</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=12359#p12359"/>
		<title type="html"><![CDATA[problem with package http]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=12359#p12359"><![CDATA[
lol !!! ok i see im so stupid<p>Statistics: Posted by Guest — Fri Oct 25, 2002 8:02 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[egghead]]></name></author>
		<updated>2002-10-25T07:56:00-04:00</updated>

		<published>2002-10-25T07:56:00-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=12356#p12356</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=12356#p12356"/>
		<title type="html"><![CDATA[Re: problem with package http]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=12356#p12356"><![CDATA[
<blockquote class="uncited"><div>i have done this script<br><br>[snip]<br><br>It works but there is a problem. It returns always the same result. Someone can help me ?</div></blockquote>Thats because you are reviewing the HTTP header of <a href="http://www.netcraft.com" class="postlink">www.netcraft.com</a> and not the host value. And netcraft.com will not change its server often. So you will always get: Apache/1.3.26 (Unix) mod_perl/1.27<br><br><br>By the way, why do you connect to netcraft.com and not to the requested host right away?<br><blockquote class="uncited"><div>telnet <a href="http://www.netcraft.com" class="postlink">www.netcraft.com</a> 80<br>Trying 195.92.95.5...<br>Connected to <a href="http://www.netcraft.com" class="postlink">www.netcraft.com</a>.<br>Escape character is '^]'.<br>GET /oldwhats/?host=<a href="http://www.eggheads.org" class="postlink">www.eggheads.org</a> HTTP/1.0<br><br>HTTP/1.1 200 OK<br>Date: Fri, 25 Oct 2002 11:51:19 GMT<br>Server: Apache/1.3.26 (Unix) mod_perl/1.27<br>Connection: close<br>Content-Type: text/html<br><br>&lt;HTML&gt;<br>&lt;HEAD&gt;<br>[snip]</div></blockquote><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=282">egghead</a> — Fri Oct 25, 2002 7:56 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2002-10-25T07:42:49-04:00</updated>

		<published>2002-10-25T07:42:49-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=12355#p12355</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=12355#p12355"/>
		<title type="html"><![CDATA[problem with package http]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=12355#p12355"><![CDATA[
i have done this script<br><br>package require http <br><br>bind pub - !whats pub:whats <br><br>proc pub:whats { nick uhost hand chan arg } { <br>if {[llength $arg]==0} { <br>putserv "notice $nick :Usage : !whats &lt;web site&gt;" <br>} else { <br>set host [lindex $arg 0] <br>set query "<a href="http://www.netcraft.com/oldwhats/?host=$host" class="postlink">http://www.netcraft.com/oldwhats/?host=$host</a>" <br>set token [http::config -useragent "Mozilla"] <br>set token [http::geturl $query] <br>puts stderr "" <br>upvar #0 $token state <br>foreach {name value} $state(meta) { <br>if {$name == "Server"} { <br>putserv "notice $nick :Host $host is running $value" <br>} <br>} <br>} <br>return 0 <br>} <br><br>It works but there is a problem. It returns always the same result. Someone can help me ?<p>Statistics: Posted by Guest — Fri Oct 25, 2002 7:42 am</p><hr />
]]></content>
	</entry>
	</feed>
