Google Finance price Conversion API not working

Google Finance price Conversion API not working

 

Previous Working Code:
 https://www.google.com/finance/converter?a=400&from=INR&to=USD
$from_Currency = "INR";

$to_Currency = "USD";

$from_Currency = urlencode($from_Currency);

$to_Currency = urlencode($to_Currency);

$get = file_get_contents("https://www.google.com/finance/converter?a=$amount&from=" . $from_Currency . "&to=" . $to_Currency);




$get = explode("<span class=bld>",$get);

$get = explode("</span>",$get[1]);

$converted_amount = preg_replace("/[^0-9\.]/", null, $get[0]);



return round($converted_amount, 2);
But Now, this API is Not Working. Please Follow for Update. If you have the answer share with us. Please comment & share to the world.

How to Stop Date Picker Date change while using Google Translator

Stop Date Picker Date change while using Google Translator

 

In the Website, when  changing the language from English to other Language like swedish, chinese or any other language, the Date picker value is changing & showing like NaN/NaN/NaN.

But, the Datepicker format is mm/dd/yyyy

Solution:

For, these we have to find the Date picker container where date i showing. Then find the below classes added in that container,

ui-datepicker ui-widget ui-widget-content ui-helper-clearfix ui-corner-all

Then Add a new class with them, “notranslate”

ui-datepicker ui-widget ui-widget-content ui-helper-clearfix ui-corner-all notranslate

If Google find this class in the container, Google will not translate the content of the container.

keyword “notranslate” will prevent your calendar to translate.

We, can add class using this function, like

$(function() {
    $(".datepicker").datepicker();
    $('.ui-datepicker').addClass('notranslate');
});

 

If you like our post, Please Comment & share.

Share using Google Plus (Google+) in Php

#Share using Google Plus (Google+) in Php

$url = URL_OF_YOUR_SHARING_PAGE


<div class="gooogle-share" data-height="24" data-action="share" data-href="<?=$url; ?>" >

<a href="https://plus.google.com/share?url=<?=$url; ?>" 

   onclick="javascript:window.open(this.href,

  '', 'menubar=no,toolbar=no,resizable=yes,scrollbars=yes,height=600,width=600');return false;">

   <img src="https://www.gstatic.com/images/icons/gplus-64.png" alt="Share on Google+"/>
</a>

</div>

Read moreShare using Google Plus (Google+) in Php

HTTP Sites Will Mark “Not Secure” in Google Chrome 68 from July

# HTTP Sites Will Mark “Not Secure” in Google Chrome 68 from July
# Chrome will mark all HTTP sites as ‘not secure’ starting in July

Starting in July, Google Chrome will mark all HTTP sites as “not secure,” according to a blog by Chrome security product manager Emily Schechter. Chrome currently displays a neutral information icon, but starting with version 68, the browser will warn users with an extra notification in the address bar. Chrome currently marks HTTPS-encrypted sites with a green lock icon and “Secure” sign.

Google has been nudging users away from unencrypted sites for years, but this is the most forceful nudge yet. Google search began down-ranking unencrypted sites in 2015, and the following year, the Chrome team instituted a similar warning for unencrypted password fields.

The Chrome team said today’s announcement was mostly brought on by increased HTTPS adoption. Eighty-one of the top 100 sites on the web default to HTTPS, and a strong majority of Chrome traffic is already encrypted. “Based on the awesome rate that sites have been migrating to HTTPS and the strong trajectory through this year,” Schechter said, “we think that in July the balance will be tipped enough so that we can mark all HTTP sites.”

# Why HTTPS ??

HTTPS encryption protects the channel between your browser and the website you’re visiting, ensuring no one in the middle can tamper with the traffic or spy on what you’re doing. Without that encryption, someone with access to your router or ISP could intercept information sent to websites or inject malware into otherwise legitimate pages.

HTTPS has also become much easier to implement through automated services like Let’s Encrypt, giving sites even less of an excuse not to adopt it. As part of the same post, Google pointed to its own Lighthouse tool, which includes tools for migrating a website to HTTPS.

Resources:

 

Website Banned from AdSense?

IS YOUR WEBSITE BANNED BY ADSENSE?

Check to see if you have been Banned from Google!

AdSense Banned Check is a powerful set of tools that verifies if your website and/or domain has been banned by either the Google Search Engine or Google AdSense.  Keep in mind though, that this will not indicate if your personal AdSense account has, or has not been, banned from Google. It will let you know if your Website has been banned by Adsense. Website/domain verification is especially usefull when you plan on:
  • Checking if your site has been banned by AdSense.
  • Opening a new AdSense account.
  • Transfering your domain to a new name.
  • Selling your domain to someone new.
  • Researching if an existing domain has been banned by AdSense.
  • Checking to see if your competition has been banned.

Check to see if your website and/or domain is banned by both the Google Search Engine, and by Google AdSense, by entering your website name in the given website.  Be sure to check your site with ‘www’ in front, and without to see if either have been banned.

 

Also, don’t forget to check out the other services this site has to offer.
We hope you enjoy our tools!