Pop-up a Message Dialog to Confirm an Action
6
This snippet also you to limit the input in a form field to a specified number of characters. It displays a counter so users can see how many characters they have left, and once they reach the limit the field just trims the length to your limit.
The following is a snippet from what I used when I implemented a tagboard to my site. Further revisions could/should read the LIMIT from the maxlength attribute
The following is a snippet from what I used when I implemented a tagboard to my site. Further revisions could/should read the LIMIT from the maxlength attribute
2
This code will get the application title and version information from the project options and display it in the titlebar automatically when the main form is created. The project options are accessed from the Delphi IDE by selecting Project -> Options from the main menu.
4
This bit of code will open up the http link in a new browser window. The link should be passed to the variable "HTML_File" as a string (as shown below).
5
This function will convert a Date (passed as type TDateTime) to a long-format Julian calendar date (result as type String).
2
This code return program directory.
9
This PHP class allows you to send SMS to almost every country directly from your website. All you need is an account on www.tm4b.com and PHP 5.
Also required is either cURL or allow_url_fopen enabled in php.ini
Also required is either cURL or allow_url_fopen enabled in php.ini
2
Simple, but fast implementation of the Naive Sub-String Search Algorithm with my own enhancements written in Delphi.
4
This perl subroutine uses the CPAN module Mail::Webmail::Gmail to iterate through a Gmail account searching for a particular string. If a match is found, the sender's name along with his/her email address, the subject, and the "blurb" is printed to standard out. Also, all messages found will be archived automatically within Gmail to clear the message from the inbox folder. The subroutine returns the number of messages found back to the calling environment.
Sample invocation: check_email(username, password);
By default, the subroutine will use encryption to connect to Gmail however, by setting encrypt_session to '0' will disable encryption.
Sample invocation: check_email(username, password);
By default, the subroutine will use encryption to connect to Gmail however, by setting encrypt_session to '0' will disable encryption.









