<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[FrontAccounting forum — get_magic_quotes_gpc is depreciated in php version 7.0]]></title>
		<link>https://frontaccounting.com/punbb/viewtopic.php?id=8717</link>
		<atom:link href="https://frontaccounting.com/punbb/extern.php?action=feed&amp;tid=8717&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in get_magic_quotes_gpc is depreciated in php version 7.0.]]></description>
		<lastBuildDate>Tue, 31 Mar 2020 18:21:58 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: get_magic_quotes_gpc is depreciated in php version 7.0]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=37209#p37209</link>
			<description><![CDATA[<p>Links with information about get_magic_quotes_gpc()</p><p>https://www.php.net/manual/en/security.magicquotes.php<br />https://www.php.net/manual/en/function.get-magic-quotes-gpc.php</p><p>Regards.</p>]]></description>
			<author><![CDATA[null@example.com (cleal)]]></author>
			<pubDate>Tue, 31 Mar 2020 18:21:58 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=37209#p37209</guid>
		</item>
		<item>
			<title><![CDATA[Re: get_magic_quotes_gpc is depreciated in php version 7.0]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=37153#p37153</link>
			<description><![CDATA[<p>Let&#039;s get clients feedback before move on with it. I heard it was no more and no further alternative to use it.</p>]]></description>
			<author><![CDATA[null@example.com (kvvaradha)]]></author>
			<pubDate>Wed, 18 Mar 2020 09:44:48 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=37153#p37153</guid>
		</item>
		<item>
			<title><![CDATA[Re: get_magic_quotes_gpc is depreciated in php version 7.0]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=37152#p37152</link>
			<description><![CDATA[<p>This seems to be the way to do it. Have just consulted Janusz about it. Awaiting his comment.</p><p>Joe</p>]]></description>
			<author><![CDATA[null@example.com (joe)]]></author>
			<pubDate>Wed, 18 Mar 2020 06:05:16 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=37152#p37152</guid>
		</item>
		<item>
			<title><![CDATA[Re: get_magic_quotes_gpc is depreciated in php version 7.0]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=37146#p37146</link>
			<description><![CDATA[<p>Hello, </p><p>Your PHP version must be 7.4. From this version the get_magic_quotes_gpc was deprecated. And there is no alternative to use it. So lets take out the code and make it work on. This function available inside <strong>session.inc</strong> and <strong>isession.inc</strong>.</p><div class="codebox"><pre><code>function strip_quotes($data)
{
    if(get_magic_quotes_gpc()) {
        if(is_array($data)) {
            foreach($data as $k =&gt; $v) {
                $data[$k] = strip_quotes($data[$k]);
            }
            return $data;
        } else
            return stripslashes($data);
    }
   
}</code></pre></div><p>And just remove the if condition like this </p><div class="codebox"><pre><code>function strip_quotes($data)
{
        if(is_array($data)) {
            foreach($data as $k =&gt; $v) {
                $data[$k] = strip_quotes($data[$k]);
            }
           return $data;
        } else
            return stripslashes($data);
    
    
}</code></pre></div><p>.</p><p>Hope it will fix your problem to work on.&nbsp; if its fixed just reply to this conversation, @joe will update to the core.</p>]]></description>
			<author><![CDATA[null@example.com (kvvaradha)]]></author>
			<pubDate>Tue, 17 Mar 2020 16:24:05 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=37146#p37146</guid>
		</item>
		<item>
			<title><![CDATA[get_magic_quotes_gpc is depreciated in php version 7.0]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=37144#p37144</link>
			<description><![CDATA[<p>Hi Experts,</p><p>while upgrading the php version from 5.6 to 7.0 it is giving error get_magic_quotes_gpc is depreciated.</p><p>Regards,<br />Zia</p>]]></description>
			<author><![CDATA[null@example.com (zia)]]></author>
			<pubDate>Mon, 16 Mar 2020 12:00:02 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=37144#p37144</guid>
		</item>
	</channel>
</rss>
