Have a Snippet?

Keep, track and share your code snippets with your friends

KARPOLAN


User Avatar

33

Location:
Website:
Has joined us: 10th May 2013, 23:12
Last visit: 4th June 2013, 16:22
Profile views: 287



Delphi: Delay without blocking of the main thread Share on Vkontakte

Function delays program logic execution for a number of miliseconds, The GUI and Windows messages will continue to work. ... Reveal Code


Delphi: Version of EXE or DLL file Share on Vkontakte

Function returns version of Exe/Dll file as "1.2.3.4" string ... Reveal Code


PHP: Force the browser to download the file Share on Vkontakte

Force the browser to download the file instead of opening it ... Reveal Code


PHP: Determination of the country by IP Share on Vkontakte

Determination of the country by IP using geoplugin.net OR ipinfodb.com. Will return the country code in "Alpha-2 ISO 3166-1" format (a two-char code) ... Reveal Code