Cách dễ nhất và nhanh nhất để tạo localhost, test tiếc nghịch ngợm chính là dùng easyphp, gọn nhẹ, hơn xampp là cái chắc ) đơn giản, dễ dàng. Nhưng trên bản 64bit nó dở chứng ầm ĩ ko dùng dc, hôm nọ cài apache rồi php mệt quá, hnay cài thêm mysql nhưng khổ quá, may tìm ra cái này, chiếm luôn )
Continue Reading–203 words totally
$str = “home::khanhpt::test.tar.gz”;
$data = explode(“::”,$str);
$data[0] = “root”;
Continue Reading–78 words totally
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 can be done this way. Some time based on the IP address we can redirect the browser to different areas of the site. There are many applications using this and here is the PHP code to know the IP address of any visitor to the site.
Continue Reading–31 words totally
Đạ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 để? Mà ko hiểu sao các bạn hỏi vụ này làm gì nhỉ, hôm qua 1 người hỏi, hôm nay lại một bạn nữa hỏi )
Continue Reading–214 words totally