New Scripts | PHP | Tutorials & Tips
Open/Read/Write files for beginners
posted byJosebaBinFile Manipulation
Learn how to perform simple task with files: open, read and write. Check the different commands you may use. Learn to use compressed files (.gz) to save time. An example is included to record IPs and referrers of our page.
Reviews0
PriceFree
Views2484
PHP tutorial: Using arrays
posted byJosebaBinMiscellaneous
This tutorial will start introducing the array concept by creating them from info in a table. It will be shown how to display data from the array. Two additional examples will be used to show how to create arrays from strings, and how to perform simple keyword searches.
Reviews0
PriceFree
Views1463
PHP Script Tips - Creating Your Own Functions
posted bykarl_viinDevelopment
A collection of 19 tips on creating your own PHP functions. Clear answers are provided with tutorial exercises on defining functions, defining arguments, passing references, returning references, argument default values, etc. Special topics are:
How To Pass Variables By References?
How Arrays Are Passed Through Arguments?
How To Pass Arrays By References?
How To Return an Array from a Function?
What Is the Scope of a Variable Defined in a Function?
How To Access a Global Variable inside a Function?
How To Return a Reference from a Function?
How To Specify Argument Default Values?
How To Define a Function with Any Number of Arguments?
Reviews0
PriceFree
Views2025
PHP Script Tips - Reading and Writing Files
posted bykarl_viinFile Manipulation
A collection of 14 tips on PHP functions on file input and output. Clear answers are provided with tutorial exercises on opening files for reading and writing, appending data to existing files, reading file by line or character, reading file in binary mode. Special topics are:
How To Append New Data to the End of a File?
How To Read One Character from a File?
How To Read a File in Binary Mode?
How To Read Data from Keyborad (Standard Input)?
How To Open Standard Output as a File Handle?
Reviews0
PriceFree
Views2696
PHP Script Tips - PHP Built-in Functions for Arrays
posted bykarl_viinDevelopment
A collection of 19 tips on PHP functions on arrays. Clear answers are provided with tutorial exercises on searching keys and values, sorting arrays, merging two arrays, looping on array elements, expanding and truncating arrays. Special topics are:
How Do You If a Key Is Defined in an Array?
How To Sort an Array by Values?
How To Join a List of Keys with a List of Values into an Array?
How To Merge Values of Two Arrays into a Single Array?
How To Use an Array as a Queue?
How To Pad an Array with the Same Value Multiple Times?
Reviews0
PriceFree
Views1592
Count Words from a string with PHP
posted byreconninMiscellaneous
Learn how to count the words from a string using php.
Reviews0
PriceFree
Views1452
PHP Create Image Thumbnail
posted byreconninImage Manipulation
In this tutorial you will learn how to generate thumbnails from form uploaded images using GD php image library. The image ratio is maintained, so the thumbnail images will not be deformed. An image verification is performed before uploading and the image size is verified.
Reviews1
PriceFree
Views4100
Installing Apache with PHP,MySQL on Windows 9x/2000/XP
posted byreconninInstalling PHP
Nice and Clean Tutorial to install Apache, PHP, MySQL on Windows Computers in 8 Steps. After installing every component, a test is made to check if you properly installed the component. Download links are given of all Apache, PHP and MySQL. In the end is a script to test MySQL installation with PHP and MySQL.
Reviews0
PriceFree
Views2268
PHP Form Image Upload
posted byreconninFile Manipulation
This tutorial shows you how to upload an image on your server using PHP and html forms. You will also learn how to verify if the uploaded file is an image (checking the extension), if it doesn't overtakes a size limit and how to change the uploaded file name.
Reviews1
PriceFree
Views7705
Random image
posted byreconninRandomizing
This is a tutorial that will show you how to create the simplest banner rotate system. The images are stored in a folder and are randomly displayed.
Reviews0
PriceFree
Views3235
PHP Form image verification
When you build a form in your web page, you are susceptible to being spamed by automated systems. In order to make sure that the one who completes the form is human, you can use the system with image verification.
Reviews1
PriceFree
Views12056
Redirect users by browser language
posted bycagedflameinRedirection
Give a professional touch to your site learing how to redirect your website users basing the choice on the language that is set in the browser.
Reviews0
PriceFree
Views2605
Working with PHP5 Class Types
posted byphpfiveinDevelopment
This article is intended for experienced PHP programmers interested in exploring PHP 5's support for working with class types through argument hinting, abstract classes and interfaces. Basic knowledge of object-oriented programming, including the anatomy of a class and the mechanics of inheritance, is assumed.
Reviews0
PriceFree
Views1779
Pseudo-random PHP functions
posted byphpfiveinRandomizing
This article introduces PHP's pseudo-random functions to the reader and explains the difference between a pseudo-random and a truly random number.
Reviews0
PriceFree
Views1354
How to install Php Nuke
posted bywtricksinContent Management
This is a short tutorial to help people understand how to easily install phpNuke. There are some issues that would arise on installation and this article is trying to explain them.
Reviews0
PriceFree
Views2773
Compiling PHP and Apache 2 from source on Linux OS
posted byssrupraiinInstalling PHP
This article will provide beginners and others new to Apache 2 and PHP compilation, detailed information about how to compile PHP and Apache 2 on Linux system. It should work on all Unix like OS. Even if you just want to learn how to compile software from source on Linux like OS, this article will provide enough information to get you started. After reading this article any person, who hasn't yet compiled any software from source, will be able to compile and run PHP and Apache on his Linux Machine.
Reviews0
PriceFree
Views1576
Simple php/mysql guestbook tutorial
posted bywebmasterinGuestbooks
This is a very simple guestbook tutorial consisting of how to write an html form, get the form to insert data in mysql and then displaying the form with a basic mysql query. The result is a simple guestbook which just displays the name and a comment of the visitor.
Reviews0
PriceFree
Views9148
Website Tracking And Statistics
posted bywarkiorinWeb Traffic Analysis
A key component in building and maintaining a successful website is the ability to keep track of how many visitors are coming to your website. You want to know where they are coming from, and which pages they are looking at and finding most useful.
This tutorial will guide you through the essentials of what to look for in a website statistics tracking application.
Reviews0
PriceFree
Views2726
Form Mail
posted byfarooqaaainEmail Systems
This is a detailed tutorial on Sending Email using Forms, in this tutorial you will also learn about alot of Php elements. And other kinda things.
Reviews0
PriceFree
Views5393
Simple Counter Tutorial
This is just a Simple Counter, Try this counter first and hope you will make some professional ones after it by trying some other good Counter tutorials.
Reviews0
PriceFree
Views3698