<?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/5056" />

	<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>2003-09-12T00:09:30-04:00</updated>

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

		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2003-09-12T00:09:30-04:00</updated>

		<published>2003-09-12T00:09:30-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=26991#p26991</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=26991#p26991"/>
		<title type="html"><![CDATA[PHP script to highlight log files]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=26991#p26991"><![CDATA[
LOL, more one post!<br><br>Now it's working<br><br>There is an error on line 46 of your program<br>in the end of the line, where it says:<br>"($period/60,"hour","hours");"<br><br>add just a ")" before the ";", like this:<br><br>($period/60,"hour","hours")<strong class="text-strong">)</strong>;<br><br>and it should work correctly now ( for me it's perfect ! )<br><br>Please update your file!<br><br>Thanks for this script, i was looking for this for months !<br><br>Bye<p>Statistics: Posted by Guest — Fri Sep 12, 2003 12:09 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2003-09-12T00:04:59-04:00</updated>

		<published>2003-09-12T00:04:59-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=26990#p26990</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=26990#p26990"/>
		<title type="html"><![CDATA[PHP script to highlight log files]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=26990#p26990"><![CDATA[
Oh nevermind, i solved the error<br>but now i got this<br><br>PHP Parse error:  parse error, unexpected ';' in /logs/formatter.php on line 46<br><br>This is about your code, no ?<p>Statistics: Posted by Guest — Fri Sep 12, 2003 12:04 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2003-09-11T23:19:25-04:00</updated>

		<published>2003-09-11T23:19:25-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=26988#p26988</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=26988#p26988"/>
		<title type="html"><![CDATA[PHP script to highlight log files]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=26988#p26988"><![CDATA[
Hm, i got errors too<br><br>Internal Server Error<br><br>The Error Log said:<br>[Fri Sep 12 00:01:46 2003] [alert] [client 192.168.0.2] ../logs/.htaccess: Action not allowed here<br><br><br><br>"Action text/plain /web/path/to/.formatter.php"<br>the "Action" command he don't understands... <br><br>What could it be ?<p>Statistics: Posted by Guest — Thu Sep 11, 2003 11:19 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2003-09-11T16:52:12-04:00</updated>

		<published>2003-09-11T16:52:12-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=26975#p26975</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=26975#p26975"/>
		<title type="html"><![CDATA[PHP script to highlight log files]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=26975#p26975"><![CDATA[
Cool, i was looking for this! =)<br>I haven't tested it yet, but sounds good =)<p>Statistics: Posted by Guest — Thu Sep 11, 2003 4:52 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[stere0]]></name></author>
		<updated>2003-09-10T20:14:47-04:00</updated>

		<published>2003-09-10T20:14:47-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=26935#p26935</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=26935#p26935"/>
		<title type="html"><![CDATA[log]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=26935#p26935"><![CDATA[
server:~# tail /usr/local/apache/logs/server.error_log<br>[Wed Sep 10 21:11:31 2003] [error] [client ip] Invalid URI in request GET /logs/channel.log HTTP/1.0<br><br><br><br>can u see?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=4">stere0</a> — Wed Sep 10, 2003 8:14 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2003-09-07T06:52:56-04:00</updated>

		<published>2003-09-07T06:52:56-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=26681#p26681</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=26681#p26681"/>
		<title type="html"><![CDATA[Re: Bad request]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=26681#p26681"><![CDATA[
What does your .htaccess undir &lt;webroot&gt;/logs contain?<br><br>Arnar<p>Statistics: Posted by Guest — Sun Sep 07, 2003 6:52 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[stere0]]></name></author>
		<updated>2003-08-06T21:00:19-04:00</updated>

		<published>2003-08-06T21:00:19-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=24475#p24475</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=24475#p24475"/>
		<title type="html"><![CDATA[Bad Request]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=24475#p24475"><![CDATA[
Bad Request<br>Your browser sent a request that this server could not understand.<br>Invalid URI in request GET /logs/channel.log HTTP/1.0<br><br><br><br>Can u help me?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=4">stere0</a> — Wed Aug 06, 2003 9:00 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2003-07-24T07:09:55-04:00</updated>

		<published>2003-07-24T07:09:55-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=23889#p23889</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=23889#p23889"/>
		<title type="html"><![CDATA[Note on the hyperlinks above..]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=23889#p23889"><![CDATA[
Hyperlinks to shot2.html and formatter.txt include a dot and a comma, respectively. This was BB's doing, you have to remove them manually, sorry.<br><br>Arnar<p>Statistics: Posted by Guest — Thu Jul 24, 2003 7:09 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2003-07-24T07:07:27-04:00</updated>

		<published>2003-07-24T07:07:27-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=23888#p23888</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=23888#p23888"/>
		<title type="html"><![CDATA[PHP script to highlight log files]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=23888#p23888"><![CDATA[
Hello out there..<br><br>I wrote a PHP script to highlight my log files in a web browser. Thought it might be useful to someone out there. There are samples of it's output at <a href="http://www.hi.is/~arnarbi/shot1.html" class="postlink">http://www.hi.is/~arnarbi/shot1.html</a> and <a href="http://www.hi.is/~arnarbi/shot2.html" class="postlink">http://www.hi.is/~arnarbi/shot2.html</a>. I don't have any logs from a real channel, if anyone tries this out with actual data and could post samples, it would be wonderful. Btw. the blue-background highlighted strings in shot1.html were acquired by using an url like <a href="http://kassi.oddi.is/~arnarb/irc-loggar/tolvudeild.log.22Jul2003?hi=eggert" class="postlink">http://kassi.oddi.is/~arnarb/irc-loggar ... ?hi=eggert</a> (this url is not publicly available).<br><br>It's simple to set up, put your logfiles in a directory available to your web server, use a .htaccess file to define an action for text/plain files which serves them through the script. Step-by-step instructions are found inside the script itself.<br><br>It has the following features:<br>- higlights channel logs (logged with jpk flags)<br>- reckognizes all 16 irc colors, bold and underline formatting<br>- makes urls clickable<br>- inserts "silence for m hours n minutes" where appropriate<br>- no preprocessing needed, acts as a http handler for text/plain files<br>- highlighting of search string if "?hi=whatever" is appended to the url<br><br>The script is available at <a href="http://www.hi.is/~arnarbi/formatter.txt" class="postlink">http://www.hi.is/~arnarbi/formatter.txt</a>, just change the .txt ending to .php, .php4 or whatever your webserver uses.<br><br>Arnar<p>Statistics: Posted by Guest — Thu Jul 24, 2003 7:07 am</p><hr />
]]></content>
	</entry>
	</feed>
