PHP Inside

Sunday, May 15, 2005

Sự khác biệt giữa require() và require_once()

require_once() cho phép đưa nội dung và thực hiện nội dung của file vào khi chạy file chứa lệnh. Nó cũng giống như require() nhưng khác là mã trong file mà đã được đưa vào rồi thì nó sẽ không đưa vào lại nữa.

require_once() nên dùng khi cùng một file có thể được đưa vào và đánh giá nhiều lần trong một lần chạy file chứa lệnh đó và bạn muốn đảm bảo rằng file đưa vào chỉ một lần nhằm tránh định nghĩa lại hàm, gán lại giá trị biến...

Tuesday, May 10, 2005

The second blog

Hi geeks,

I just created my second blog to write on PHP, the language I would like to learn and master. pcdinh will help me on this. pcdinh and I also use this blog to do more practice in English because our English is very poor. The language barrier make us difficult to express our ideas to the community. pcdinh and I can read and understand technical English and we get difficulty in express our thinking. That is a bad thing.

We will blog in PHP so we name this blog PHP Inside. It could be a meaning name, couldnt it?

Thanks for your interest and if we make a mistake in using English, please please let us know