copy files from remote url – PHP

copy a file from a url into the directory where php file is located
allow-url-fopen has to be turned on. More >

[ Delphi ] – Delete all files within directory

{You have to FileListBox component on the form}
procedure TForm1.Button1Click(Sender: TObject);
var
  i: Integer;
begin
 More >

[ Delphi ] – Get the time zone

function GetTimeZone: string;
var
  TimeZone: TTimeZoneInformation;
begin
  GetTimeZoneInformation(TimeZone);
  Result := 'GMT ' + IntToStr(TimeZone.Bias div -60);
end; More >

[ Delphi ] – Check if the user uses 24 hour format

function Is24HourTimeFormat: Boolean;
var
  DefaultLCID: LCID;
begin
  DefaultLCID := GetThreadLocale;
  Result := 0 <>  More >

[ Delphi ] – Set the home page for the Internet Explorer

unit iphlp;

interface

uses Windows, System;

const
  MAX_HOSTNAME_LEN    = 128;

  MAX_DOMAIN_NAME_LEN = 128;
  MAX_SCOPE_ID_LEN    = 256;
type
  PIPAddressString = ^TIPAddressString;
  PIPMaskString    = ^TIPAddressString; More >