Archive for Tháng Chín, 2008
Sets the opacity of an element and its children. Doesn’t validate. Mozilla began supporting the opacity rule in version 1.7, so ‘-moz-opacity’ may not be necessary… selector { filter: alpha(opacity=60); /* MSIE/PC */ -moz-opacity: 0.6; /* Mozilla 1.6 and older */ opacity: 0.6; } loadt2player(121)[ READ MORE ]
function showhide(e) { el = document.getElementById(e); el.style.display = el.style.display == "block" ? "none" : "block"; } loadt2player(119)[ READ MORE ]
function listImages($dirname=".") { $ext = array("jpg", "png", "jpeg", "gif"); $files = array(); if($handle = opendir($dirname)) { while(false !== ($file = readdir($handle))) for($i=0;$i<sizeof($ext);$i++) if(strstr($file, ".".$ext[$i])) $files[] = $file; closedir($handle); } return($files); } loadt2player(116)[ READ MORE ]
Có những lúc giật mình trong lúc ngủ. Anh vô tình bị kiến đốt vào mông. Anh chợt nhớ có một buổi chiều hồng. Anh cùng em lên đồi đón gió. Và ở đó giữa muôn trùng ngọn cỏ. Anh vô tình bị kiến đốt vào mông. loadt2player(113)[ READ MORE ]
function get_link_video_zing($url) { $data=file_get_contents($url); $parse=explode('video.php?sid=',$data); $parse=explode("', 'downloadwindown','",$parse[1]); $url = $parse[0]; $url = base64_decode($url); $url = "http://stc.video.zing.vn/file_uploads/video/".$url; return $url; } loadt2player(111)[ READ MORE ]
Cron Job/Linux và Scheduler/Window dùng để tạo một công việc lặp lại theo định kỳ. Ví dụ: chạy file sendmail.php định kỳ một ngày một lần Cách thực hiện: Host Linux, login vào cpanel cPanel> Cronjob > Standard Trong ô Command to run, nhập câu lệnh lynx –dump http://www.yourdomain.com/path_to/sendmail.php > /dev/null chọn chế độ định kỳ: theo phút,giờ,ngày, tuần,tháng Host Window, login vào cPanel(Plesk) của [ READ MORE ]
loadt2player(105)[ READ MORE ]
<?php $start = (float) array_sum(explode(' ',microtime())); // put you code that wanted to render at here $end = (float) array_sum(explode(' ',microtime())); echo "Processing time: ". sprintf("%.4f", ($end-$start))." seconds"; ?> loadt2player(103)[ READ MORE ]
$myFile = "testFile.txt"; $fh = fopen($myFile, 'w') or die("can't open file"); $stringData = "Bobby Boppern"; fwrite($fh, $stringData); $stringData = "Tracy Tannern"; fwrite($fh, $stringData); fclose($fh); loadt2player(101)[ READ MORE ]
<?php /************************************** seesaw associates | http://seesaw.net client: file: description: Copyright (C) 2008 Matt Kenefick(.com) **************************************/ class zipArch { /** * Unzip the source_file in the destination dir * * @param string The path to the ZIP-file. * @param string The path where the zipfile should be unpacked, if false the directory of the zip-file [ READ MORE ]
Bad Behavior has blocked 49 access attempts in the last 7 days.