<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[FluxBB.org Forums - Undo magic_quotes_gpc]]></title>
	<link rel="self" href="http://fluxbb.org/forums/feed/atom/topic/1607/"/>
	<updated>2008-09-09T20:06:14Z</updated>
	<generator>FluxBB</generator>
	<id>http://fluxbb.org/forums/topic/1607/undo-magicquotesgpc/</id>
		<entry>
			<title type="html"><![CDATA[Re: Undo magic_quotes_gpc]]></title>
			<link rel="alternate" href="http://fluxbb.org/forums/post/14659/#p14659"/>
			<content type="html"><![CDATA[Hmm, I take back what I said (well, partly: I think I could use array_map to screw up multi-dimensional arrays, but the FluxBB function works fine). The code looks good.]]></content>
			<author>
				<name><![CDATA[Smartys]]></name>
				<uri>http://fluxbb.org/forums/user/2/</uri>
			</author>
			<updated>2008-09-09T20:06:14Z</updated>
			<id>http://fluxbb.org/forums/post/14659/#p14659</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Undo magic_quotes_gpc]]></title>
			<link rel="alternate" href="http://fluxbb.org/forums/post/14655/#p14655"/>
			<content type="html"><![CDATA[Indeed, the current function should work just fine.]]></content>
			<author>
				<name><![CDATA[elbekko]]></name>
				<uri>http://fluxbb.org/forums/user/6/</uri>
			</author>
			<updated>2008-09-09T19:27:20Z</updated>
			<id>http://fluxbb.org/forums/post/14655/#p14655</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Undo magic_quotes_gpc]]></title>
			<link rel="alternate" href="http://fluxbb.org/forums/post/14653/#p14653"/>
			<content type="html"><![CDATA[I'm [b]still[/b] convinced the current code works perfectly. If you want to test yourself try [url=http://pastebin.com/m20ce6377]this[/url] ([url=http://pastebin.com/d13e1a278]output[/url]). If there is a problem when I can't see please just report this thread and I will re-open it.]]></content>
			<author>
				<name><![CDATA[Reines]]></name>
				<uri>http://fluxbb.org/forums/user/91/</uri>
			</author>
			<updated>2008-09-09T18:44:32Z</updated>
			<id>http://fluxbb.org/forums/post/14653/#p14653</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Undo magic_quotes_gpc]]></title>
			<link rel="alternate" href="http://fluxbb.org/forums/post/14624/#p14624"/>
			<content type="html"><![CDATA[Their fault in my opinion ;)

The providers are hosting what people are asking for and as long as there is software working with PHP4 (and not using the benefits of PHP5) or even are JUST for PHP4 they will keep PHP4. Just due to software changing to PHP5 one gets the customers to see the need for PHP5 and therefor reaching the providers.

Just my 2 cents tho.]]></content>
			<author>
				<name><![CDATA[Felix]]></name>
				<uri>http://fluxbb.org/forums/user/160/</uri>
			</author>
			<updated>2008-09-09T11:22:54Z</updated>
			<id>http://fluxbb.org/forums/post/14624/#p14624</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Undo magic_quotes_gpc]]></title>
			<link rel="alternate" href="http://fluxbb.org/forums/post/14621/#p14621"/>
			<content type="html"><![CDATA[Felix, even if PHP4 is not supported anymore, it doesn't mean it isn't used by a lot of hosting providers anymore.

Indeed, looking at the comments on the php site is always profitable.]]></content>
			<author>
				<name><![CDATA[Christian]]></name>
				<uri>http://fluxbb.org/forums/user/83/</uri>
			</author>
			<updated>2008-09-09T10:40:30Z</updated>
			<id>http://fluxbb.org/forums/post/14621/#p14621</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Undo magic_quotes_gpc]]></title>
			<link rel="alternate" href="http://fluxbb.org/forums/post/14620/#p14620"/>
			<content type="html"><![CDATA[Well, PHP4 is dead. 
Officially dead since August.

Why caring to support it anymore?

Zend Framework is PHP only.

Even Midgard dropped PHP4 Support in the latest version, so did many of the other softwares.

PHP5 is out for over 4 years...

And as always, there are several alternatives in the comments on the php.net site at array_walk_recursive.]]></content>
			<author>
				<name><![CDATA[Felix]]></name>
				<uri>http://fluxbb.org/forums/user/160/</uri>
			</author>
			<updated>2008-09-09T09:20:39Z</updated>
			<id>http://fluxbb.org/forums/post/14620/#p14620</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Undo magic_quotes_gpc]]></title>
			<link rel="alternate" href="http://fluxbb.org/forums/post/14619/#p14619"/>
			<content type="html"><![CDATA[array_walk_recursive is PHP 5...]]></content>
			<author>
				<name><![CDATA[lie2815]]></name>
				<uri>http://fluxbb.org/forums/user/157/</uri>
			</author>
			<updated>2008-09-09T06:28:26Z</updated>
			<id>http://fluxbb.org/forums/post/14619/#p14619</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Undo magic_quotes_gpc]]></title>
			<link rel="alternate" href="http://fluxbb.org/forums/post/14591/#p14591"/>
			<content type="html"><![CDATA[Shouldn't be too hard to remodel it to use array_walk_recursive, is it?]]></content>
			<author>
				<name><![CDATA[Felix]]></name>
				<uri>http://fluxbb.org/forums/user/160/</uri>
			</author>
			<updated>2008-09-08T17:33:28Z</updated>
			<id>http://fluxbb.org/forums/post/14591/#p14591</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Undo magic_quotes_gpc]]></title>
			<link rel="alternate" href="http://fluxbb.org/forums/post/14573/#p14573"/>
			<content type="html"><![CDATA[array_map does not work with multi-dimensional arrays. That is the problem.]]></content>
			<author>
				<name><![CDATA[Smartys]]></name>
				<uri>http://fluxbb.org/forums/user/2/</uri>
			</author>
			<updated>2008-09-08T15:18:41Z</updated>
			<id>http://fluxbb.org/forums/post/14573/#p14573</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Undo magic_quotes_gpc]]></title>
			<link rel="alternate" href="http://fluxbb.org/forums/post/14572/#p14572"/>
			<content type="html"><![CDATA[To revive this, the current way seems to work fine as far as I can see. Can someone enlighten me to the problem or should I close this?]]></content>
			<author>
				<name><![CDATA[Reines]]></name>
				<uri>http://fluxbb.org/forums/user/91/</uri>
			</author>
			<updated>2008-09-08T15:15:26Z</updated>
			<id>http://fluxbb.org/forums/post/14572/#p14572</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Undo magic_quotes_gpc]]></title>
			<link rel="alternate" href="http://fluxbb.org/forums/post/13024/#p13024"/>
			<content type="html"><![CDATA[And this IS recursion.]]></content>
			<author>
				<name><![CDATA[Christian]]></name>
				<uri>http://fluxbb.org/forums/user/83/</uri>
			</author>
			<updated>2008-08-13T20:58:06Z</updated>
			<id>http://fluxbb.org/forums/post/13024/#p13024</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Undo magic_quotes_gpc]]></title>
			<link rel="alternate" href="http://fluxbb.org/forums/post/13023/#p13023"/>
			<content type="html"><![CDATA[I did. Using logic.
One statement = no block required.

Now you.]]></content>
			<author>
				<name><![CDATA[elbekko]]></name>
				<uri>http://fluxbb.org/forums/user/6/</uri>
			</author>
			<updated>2008-08-13T20:52:19Z</updated>
			<id>http://fluxbb.org/forums/post/13023/#p13023</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Undo magic_quotes_gpc]]></title>
			<link rel="alternate" href="http://fluxbb.org/forums/post/13022/#p13022"/>
			<content type="html"><![CDATA[[quote=elbekko][quote]Also for better programming practice alway use brackets e.g..:[/quote]
No. Just no. Especially if you write it like that.[/quote]

Lol who taught you how to code without brackets? They should kill them self.

On topic, Smarty could try remaking the [url=http://us.php.net/manual/en/function.array-walk-recursive.php]array_walk_recursive[/url] function for php4 compatibility

if( !function_exists("array_walk_recursive") ) {

} else {

}]]></content>
			<author>
				<name><![CDATA[Lamonte]]></name>
				<uri>http://fluxbb.org/forums/user/138/</uri>
			</author>
			<updated>2008-08-13T20:47:18Z</updated>
			<id>http://fluxbb.org/forums/post/13022/#p13022</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Undo magic_quotes_gpc]]></title>
			<link rel="alternate" href="http://fluxbb.org/forums/post/13021/#p13021"/>
			<content type="html"><![CDATA[Whoops. Link not working correctly.]]></content>
			<author>
				<name><![CDATA[lie2815]]></name>
				<uri>http://fluxbb.org/forums/user/157/</uri>
			</author>
			<updated>2008-08-13T20:10:03Z</updated>
			<id>http://fluxbb.org/forums/post/13021/#p13021</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Undo magic_quotes_gpc]]></title>
			<link rel="alternate" href="http://fluxbb.org/forums/post/13011/#p13011"/>
			<content type="html"><![CDATA[[url]http://en.wikipedia.org/wiki/Recursion_[/url](computer_science)#Examples_of_recursively_defined_procedures_.28generative_recursion.29

That example there is pretty much what this function does. AKA, recursion.]]></content>
			<author>
				<name><![CDATA[elbekko]]></name>
				<uri>http://fluxbb.org/forums/user/6/</uri>
			</author>
			<updated>2008-08-13T17:28:52Z</updated>
			<id>http://fluxbb.org/forums/post/13011/#p13011</id>
		</entry>
</feed>
