http://misoblog.net/joomla/6-extension-huu-ich-doi-voi-blog-joomla.html
http://misoblog.net/joomla/facebook-like-button-for-joomla.html
http://misoblog.net/joomla/chong-hotlink-bang-htaccess-trong-joomla.html
http://misoblog.net/joomla/cai-dat-va-su-dung-sh404sef-voi-joomla.html
http://misoblog.net/joomla/show-tabs-in-virtuemart-product-detail.html
http://misoblog.net/joomla/tich-hop-joomla-va-phpbb.html
http://misoblog.net/joomla/cai-dat-sitemap-cho-joomla-bang-xmap.html
Có thể tôi không phải là người bạn cảm thấy yêu thương nhưng tôi cũng xin cảm ơn vì bạn đã có mặt trên đời và cho tôi biết rằng được yêu thương ai đó là điều hạnh phúc
Thứ Tư, 16 tháng 11, 2011
Thứ Bảy, 12 tháng 11, 2011
PHP: RSS Parser, Reader
<?php
function RSSreader($url)
{
//original author :?
// modifications and code rewrite: Femi Hasani [www.vision.to]
// added remove images and add "nofollow" attribute to content links
// added CSS classes
// added unhtmletnities
function RSSreader($url)
{
//original author :?
// modifications and code rewrite: Femi Hasani [www.vision.to]
// added remove images and add "nofollow" attribute to content links
// added CSS classes
// added unhtmletnities
PHP: Date add day
$date = date("Y-m-d");// current
date$date = strtotime(date("Y-m-d", strtotime($date)) . " +1 day");
$date = strtotime(date("Y-m-d", strtotime($date)) . " +1 week");
$date = strtotime(date("Y-m-d", strtotime($date)) . " +2 week");
$date = strtotime(date("Y-m-d", strtotime($date)) . " +1 month");
$date = strtotime(date("Y-m-d", strtotime($date)) . " +30 days");
(http://www.vision.to/how-to-add-days-weeks-months-to-any-date-.php)
Thứ Tư, 2 tháng 11, 2011
ASP: Check Email
Function IsValidEmail(myEmail)
dim isValidE
dim regEx
isValidE = True
set regEx = New RegExp
regEx.IgnoreCase = False
regEx.Pattern = "^[a-zA-Z][\w\.-]*[a-zA-Z0-9]@[a-zA-Z0-9][\w\.-]*[a-zA-Z0-9]\.[a-zA-Z][a-zA-Z\.]*[a-zA-Z]$"
isValidE = regEx.Test(myEmail)
isValidEmail = isValidE
End Function
(http://www.codekeep.net/snippets/67a731c5-6499-4c78-a726-1dd85e4fc433.aspx)
Thứ Ba, 1 tháng 11, 2011
setTimeout & setInterval
setTimeout ( expression, time );
var timeoutId = setTimeout ( expression, time );
clearTimeout ( timeoutId );
setInterval ( expression, time );
var intervalId = setInterval ( expression, time );
clearInterval(intervalId)
Note:
- setTimeout: run one times
- setInterval: loop until call clearInterval
Đăng ký:
Bài đăng (Atom)