News

Functions

Set SMTP port for the email functions to work

Jum`at, 10 Juni 2011
The PHP programming language has built-in e-mail functions that allow you to send e-mail messages. If your PHP server is running on the Windows platform, set the Simple Mail Transfer Protocol (SMTP) port for the e-mail functions to work. SMTP is an Internet standard used for e-mail exchange. The SMTP port is a logical data connection that allows the PHP software to communicate directly with the e-mail service. Specify this port manually to avoid PHP errors.   &nbs...

Make JavaScript using the functions setTimeout

Selasa, 7 Juni 2011
It is very easy to time events in JavaScript by using the functions setTimeout() and clearTimeout(), where a section of code may be executed after a period of time has elapsed. The JavaScript function "setTimeout()" has two arguments: a string containing a JavaScript statement, which can be either a JavaScript command or a call to a function, and an integer value, which is used to set the time period in milliseconds. The function returns an integer "id." Instructions : 1. Ope...