Wednesday, 6 August 2014

Wordwrap in CS3 Html style

<?php
$t="LognTEXTLognTEXTLognTEXTLognTEXTLognTEXTLognTEXTLognTEXTLognTEXTLognTEXT";
echo "$t<br/>";
?>
<div style="width:100px;border:1px solid red;word-wrap: break-word;">
<?php echo $t; ?>
</div>

Times ago jQuery plugin

<script type='text/javascript' src="jquery.min.js"></script>
<script type='text/javascript' src="timeago/jquery.timeago.js"></script>
<script type='text/javascript'>
$(document).ready(function() {
$("abbr.timeago").timeago();
$("time.timeago").timeago();
});
</script>
<abbr class="timeago" title="July 17, 2008">6 years ago</abbr>

SMTP Host name by different mail server

Gmail: smtp.gmail.com
Yahoomail: smtp.mail.yahoo.com
Godaddy: relay-hosting.secureserver.net
Rediff: smtp.rediffmail.com