megashare.vn

Hàng đang về, mọi người có thể vào test thử ;)) giới hạn file upload là 10G =)) sướng nhá :))

rsync – what? how? why?

Hic, điên đầu. Sao ko tìm ra trang này sớm hơn, google index tệ quá :-j source: http://transamrit.net/docs/rsync/ This document is meant to very quickly show how one can get a basic rsync server set up in Linux. For further information on rsync, see the documentation page or contact me. I’d appreciate any feedback you … Read more

PHP script to Find out IP address

We can get the IP address of any visitor by using PHP. Finding the IP address is very important requirement for many scripts where we store the members or visitors details. For security reason we can store IP address of our visitors who are doing any purchases or recording the geographical location of the visitor … Read more

Installing BerkeleyDB, Apache & Subversion on Debian 3 (woody)

http://www.17od.com/2005/03/26/installing-berkeleydb-apache-subversion-on-debian-3-woody/ 26Mar05 Install Berkeley DB Go to http://www.sleepycat.com/download/index.shtml and download BerkeleyDB 4.2.52 Download the patches numbered like this patch.4.2.52.? Extract the BerkeleyDB compressed file Copy all the patch files into the base directory just extracted Apply the patches individually using…patch -p0 < [patchfile] cd into the build_unix directory in the extracted directory Run…../dist/configure Run…make Ensure … Read more

Tucan Manager – Ác như thú :-ss

=================== Description ========= – Tucan is a free and open source application designed for automatic management of downloads and uploads at hosting sites like: – http://rapidshare.com/ – http://megaupload.com/ – http://gigasize.com/ – http://mediafire.com/ – http://4shared.com/ – http://sendspace.com/ – (…) =================== Characteristics ========= – Written entirely in Python. – Graphical User Interface written in PyGTK (GTK+ toolkit). … Read more

To do

<?php $fp = fopen(“/tmp/lock.txt”, “w+”); if (flock($fp, LOCK_EX)) { // do an exclusive lock fwrite($fp, “Write something heren”); flock($fp, LOCK_UN); // release the lock } else { echo “Couldn’t lock the file !”; } fclose($fp); ?> http://us3.php.net/flock read – write Berkeley DB Response handling in response.c

Eureka

haha, tim ra roi, day chinh la cai minh can If you had such a site with lots of Flash files, how would you protect against hotlinking? lighttpd’s solution, applicable to any file type, is mod_secdownload. You write a function (examples in the link include PHP and Ruby) to generate a special URL, and the … Read more

Python on Series 60

Python ơi tao sẽ “riết” mày >:) bực mình với bạn Python này quá, rút cục thì cũng cài được, khụ khụ, Thực ra thì đơn giản, nhưng vì mình cài linh ta linh tinh lúc trước, đâm ra lúc sau nó bị loạn, đánh nhau tưng bừng chí chóe, ko cái nào chạy được … Read more

Hiển thị mã HTML trong PHP

Đại loại là dùng lệnh echo để in ra code html, ví dụ <b> Tôi có nhiều tiền </b>, nếu bình thường echo “<b>Tôi tiền</b>”; thì nó sẽ in ra Tôi tiền Các  bạn của tớ ko thích thế, các bạn ấy thích in ra nguyên là <b>Tôi tiền</b> cơ, vậy làm thế nào để? … Read more

vài nhận xét về Linkhay, Tagvn

1. Linkhay – Kiểm duyệt nội dung quá gắt gao, hơi nhạy cảm một chút là ẩn ngay, mà thực ra chưa nhạy cảm đã ẩn, có thể đưa ra vài ví dụ: http://www.tuoitre.com.vn/Tianyon/Index.aspx?ArticleID=318244&ChannelID=88 – link này mình gửi, lên hot rất nhanh, và cũng bị del (hoặc ẩn đi) rất nhanh http://bauxitevietnam.info/tulieu/090527_thudaituongvonguyengiap3.htm – link … Read more