PHP Script Tips - Reading and Writing Files PHP / File Operations
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.
Reading and Writing files in PHP PHP / File Operations
PHP follows almost same way of writing and manipulating files as in standard C. That is why it becomes so easy for a developer with C language background to create php application that uses files to save and retrieve data. It is a short tutorial that will get you started with writing and manipulating text files.
Working with Files in Php PHP / File Operations
Working with files is a basic necessity for programmers and PHP gives you a great facility for creating, uploading, and editing files. This section is completely dedicated to how PHP can interact with files. After completing this section you should have a solid understanding of all types of file manipulation in PHP.
Basic mySQL Queries And PHP PHP / Databases
This tutorial will help you get started in working with mySQL and PHP. It will assume that you have no prior experience in using mySQL with PHP before. After reading this tutorial, you should get an idea on what a database is, how to use it, and how to access it. You can then go ahead and start reading on the many more advanced topics regarding database systems.
Using Multiple Files in PHP Programming PHP / File Operations
A detailed explanation of the methods for making and using include files in PHP, as well as passing values between included and parent files without using global variables.
Customizing PHP Safe Mode PHP / Security
We'll guide you through using PHP safe_mode and how-to enable it and to customize it for certain sites on your server. When using PHP as an Apache module, you can also change the configuration settings using directives in Apache configuration files (e.g. httpd.conf) and .htaccess files. PHP safe_mode is very important to in terms of server security because it restricts and disables the dangerous functions in PHP from the scripts like PHP Shell that can otherwise cause damages to your server and client sites.
Introduction to PEAR PHP / PEAR
The PHP Extension and Application Repository (PEAR) brings this philosophy to PHP.Among other things, PEAR is a collection of reusable, open source code for use in PHP applications. The code is organized as a selection of files that act as wrappers giving convenient access to various PHP functions or extend PHP in some way. The files, collectively known as a "package," are easily obtained using the PEAR Package Manager.
Create excel files with php PHP / File Operations
Excel files are great for many things. It might though be a little bit tricky to generate them on the fly with php. Therefor I will guide you exactly how to do it, quick and simple.
Restricting External Access to .PHP Files PHP / Security
Sometimes, when you are writing your PHP script, you'll write Classes and Functions that you will use in your script in external files so that they might be included( ) or required( ) at any time. The same could be said about configuration files - You have certain settings in the form of variables in a external configuration file that you load in the different pages of your script so that they might be shared and edited with ease.
Basic mySQL Queries And PHP PHP / Databases
This tutorial will help you get started in working with mySQL and PHP. It will assume that you have no prior experience in using mySQL with PHP before. After reading this tutorial, you should get an idea on what a database is, how to use it, and how to access it.