Windows Server 2008 setup task scheduler

Step 1: Go to administrative tools, task scheduler.   Step 2: Then right-click on Task Scheduler and select Create Task   Step 3: Name the task, in this example “Reboot Weekly Saturday 2am”   Step 4: Change settings to run whether the user is logged in or not. Change User/Group and type in SYSTEM. On

How To Fix Warning: date() [function.date] In PHP

If you have encountered the following warning message at least once while running your web server, you can solve the issue but simply adding a line of code. Warning: date() [function.date]: It is not safe to rely on the system’s timezone settings. Please use the date.timezone setting, the TZ environment variable or the date_default_timezone_set()function. ‘In

How to send mail using ASP?

To send a message from your domain via ASP, here is a sample code. Assume that: Domain name: abc.com.my Mail server Host-name: mail.abc.com.my E-mail account: user1@abc.com.my password: pass4567 <% Dim objMessage Set objMessage = Server.CreateObject(“CDO.Message”) With objMessage.Configuration.Fields ‘Send the message using the network (SMTP over the network). .Item(“http://schemas.microsoft.com/cdo/configuration/sendusing”) = 2 .Item(“http://schemas.microsoft.com/cdo/configuration/smtpserver”) = “mail.abc.com.my” .Item(“http://schemas.microsoft.com/cdo/configuration/smtpserverport”) =

WordPress Attacks Prevention and Content Protection

ATTACKS PREVENTION It is strongly recommended to have a comprehensive security plugin to be installed in your WordPress. There are many plugins out there, but one of the most preferred plugins is the iThemes Security, which can be downloaded from here: https://wordpress.org/plugins/better-wp-security/ iThemes Security is one of the most user-friendly security plugins in the market. It does more

How to turn off brute force notification for DirectAdmin control panel

The trigger of the brute_force_notice_ip.sh only happens with notices, DirectAdmin has an option to prevent the sending of the notices, but still call the scripts normally to block the IP. 1 – SSH into the server using root access, then type the command as below: echo “hide_brute_force_notifications=1” >> /usr/local/directadmin/conf/directadmin.conf 2 – Restart DirectAdmin service to

Generating a CSR with Direct Admin Control Panel

1. First login to Directadmin Control panel   2.  Click underneath  Advanced Features on SSL Certificates. 3. Select the option ‘Create a Certificate Request‘ and enter all requested information, when you are done click Save. 4. Select and copy the Information you see in the text box (just the Certificate Request part). It is important that you make a

Disable Avatar in Smartermail Print

You can hide the email header avatars when printing by entering the following code in the Custom CSS section of your Personalization settings. Just log in as the System Admin and go to Settings > Personalization > Custom CSS tab. @media print { .PreviewHeader > .photo { display:none; }} This will hide the avatars only

How to add your domain into DirectAdmin?

1.    Login to your DirectAdmin with the user login account.   2.    You will see a “Domain Setup” link below. Click on it.   3.    In here, you will have a list of all of the domain names that you had added into this account.   4.    If you intended to add another domain name,