<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Agence de Développement Informatique du Nord &#187; Uncategorized</title>
	<atom:link href="http://blog.adin.pro/category/uncategorized/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.adin.pro</link>
	<description>Just another WordPress site</description>
	<lastBuildDate>Thu, 26 Dec 2019 08:54:31 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=4.1.1</generator>
	<item>
		<title>Magento &#8211; get client&#8217;s IP</title>
		<link>http://blog.adin.pro/2018-07-03/magento-get-clients-ip/</link>
		<comments>http://blog.adin.pro/2018-07-03/magento-get-clients-ip/#comments</comments>
		<pubDate>Tue, 03 Jul 2018 13:50:50 +0000</pubDate>
		<dc:creator><![CDATA[blogadmin]]></dc:creator>
				<category><![CDATA[Magento]]></category>
		<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[IP]]></category>

		<guid isPermaLink="false">http://blog.adin.pro/?p=569</guid>
		<description><![CDATA[<p>To get customer&#8217;s IP, behind a proxy or not, you can use this build in function in magento refers to lib/Zend/Controller/Request/Http.php</p>
<p>The post <a rel="nofollow" href="http://blog.adin.pro/2018-07-03/magento-get-clients-ip/">Magento &#8211; get client&#8217;s IP</a> appeared first on <a rel="nofollow" href="http://blog.adin.pro">Agence de Développement Informatique du Nord</a>.</p>
]]></description>
				<content:encoded><![CDATA[<p>To get customer&#8217;s IP, behind a proxy or not, you can use this build in function in magento</p>
<pre class="brush: php; title: ; notranslate">
 Mage::app()-&gt;getRequest()-&gt;getClientIp(true);
</pre>
<p>refers to lib/Zend/Controller/Request/Http.php</p>
<pre class="brush: php; title: ; notranslate">
 /**
     * Get the client's IP addres
     *
     * @param  boolean $checkProxy
     * @return string
     */
    public function getClientIp($checkProxy = true)
    {
        if ($checkProxy &amp;&amp; $this-&gt;getServer('HTTP_CLIENT_IP') != null) {
            $ip = $this-&gt;getServer('HTTP_CLIENT_IP');
        } else if ($checkProxy &amp;&amp; $this-&gt;getServer('HTTP_X_FORWARDED_FOR') != null) {
            $ip = $this-&gt;getServer('HTTP_X_FORWARDED_FOR');
        } else {
            $ip = $this-&gt;getServer('REMOTE_ADDR');
        }

        return $ip;
    }
</pre>
<p>The post <a rel="nofollow" href="http://blog.adin.pro/2018-07-03/magento-get-clients-ip/">Magento &#8211; get client&#8217;s IP</a> appeared first on <a rel="nofollow" href="http://blog.adin.pro">Agence de Développement Informatique du Nord</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.adin.pro/2018-07-03/magento-get-clients-ip/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Magento &#8211; create new table column from installer</title>
		<link>http://blog.adin.pro/2017-12-01/magento-create-new-table-column-from-installer/</link>
		<comments>http://blog.adin.pro/2017-12-01/magento-create-new-table-column-from-installer/#comments</comments>
		<pubDate>Fri, 01 Dec 2017 14:17:48 +0000</pubDate>
		<dc:creator><![CDATA[blogadmin]]></dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://blog.adin.pro/?p=544</guid>
		<description><![CDATA[<p>TO create a new table columnusing magento installer, you can use this method :</p>
<p>The post <a rel="nofollow" href="http://blog.adin.pro/2017-12-01/magento-create-new-table-column-from-installer/">Magento &#8211; create new table column from installer</a> appeared first on <a rel="nofollow" href="http://blog.adin.pro">Agence de Développement Informatique du Nord</a>.</p>
]]></description>
				<content:encoded><![CDATA[<p>TO create a new table columnusing magento installer, you can use this method :</p>
<pre class="brush: php; title: ; notranslate">
$installer = $this;
$connection = $installer-&gt;getConnection();
$installer-&gt;startSetup();
  if ($connection-&gt;tableColumnExists($this-&gt;getTable('adin/slider'), 'image_mobile') === false) {
        $installer-&gt;run(&quot;ALTER TABLE `{$installer-&gt;getTable('adin/slider')}` ADD COLUMN  `image_mobile` VARCHAR(255)  NOT NULL DEFAULT '' ;&quot;);
    }
$installer-&gt;endSetup();

</pre>
<p>The post <a rel="nofollow" href="http://blog.adin.pro/2017-12-01/magento-create-new-table-column-from-installer/">Magento &#8211; create new table column from installer</a> appeared first on <a rel="nofollow" href="http://blog.adin.pro">Agence de Développement Informatique du Nord</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.adin.pro/2017-12-01/magento-create-new-table-column-from-installer/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Gmail &amp; Our system has detected that this message does 550-5.7.1 not meet IPv6 sending guidelines regarding PTR records and 550-5.7.1 authentication.</title>
		<link>http://blog.adin.pro/2016-12-23/gmail-our-system-has-detected-that-this-message-does-550-5-7-1-not-meet-ipv6-sending-guidelines-regarding-ptr-records-and-550-5-7-1-authentication/</link>
		<comments>http://blog.adin.pro/2016-12-23/gmail-our-system-has-detected-that-this-message-does-550-5-7-1-not-meet-ipv6-sending-guidelines-regarding-ptr-records-and-550-5-7-1-authentication/#comments</comments>
		<pubDate>Fri, 23 Dec 2016 07:52:10 +0000</pubDate>
		<dc:creator><![CDATA[blogadmin]]></dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[gmail]]></category>
		<category><![CDATA[postfix]]></category>

		<guid isPermaLink="false">http://blog.adin.pro/?p=534</guid>
		<description><![CDATA[<p>Your webserver is sending emails but gmail refused them with this message : Dec 23 08:44:30 extranet postfix/smtp[24387]: F3443907: to=, relay=gmail-smtp-in.l.google.com[2a00:1450:400c:c06::1b]:25, delay=0.32, delays=0.02/0.01/0.19/0.11, dsn=5.7.1, status=bounced (host gmail-smtp-in.l.google.com[2a00:1450:400c:c06::1b] said: 550-5.7.1 [2001:41d0:1008:2b5a::] Our system has detected that this message does 550-5.7.1 not &#8230; <a href="http://blog.adin.pro/2016-12-23/gmail-our-system-has-detected-that-this-message-does-550-5-7-1-not-meet-ipv6-sending-guidelines-regarding-ptr-records-and-550-5-7-1-authentication/">Continue reading <span class="meta-nav">&#8594;</span></a></p>
<p>The post <a rel="nofollow" href="http://blog.adin.pro/2016-12-23/gmail-our-system-has-detected-that-this-message-does-550-5-7-1-not-meet-ipv6-sending-guidelines-regarding-ptr-records-and-550-5-7-1-authentication/">Gmail &#038; Our system has detected that this message does 550-5.7.1 not meet IPv6 sending guidelines regarding PTR records and 550-5.7.1 authentication.</a> appeared first on <a rel="nofollow" href="http://blog.adin.pro">Agence de Développement Informatique du Nord</a>.</p>
]]></description>
				<content:encoded><![CDATA[<p>Your webserver is sending emails but gmail refused them with this message :</p>
<p>Dec 23 08:44:30 extranet postfix/smtp[24387]: F3443907: to=<xxx@gmail.com>, relay=gmail-smtp-in.l.google.com[2a00:1450:400c:c06::1b]:25, delay=0.32, delays=0.02/0.01/0.19/0.11, dsn=5.7.1, status=bounced (host gmail-smtp-in.l.google.com[2a00:1450:400c:c06::1b] said: 550-5.7.1 [2001:41d0:1008:2b5a::] Our system has detected that this message does 550-5.7.1 not meet IPv6 sending guidelines regarding PTR records and 550-5.7.1 authentication. Please review 550-5.7.1  https://support.google.com/mail/?p=IPv6AuthError for more information 550 5.7.1 . 196si30999080wmg.139 &#8211; gsmtp (in reply to end of DATA command))</p>
<p>To fix it add this on your main.cf postfix configuration file :<br />
inet_protocols=ipv4</p>
<p>That&#8217;s all</p>
<p>The post <a rel="nofollow" href="http://blog.adin.pro/2016-12-23/gmail-our-system-has-detected-that-this-message-does-550-5-7-1-not-meet-ipv6-sending-guidelines-regarding-ptr-records-and-550-5-7-1-authentication/">Gmail &#038; Our system has detected that this message does 550-5.7.1 not meet IPv6 sending guidelines regarding PTR records and 550-5.7.1 authentication.</a> appeared first on <a rel="nofollow" href="http://blog.adin.pro">Agence de Développement Informatique du Nord</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.adin.pro/2016-12-23/gmail-our-system-has-detected-that-this-message-does-550-5-7-1-not-meet-ipv6-sending-guidelines-regarding-ptr-records-and-550-5-7-1-authentication/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
