<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="bbPress/1.1" -->
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title>THE MOLITOR FORUMS &#187; Topic: FAQ - function eregi() is deprecated in PHP 5.3</title>
		<link>http://www.themolitor.com/forums/topic/function-eregi-is-deprecated-in-php-53</link>
		<description>THE MOLITOR FORUMS &#187; Topic: FAQ - function eregi() is deprecated in PHP 5.3</description>
		<language>en-US</language>
		<pubDate>Tue, 28 Apr 2026 09:25:00 +0000</pubDate>
		<generator>http://bbpress.org/?v=1.1</generator>
		<textInput>
			<title><![CDATA[Search]]></title>
			<description><![CDATA[Search all topics from these forums.]]></description>
			<name>q</name>
			<link>http://www.themolitor.com/forums/search.php</link>
		</textInput>
		<atom:link href="http://www.themolitor.com/forums/rss/topic/function-eregi-is-deprecated-in-php-53" rel="self" type="application/rss+xml" />

		<item>
			<title>DantoPhotography on "FAQ - function eregi() is deprecated in PHP 5.3"</title>
			<link>http://www.themolitor.com/forums/topic/function-eregi-is-deprecated-in-php-53#post-14559</link>
			<pubDate>Mon, 10 Sep 2012 23:32:59 +0000</pubDate>
			<dc:creator>DantoPhotography</dc:creator>
			<guid isPermaLink="false">14559@http://www.themolitor.com/forums/</guid>
			<description><p>I also am getting the "Warning: preg_match() [function.preg-match]: Delimiter must not be alphanumeric or backslash in /home/content/30/9546330/html/wp-content/themes/wpzoom/send.php on line 43" error.  </p>
<p>How do I resolve this issue so that the "contact" function works properly?
</p></description>
		</item>
		<item>
			<title>egan1 on "FAQ - function eregi() is deprecated in PHP 5.3"</title>
			<link>http://www.themolitor.com/forums/topic/function-eregi-is-deprecated-in-php-53#post-13219</link>
			<pubDate>Wed, 25 Jul 2012 10:14:24 +0000</pubDate>
			<dc:creator>egan1</dc:creator>
			<guid isPermaLink="false">13219@http://www.themolitor.com/forums/</guid>
			<description><p>i am receiving the submitted emails. I just want the follow up page to work. Thank again.
</p></description>
		</item>
		<item>
			<title>egan1 on "FAQ - function eregi() is deprecated in PHP 5.3"</title>
			<link>http://www.themolitor.com/forums/topic/function-eregi-is-deprecated-in-php-53#post-13213</link>
			<pubDate>Wed, 25 Jul 2012 10:00:03 +0000</pubDate>
			<dc:creator>egan1</dc:creator>
			<guid isPermaLink="false">13213@http://www.themolitor.com/forums/</guid>
			<description><p>I replaced it and got the following error.</p>
<p>Warning: preg_match() [function.preg-match]: Delimiter must not be alphanumeric or backslash in /home/content/30/9546330/html/wp-content/themes/wpzoom/send.php on line 43
</p></description>
		</item>
		<item>
			<title>THE MOLITOR on "FAQ - function eregi() is deprecated in PHP 5.3"</title>
			<link>http://www.themolitor.com/forums/topic/function-eregi-is-deprecated-in-php-53#post-13209</link>
			<pubDate>Wed, 25 Jul 2012 09:47:07 +0000</pubDate>
			<dc:creator>THE MOLITOR</dc:creator>
			<guid isPermaLink="false">13209@http://www.themolitor.com/forums/</guid>
			<description><p>Hi there,</p>
<p>You can just do a basic search and replace for the deprecated function. Simply locate all 3 instances of <code>eregi</code> on line 43 of send.php and replace it with preg_match.</p>
<p>Should work just the same. Example...</p>
<p><code>if((preg_match($suspect, $lowmsg)) &#124;&#124; (preg_match($suspect, strtolower($_POST[&#039;name&#039;]))) &#124;&#124; (preg_match($suspect, strtolower($_POST[&#039;email&#039;]))))</code></p>
<p>Thanks!</p>
<p>Chris
</p></description>
		</item>
		<item>
			<title>egan1 on "FAQ - function eregi() is deprecated in PHP 5.3"</title>
			<link>http://www.themolitor.com/forums/topic/function-eregi-is-deprecated-in-php-53#post-13194</link>
			<pubDate>Wed, 25 Jul 2012 06:49:45 +0000</pubDate>
			<dc:creator>egan1</dc:creator>
			<guid isPermaLink="false">13194@http://www.themolitor.com/forums/</guid>
			<description><p>in the "send.php" file the following code is giving me an error.</p>
<p>if((eregi($suspect, $lowmsg)) &#124;&#124; (eregi($suspect, strtolower($_POST['name']))) &#124;&#124; (eregi($suspect, strtolower($_POST['email']))))</p>
<p>I am no expert in php but what little research i have done says that in php 5.3, this function no longer works and to use "preg_match()" instead. What would be the correct way to implement this if is truly the case.</p>
<p>My error happens here (<a href="http://andrewmarcinko.com/contact/" rel="nofollow">http://andrewmarcinko.com/contact/</a>). Once the user hits the "send message" button it throws an error on the "send.php" page.</p>
<p>Any help would be great. Thanks!!
</p></description>
		</item>

	</channel>
</rss>
