<?xml version='1.0' encoding='UTF-8'?>
<rss version='2.0'>
	<channel>
		<title>cotonti.com : eregi_replace</title>
		<link>https://www.cotonti.com</link>
		<description>Neueste Themenbeiträge</description>
		<generator>Cotonti</generator>
		<language>en</language>
		<pubDate>Thu, 30 Apr 2026 20:32:30 -0000</pubDate>

		<item>
			<title>aro747</title>
			<description><![CDATA[<p>
	Thank you.</p>
]]></description>
			<pubDate>Mo, 15 Aug 2011 01:20:51 -0000</pubDate>
			<link><![CDATA[https://www.cotonti.com/de/forums?m=posts&q=6468&d=0#post30464]]></link>
		</item>
		<item>
			<title>pieter</title>
			<description><![CDATA[<p>
	This is V126 <a href="http://www.boxca.com/ddk8m8h46e3c/seditio-build126.rar.html" rel="nofollow">http://www.boxca.com/ddk8m8h46e3c/seditio-build126.rar.html</a><br />
	Upgrade script is here: <a href="http://trac.cotonti.com/export/585/trunk/upgrade-seditio12x-to-seditio125.php">http://trac.cotonti.com/export/585/trunk/upgrade-seditio12x-to-seditio125.php</a></p>
<p>
	But you need to go to 125 first I guess: See doc: <a href="http://neocrome.net/page.php?al=upg121125" rel="nofollow">121 to 125/126</a><br /><br />
	I propose, because I can't find 125. You use the files from 126 and follow the upgrade script above.<br /><br />
	You know the blabla about testsite, backup, ...</p>
<p><strong>Added 20 minutes later:</strong></p><p>
	In Cotonti Genoa 0.0.6 you can also find the script.</p>
<p>
	Maybe upgrade directly to Cotonti. See <a href="http://www.cotonti.com/docs/start/updating#ch_update">http://www.cotonti.com/docs/start/updating#ch_update</a> latest part: Upgrading from Seditio</p>
]]></description>
			<pubDate>Fr, 12 Aug 2011 05:44:06 -0000</pubDate>
			<link><![CDATA[https://www.cotonti.com/de/forums?m=posts&q=6468&d=0#post30446]]></link>
		</item>
		<item>
			<title>aro747</title>
			<description><![CDATA[<p>
	Thanks, where can I get that from?</p>
]]></description>
			<pubDate>Do, 11 Aug 2011 19:57:26 -0000</pubDate>
			<link><![CDATA[https://www.cotonti.com/de/forums?m=posts&q=6468&d=0#post30445]]></link>
		</item>
		<item>
			<title>Trustmaster</title>
			<description><![CDATA[<p>
	You should update at least to V126, it has this fixed.</p>
]]></description>
			<pubDate>Mi, 10 Aug 2011 07:39:00 -0000</pubDate>
			<link><![CDATA[https://www.cotonti.com/de/forums?m=posts&q=6468&d=0#post30431]]></link>
		</item>
		<item>
			<title>aro747</title>
			<description><![CDATA[<p>
	Hi All,</p>
<p>
	My site has a lot of custom plugins, etc. and unfortunately I can't get a hold of my developer.  Because of all this custom code, I'm still running Seditio V121.  I had my host turn on PDO for another site, and since all are on the same host, I'm getting lots of these errors:  <b>Deprecated</b>: Function eregi_replace() is deprecated in   All are on system/function.php, common.php.  So, I know I have to replace eregi_replace with preg_replace, but exactly how, I'm not sure.  Can you help please?  I'm trying to replace the following lines: </p>
<p>
	 </p>
<div>
	<pre class="brush:php;">
foreach($bbcodes as $bbcode =&gt; $bbcodehtml)
		{ $text = eregi_replace($bbcode,$bbcodehtml,$text); }

	if ($cfg['parser_vid'])
</pre>
and 
<pre class="brush:php;">
foreach($bbcodes as $bbcode =&gt; $bbcodehtml)
		{ $text = eregi_replace($bbcode,$bbcodehtml,$text); }

	return(substr($text,1));
	}
</pre>
and

<pre class="brush:php;">
function sed_build_email($email, $hide=0)
	{
	global $L;
	if ($hide)
		{ $result = $L['Hidden']; }
	elseif (!empty($email) &amp;&amp; eregi('@', $email))
		{
		$email = sed_cc($email);
		$result = "&lt;a href=https://www.cotonti.com/\"mailto:".$email."\"&gt;".$email."&lt;/a&gt;";
		}

	return($result);
	}
</pre>
and
<pre class="brush:php;">
function sed_build_url($text, $maxlen=64)
	{
	global $cfg;

	if (!empty($text))
		{
		if (!eregi('http://', $text))
			{ $text='http://'. $text; }
		$text = sed_cc($text);
		$text = "&lt;a href=https://www.cotonti.com/\"".$text."\"&gt;".sed_cutstring($text, $maxlen)."&lt;/a&gt;";
		}
	return($text);
	}
</pre>
and
<pre class="brush:php;">
if ($rsedition&gt;0 &amp;&amp; $cfg['authmode']&gt;0)
	{
	if (strlen($rseditiop)!=32 || eregi("'",$rseditiop) || eregi("\"",$rseditiop))
		{ sed_diefatal('Wrong value for the password.'); }
</pre>
and
<pre class="brush:php;">
if ($rsedition&gt;0 &amp;&amp; $cfg['authmode']&gt;0)
	{
	if (strlen($rseditiop)!=32 || eregi("'",$rseditiop) || eregi("\"",$rseditiop))
		{ sed_diefatal('Wrong value for the password.'); }
</pre>
and
<pre class="brush:php;">
'ELQ_COMM_TEXT'			=&gt; $row3['com_date'] ? sed_cc(sed_cutstring(eregi_replace('\[([^\[]*)\]', '', $row3['com_text']), 200)) : '',
</pre>


If someone could guide me on what to replace the "eregi" with, that would be great.  Thanks in advance for your help. 

-aro
</div>
<p>
	 </p>
]]></description>
			<pubDate>Di, 09 Aug 2011 01:39:29 -0000</pubDate>
			<link><![CDATA[https://www.cotonti.com/de/forums?m=posts&q=6468&d=0#post30422]]></link>
		</item>
	</channel>
</rss>