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

	<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>2012-04-14T03:14:16-04:00</updated>

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

		<entry>
		<author><name><![CDATA[Ofloo]]></name></author>
		<updated>2012-04-14T03:14:16-04:00</updated>

		<published>2012-04-14T03:14:16-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=99186#p99186</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=99186#p99186"/>
		<title type="html"><![CDATA[gzcompress]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=99186#p99186"><![CDATA[
look for a way to do it with images cause images like jpeg is basically just compressed data, .. read about "blob" type unless you're inserting text then you might better find something like drive compression never really looked into it but i know it used to be on ntfs, years ago when i still used windows, .. that there was this feature to compress all your data onto fly when you stored it on disk. I never saw much use for it and never really looked for something like that cause most of my files where jpeg or media files and then it's useless to compress them once more, .. it's only a waste of cpu time. I'm pretty sure you can set up some sort of zip drive, or whatever you want to call it in any os.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3151">Ofloo</a> — Sat Apr 14, 2012 3:14 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Fire-Fox]]></name></author>
		<updated>2012-03-07T09:12:35-04:00</updated>

		<published>2012-03-07T09:12:35-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=98967#p98967</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=98967#p98967"/>
		<title type="html"><![CDATA[gzcompress]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=98967#p98967"><![CDATA[
Okay, thanks for the reply <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8230">Fire-Fox</a> — Wed Mar 07, 2012 9:12 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[caesar]]></name></author>
		<updated>2012-03-07T01:24:47-04:00</updated>

		<published>2012-03-07T01:24:47-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=98965#p98965</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=98965#p98965"/>
		<title type="html"><![CDATA[gzcompress]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=98965#p98965"><![CDATA[
A quote from a user on <a href="http://stackoverflow.com/questions/5847128/php-preventing-mysql-injection-by-using-gzcompress" class="postlink">this</a> topic that is related to gzcompress.<br><br>This is a bad idea because:<br>- theoretically, there might be a sequence of data that, when compressed, leads to a SQL injection or simply breaks the query<br>- gzcompressed data can't be properly indexed and searched - you'll have a database full of garbled characters<br>- gzcompression is computationally expensive<br><br>Simply always sanitize your data before entering it into a database, using the string escaping method of your library (like mysql(i)_real_escape_string()) or parametrized queries. If you do that reliably, no further protection is necessary.<br><br>You will end up getting an error like:<blockquote class="uncited"><div>You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near 'cUÓyM›û]YûßTS§mÖø_öè|®SÝT?½¥®Ê!y{ëVùÊP†’Â1�'‰;(§�èh$1Cà�b</div></blockquote><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=187">caesar</a> — Wed Mar 07, 2012 1:24 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Fire-Fox]]></name></author>
		<updated>2012-03-06T17:14:37-04:00</updated>

		<published>2012-03-06T17:14:37-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=98960#p98960</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=98960#p98960"/>
		<title type="html"><![CDATA[gzcompress]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=98960#p98960"><![CDATA[
Is there a way of gzcompress stuff before inserting it to database...?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8230">Fire-Fox</a> — Tue Mar 06, 2012 5:14 pm</p><hr />
]]></content>
	</entry>
	</feed>
