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

	<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-12-07T11:36:37-04:00</updated>

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

		<entry>
		<author><name><![CDATA[ppslim]]></name></author>
		<updated>2003-12-07T11:36:37-04:00</updated>

		<published>2003-12-07T11:36:37-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=31162#p31162</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=31162#p31162"/>
		<title type="html"><![CDATA[Binary Data]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=31162#p31162"><![CDATA[
The only real method is to pass a second argument with the length of the data.<br><br>This pretty much goes along the lines of putdccraw. You can pass and use embeded NULLs in the data. For it to function correctly, the length is passed.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2">ppslim</a> — Sun Dec 07, 2003 11:36 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[BarkerJr]]></name></author>
		<updated>2003-12-06T15:36:31-04:00</updated>

		<published>2003-12-06T15:36:31-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=31129#p31129</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=31129#p31129"/>
		<title type="html"><![CDATA[Binary Data]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=31129#p31129"><![CDATA[
For my mysql.mod, I want to be able to accept binary data.  Users should be able to pass binary data to mysql_escape.  However, it's passed to the module as a pointer.  So, I effectively can't tell where the binary data argument ends (strlen() only reads to the first null, which is not the end of the argument).<br><br>Anyone know how I can determine the length of the data being passed to the function?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2933">BarkerJr</a> — Sat Dec 06, 2003 3:36 pm</p><hr />
]]></content>
	</entry>
	</feed>
