HowtoForge provides user-friendly Linux tutorials.

  • Detailed Guide On Arrays In PHP

    Author: haroonTags: Comments: 14

    Detailed Guide On Arrays In PHP Here is yet another article of Fast PHP Articles Series. Today we are going to discuss ARRAYS. We will learn its syntax, its different types, the different built-in array functions that help to perform different tasks related to arrays quickly and different practical examples explaining the use of arrays in PHP.

  • .htaccess Based Authentication On Subdirectories

    Author: nayyaresTags: , Comments: 5

    .htaccess Based Authentication On Subdirectories .htaccess is used to provide facility of changing configuration per directory basis, this file can contain one or more directives that are going to be forced on the directory that contains the.htaccess file. In this howto, I will take a dummy scenario of two parallel level subdirectories and will implement password authentication on both of them. This means only those users can access these directories that have the correct username and password.

  • Install and Configure Auth Shadow on Debian/Ubuntu

    Author: ThanatosTags: , , , , Comments: 3

    Install and Configure Auth Shadow on Debian/Ubuntu Auth Shadow or mod-auth-shadow is a module for apache (and apache2, sort of) that enables authentication against /etc/shadow. The benefits being that any system user with a password can be authenticated for web_dav, subversion or simply an https server. The only other way to do this is with PAM. That method is dangerous because the apache user (www-data in my case) must be able to read /etc/shadow. Obviously, not a good idea. Auth Shadow accomplishes this safely by using a intermediate program called validate. This works because validate can be owned by root but executable by everyone. In the event that your server is compromised through apache, your password file will not be readable.

  • How To Set Up An IRC Server And Anope IRC Services

    Author: zcworldTags: , , Comments: 1

    How To Set Up An IRC Server And Anope IRC Services This tutorial describes how to set up and run an UnrealIRCD server on OpenSuSE 10.2 and Fedora Core 6. It also shows how to install Anope IRC services. Anope is a set of Services for IRC networks that allows users to manage their nicks and channels in a secure and efficient way, and administrators to manage their network with powerful tools.

  • Using A Sandisk MP3 Player On A Linux Desktop

    Author: tjhansonTags: , Comments: 18

    Using A Sandisk MP3 Player On A Linux Desktop This article shows how to use a Sandisk MP3 player (Sansa E250) on a Linux desktop. Now I can have all the tunes I want without dropping into Windows to manipulate them.

  • Loops In PHP

    Author: haroonTags: Comments: 0

    Loops In PHP There are certain conditions in which you need to execute the same block of code again and again. Here we can use Loops to write few lines which will print more output depending on our loops condition.

  • Back Up Linux And Windows Systems With BackupPC

    VMWare Image Download Author: Falko TimmeTags: Comments: 11

    Back Up Linux And Windows Systems With BackupPC This tutorial shows how you can back up Linux and Windows systems with BackupPC. BackupPC acts as a server and is installed on a Linux system, and from there it can connect to all Linux and Windows systems in your local network to back them up and restore them without interfering with the user's work on that system. On the clients minimal to no configuration is needed. BackupPC supports full and incremental backups, and it comes with a neat web frontend for the administrator and normal user so that backups and recoveries can be managed through a web browser. It should be noted, however, that BackupPC does file-based backups, not bit-wise backups like Ghost4Linux, for example, so it is not made for disk/partition imaging.

  • Decision Making Using PHP Switch Statement

    Author: haroonTags: , Comments: 0

    Decision Making Using PHP Switch Statement Today I am going to discuss Switch Statement. The basic concept of Switch is similar to the IF-ELSE statement; it helps you to write decision making code just like IF-ELSE but it is a little more organized, elegant and handy when dealing with complex logics as compare to IF-ELSE.

  • Setting Up A News-Voting Website With Pligg

    Author: Falko TimmeTags: , Comments: 2

    Setting Up A News-Voting Website With Pligg This article shows how to set up your own news-voting website with Pligg. Pligg is a content-management system published under the Affero General Public License, and it is written in PHP and uses a MySQL database for storing its data. With a little work you can create your own community and let users vote news to the front page.

  • Decision Making Using IF-ELSE In PHP

    Author: haroonTags: Comments: 2

    Decision Making Using IF-ELSE In PHP Today we are going to study the tools that will help you to write Decision Making Codes in php. For example, when you sign in to orkut.com you see a message ‘hello username’ on the upper right of every page. Similarly when you login to gmail if you provide wrong username or password you see an error message and if you submit accurate information you are taken to the inbox. If you think deep on these events, this is what we call ‘decision making code’. your write intelligent code that can make decision on user’s input and can act accordingly to the input to produce required output.