| Page 1 | Page 2 | Page 3 | Page 4 |

getIP method

Check getIP function, your ip is:
34.239.150.167

ipToGeo method

Check ipToGeo function, data from your IP address 34.239.150.167:
Array
(
    [Hostname] => host189-110-46-89.serverdedicati.aruba.it
    [IP Address] => 89.46.110.189
    [Country] => Italy
    [Country Code] => IT ()
    [Region] => Toscana
    [City] => Arezzo
    [Postal Code] => 52100
    [Latitude] => 43.461390
    [Longitude] => 11.876910
)

copyFile method

Check copyFile function, copy my avatar from codecanyon on my server:
ok (local file on barattalo.it)

checkMp3 method

Check if url http://www.artintent.it/Kalimba.mp3 is an mp3:
false
Check if url https://www.barattalo.it/file_example_MP3_700KB.mp3 is an mp3:
true

doShortUrl method

Try to make a short url from http://www.dailybest.it/2013/03/05/vita-programmatore-gif-animate/
Short:
https://tinyurl.com/p5u8fjz

doShortURLDecode method

Short url decode from https://tinyurl.com/p5u8fjz:
https://tinyurl.com/p5u8fjz

doSpelling method

Make spell check for word wikipezia:
wikipedia

getLatLong method

Retrieve coordinates for address: piazza cadorna, milano, italy
needed auth key, register for free on geocode.xyz
Please use interactive demo here

getLatLongBis method

Retrieve coordinates for address: piazza cadorna, milano, italy
needed auth token, register for free on locationiq.com
Please use interactive demo here

getUrlInfo method

Get info on https://www.dailybest.it/ambiente/come-adottare-una-mucca-a-distanza-e-vivere-felici/
Array
(
    [favicon] => https://s3-eu-west-1.amazonaws.com/dailybestpubblici/wp-content/uploads/2018/04/cropped-favicon-dailybest-azzurro-180x180.png
    [images] => Array
        (
            [0] => stdClass Object
                (
                    [@id] => https://www.dailybest.it/ambiente/come-adottare-una-mucca-a-distanza-e-vivere-felici/#primaryimage
                )

            [1] => stdClass Object
                (
                    [@type] => ImageObject
                    [inLanguage] => it-IT
                    [@id] => https://www.dailybest.it/#/schema/person/image/
                    [url] => https://secure.gravatar.com/avatar/79d60e50826de0e8ed13a3af9621177d?s=96&d=retro&r=g
                    [contentUrl] => https://secure.gravatar.com/avatar/79d60e50826de0e8ed13a3af9621177d?s=96&d=retro&r=g
                    [caption] => Raffaele Portofino
                )

            [2] => https://s3-eu-west-1.amazonaws.com/dailybestpubblici/wp-content/uploads/2020/05/cow-3365146_960_720.jpg
            [3] => https://s3-eu-west-1.amazonaws.com/dailybestpubblici/wp-content/uploads/2020/05/mucca-680x502.jpg
            [4] => https://s3-eu-west-1.amazonaws.com/dailybestpubblici/wp-content/uploads/2020/05/cow-3365146_960_720.jpg
        )

    [domain] => www.dailybest.it
    [title] => Come adottare una mucca a distanza e vivere felici
    [lastmodified] => 
    [description] => La Cooperativa Peralba di Costalta della provincia di Belluno, offre la possibilità di adottare a distanza una mucca e ricevere mensilmente burro e formaggio
    [price] => 
)

getVideoUrlInfo method

Get info on Vimeo video https://vimeo.com/75976293
Array
(
    [title] => AWAKEN 4K
    [description] => Fort Myers and Sanibel  INSTRAGM: @CAMERONMICHAEL DIRECTOR/DP/PRODUCER- CAMERON MICHAEL  COMPOSER: CHARLIE WAN  www.charliewan.com FACEBOOK: https://www.facebook.com/pages/Cameron-Michael-Productions/160014703460…
    [thumb] => 
    [viewCount] => 
)
Get info on Youtube video https://www.youtube.com/watch?v=KUVlrdfKowk
Array
(
    [title] => Lavoratooooooooori - YouTube
    [description] => Non sapete che mettere di carino nell 'out of office quando andate in ferie?? Ecco...
    [thumb] => https://img.youtube.com/vi/KUVlrdfKowk/1.jpg
    [viewCount] => 469703
)

getVimeoInfo method

Get extended info on Vimeo video ID 75976293

googleSuggestKeywords method

Get keyword suggesta from Google with berlusconi
Array
(
    [0] => berlusconi
    [1] => berlusconi market
    [2] => berlusconi età
    [3] => berlusconi bandana
    [4] => berlusconi francobollo
    [5] => berlusconi patrimonio
    [6] => berlusconi giovane
    [7] => berlusconi altezza
    [8] => berlusconi milan
    [9] => berlusconi da giovane
)

readFacebookCounters method

Get Facebook counters for https://www.dailybest.it/society/vita-programmatore-gif-animate/
Array
(
    [error] => You need an appid and appsecret to get data
)
(Should be greater than 1)

readTwitterCounter method

Get number of times the url https://www.dailybest.it/society/vita-programmatore-gif-animate/ has been twitted
0

wikiDefinition method

Get Wikipedia definition for Barack Obama
stdClass Object
(
    [type] => standard
    [title] => Barack Obama
    [displaytitle] => Barack Obama
    [namespace] => stdClass Object
        (
            [id] => 0
            [text] => 
        )

    [wikibase_item] => Q76
    [titles] => stdClass Object
        (
            [canonical] => Barack_Obama
            [normalized] => Barack Obama
            [display] => Barack Obama
        )

    [pageid] => 534366
    [thumbnail] => stdClass Object
        (
            [source] => https://upload.wikimedia.org/wikipedia/commons/thumb/8/8d/President_Barack_Obama.jpg/320px-President_Barack_Obama.jpg
            [width] => 320
            [height] => 400
        )

    [originalimage] => stdClass Object
        (
            [source] => https://upload.wikimedia.org/wikipedia/commons/8/8d/President_Barack_Obama.jpg
            [width] => 2687
            [height] => 3356
        )

    [lang] => en
    [dir] => ltr
    [revision] => 1249338132
    [tid] => 7a20ca21-8248-11ef-a19c-4337d0aa523d
    [timestamp] => 2024-10-04T12:02:07Z
    [description] => President of the United States from 2009 to 2017
    [description_source] => local
    [content_urls] => stdClass Object
        (
            [desktop] => stdClass Object
                (
                    [page] => https://en.wikipedia.org/wiki/Barack_Obama
                    [revisions] => https://en.wikipedia.org/wiki/Barack_Obama?action=history
                    [edit] => https://en.wikipedia.org/wiki/Barack_Obama?action=edit
                    [talk] => https://en.wikipedia.org/wiki/Talk:Barack_Obama
                )

            [mobile] => stdClass Object
                (
                    [page] => https://en.m.wikipedia.org/wiki/Barack_Obama
                    [revisions] => https://en.m.wikipedia.org/wiki/Special:History/Barack_Obama
                    [edit] => https://en.m.wikipedia.org/wiki/Barack_Obama?action=edit
                    [talk] => https://en.m.wikipedia.org/wiki/Talk:Barack_Obama
                )

        )

    [extract] => Barack Hussein Obama II is an American politician who served as the 44th president of the United States from 2009 to 2017. As a member of the Democratic Party, he was the first African-American president in U.S. history. Obama previously served as a U.S. senator representing Illinois from 2005 to 2008 and as an Illinois state senator from 1997 to 2004.
    [extract_html] => 

Barack Hussein Obama II is an American politician who served as the 44th president of the United States from 2009 to 2017. As a member of the Democratic Party, he was the first African-American president in U.S. history. Obama previously served as a U.S. senator representing Illinois from 2005 to 2008 and as an Illinois state senator from 1997 to 2004.

[url] => https://en.wikipedia.org/wiki/Barack_Obama )

url_exists method

Check if a remote url exists for https://en.wikipedia.org/wiki/Barack_Obama
true
Check https://en.wikipedia.org/wiki/Barack_Obama2 (wrong)
false

doSMTPValidation method

Check if an email exists pons@rockit.it
Checking server ASPMX.L.GOOGLE.COM...
Checking server ALT2.ASPMX.L.GOOGLE.COM...
Checking server ALT1.ASPMX.L.GOOGLE.COM...
Checking server ALT3.ASPMX.L.GOOGLE.COM...
Checking server ALT4.ASPMX.L.GOOGLE.COM...
Array
(
    [0] => None of the mailservers listed for rockit.it could be contacted
    [1] => 0
)