April 2008
This brief tutorial will outline how to enable file sharing in Ubuntu.
Submitted by heshan on Mon, 04/21/2008 - 15:05- Sharing files and folders across your network from your Ubuntu PC is every bit as easy as sharing files in Windows (arguably, it’s easier). Start by right-clicking the folder you want to share, and select Share Folder. If the services required to share files/folders aren’t installed, you’ll be prompted to install them.
- After clicking Install services they will automatically start to download and install.
Split
Submitted by heshan on Fri, 04/18/2008 - 10:16A very useful function in Perl is split, which splits up a string and places it into an array. The function uses a regular expression and as usual works on the $_ variable unless otherwise specified. The split function is used like this:
Perl Functions A-Z
Submitted by heshan on Tue, 04/08/2008 - 22:10A
Tutorial on Threads in Perl
Submitted by heshan on Tue, 04/08/2008 - 13:40NAME
perlthrtut - tutorial on threads in Perl
how to use gmail to send emails using PHPMailer
Submitted by heshan on Sat, 04/05/2008 - 17:26How to use gmail to send emails using PHPMailer
1 Download PHPMailer from http://phpmailer.sourceforge.net
2 Extract to folder phpmailer
3 Create a file email.php
4 Paste this code and change the values in blue as you need (I modified the sample code given on the PHPMailer homepage)
IsSMTP(); // send via SMTP
$mail->SMTPAuth = true; // turn on SMTP authentication
$mail->Username = "username@gmail.com"; // SMTP username
$mail->Password = "password"; // SMTP password
$webmaster_email = "username@doamin.com"; //Reply to this email ID
$email="username@domain.com"; // Recipients email ID
$name="name"; // Recipient's name
$mail->From = $webmaster_email;
$mail->FromName = "Webmaster";
$mail->AddAddress($email,$name);
$mail->AddReplyTo($webmaster_email,"Webmaster");