Fedora 12 Setup and Configuration of Samba File Server

Posted by Shek on June 19, 2010 under Fedora 12, Linux | Read the First Comment

In this post, I will show you how to install Samba into Fedora 12
Read more of this article »

Write text into a text file with PHP

Posted by Shek on May 23, 2008 under PHP | Be the First to Comment

Database is to store data for future use, however we could also store string in a text file for future use. The way to do this is very simple, all we have to do is to use the PHP function fwrite() to write the string into the text file. I have created an example here to demonstrate how to do so.
Read more of this article »

Read one line of text from a text file with PHP

Posted by Shek on under PHP | Be the First to Comment

In some cases, rather than using the database to store data, you can also use a text file “.txt” to store a record. Maybe the record is a name, a number or a line of text. To read the line in the text file, I have create an example to show you how to do so:
Read more of this article »