Programming

Want to support HowtoForge? Become a subscriber!
 

Loops In PHP

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.

Decision Making Using PHP Switch Statement

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

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

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.

Operators In PHP

Operators In PHP

This article is the second of a series of PHP guides that aim at teaching you the basics of PHP programming.

PHP Programming Basics

PHP Programming Basics

This article is the first of a series of PHP guides that aim at teaching you the basics of PHP programming.

How To Automatically Scan Uploaded Files For Viruses With php-clamavlib

How To Automatically Scan Uploaded Files For Viruses With php-clamavlib

This guide describes how you can automatically scan files uploaded by users through a web form on your server using PHP and ClamAV. That way you can make sure that your upload form will not be abused to distribute malware. To glue PHP and ClamAV, we install the package php5-clamavlib/php4-clamavlib which is rather undocumented at this time. That package is available for Debian Etch and Sid and also for Ubuntu Dapper Drake and Edgy Eft, so make sure you use one of these platforms.

How To Set Up A Ubuntu/Debian LAMP Server

How To Set Up A Ubuntu/Debian  LAMP Server

This tutorial shows a quick way to set up your own LAMP server (Linux + Apache + MySQL + PHP/Perl)  on a Ubuntu or Debian system.

Building Apache with PHP, MySQL, OCI8 instant client support

Building Apache with PHP, MySQL, OCI8 instant client support

There are many howtos on building Apache with PHP, MYSQL support, but it is very rare to find some document on OCI8 support with Apache Build, recently I was building a web server in my data center and I was really in trouble when I was searching some installation document, there are few documents , but most of them are using either RPM version of packages or they are missing some of the essential steps. I am trying to write a howto that will help you to at least understand the installation with step-by-step method.

How To Set Up suPHP With PHP4 And PHP5

How To Set Up suPHP With PHP4 And PHP5

This tutorial shows how to install and use suPHP with PHP4 and PHP5. suPHP is a tool for executing PHP scripts with the permissions of their owners instead of the Apache user. With the help of suPHP you can also have PHP4 and PHP5 installed at the same time which I will describe at the end of this article.

suPHP integrates into Apache2 as a module. At the time of this writing it does work with Apache2 prior to version 2.2. Version 2.2 is not supported yet.

first page
previous page
...
23
next page
last page