PHP Tutorials

Q

Where to find tutorials on PHP language? I want to know how to learn PHP.

✍: FYIcenter.com

A

Here is a large collection of tutorials to answer many frequently asked questions compiled by FYIcenter.com team about PHP language:

Downloading and Installing PHP

Installing PHP for Windows

Verifying PHP Installation

PHP Configuration Setting File

Running a PHP Script

Understanding PHP String Literals and Operations

Escape Sequences in Single-Quoted Strings in PHP

"new line" Character in Single-Quoted Strings in PHP

Special Characters in Double-Quoted Strings in PHP

Escape Sequences in Double-Quoted Strings in PHP

Including Variables in Double-Quoted Strings in PHP

Ways to Include Variables in Double-Quoted Strings in PHP

Including Array Elements in Double-Quoted Strings in PHP

Accessing a Specific Character in String in PHP

Assigning a New Character in a String in PHP

Concatenating Two Strings in PHP

Comparing Two Strings in PHP

Converting Numbers to Strings in PHP

Converting Strings to Numbers in PHP

PHP Built-in Functions for Strings

Counting the Number of Characters in PHP

Ways to Remove Leading and Trailing White Spaces in PHP

Remove Trailing New Line Character in PHP

Removing Leading and Trailing Spaces in PHP

Finding a Substring in PHP

Testing the strpos() Return Value in PHP

Taking a Substring in PHP

Replacing a Substring in PHP

Reformatting a Paragraph of Text in PHP

Converting Strings to Upper/Lower Case in PHP

Converting Leading Characters to Upper Case in PHP

Comparing Two Strings with strcmp() in PHP

Converting Strings to Hex Numbers in PHP

Generating Character from ASCII Value in PHP

Converting Character to ASCII Value in PHP

Splitting a String in PHP

Joining Multiple Strings in PHP

Applying UUEncode to a String in PHP

Replacing Characters in a String in PHP

Understanding PHP Arrays and Their Basic Operations

What Is an Array in PHP

Creating an Array in PHP

Testing If a Variable Is an Array in PHP

Retrieving Values out of an Array in PHP

Data Types of Array Keys in PHP

Index of Array Values in PHP

Adding Values to an Array without Keys in PHP

Copying an Array in PHP

Looping through an Array in PHP

Order of Array Values in PHP

Copying Array Values to a List of Variables in PHP

PHP Built-in Functions for Arrays

Counting the Number of Values in an Array in PHP

Verifying If a Key Exists in an Array in PHP

Finding a Given Value in an Array in PHP

Retrieving All Keys from an Array in PHP

Retrieving All Values from an Array in PHP

Sorting an Array by Keys in PHP

Sorting an Array by Values in PHP

Joining Keys and Values into an Array in PHP

Merging Two Arrays into a Single Array in PHP

Using an Array as a Queue in PHP

Using an Array as a Stack in PHP

Randomly Retrieving Array Values in PHP

Looping through an Array without "foreach" in PHP

Creating an Array with a Sequence in PHP

Padding an Array with a Given Value in PHP

Truncating an Array in PHP

Joining Array Values into a Single String in PHP

Splitting a String into an Array in PHP

Getting Minimum/Maximum Value of an Array in PHP

Creating Your Own Functions in PHP

Defining a User Function in PHP

Invoking a User Function in PHP

Returning a Value from a Function in PHP

Passing an Argument to a Function in PHP

Variables Are Passed by Values in PHP

Passing Variables by References in PHP

Defining an Argument as a Reference in PHP

Passing Arrays to Function in PHP

Passing Arrays by Values to Functions in PHP

Passing Arrays by References to Functions in PHP

Defining an Array Argument as Reference in PHP

Returning an Array from a Function in PHP

Local Variables in a Function in PHP

Global Variables in Main Script in PHP

Accessing Global Variables inside a Function in PHP

Function Returns Data by Value in PHP

Returning a Reference from a Function in PHP

Specifying Argument Default Values in PHP

Function with Undefined Number of Arguments in PHP

Reading and Writing Files in PHP

Reading a Text File to an Array in PHP

Reading the Entire File to a String in PHP

Opening a file for Reading in PHP

Opening a File for Writing in PHP

Appending Data to the End of a File in PHP

Reading One Line of Text from a File in PHP

Reading One Character from a File in PHP

Issue with "while ($c=fgetc($f))" Loop in PHP

Reading a File in Binary Mode in PHP

Writing a String to a File with a File Handle in PHP

Writing a String to a File without a File Handle in PHP

Writing an Array to a File without File Handle in PHP

Reading Data from Keyboard in PHP

Opening Standard Output as a File Handle in PHP

Working with Directories and Files in PHP

Creating a Directory in PHP

Removing an Empty Directory in PHP

Removing a File in PHP

Copying a File in PHP

Putting Directory Entries into an Array in PHP

Reading Directory Entries in PHP

Retrieving Directory Name from File Path Name in PHP

Splitting a File Path Name into Parts in PHP

Processing Web Forms in PHP

Creating a Web Form in PHP

Form Input HTML Tags in PHP

Generating a Form in PHP

$_GET, $_POST and $_REQUEST in PHP

Retrieving Submitted Form Data in PHP

Expected Input Field Not Submitted in PHP

Using isset($_REQUEST('name')) in PHP

Listing All Values of Submitted Fields in PHP

Input Values of SELECT Tags in PHP

Specifying Input Values for Radio Buttons in PHP

Specifying Input Values for Checkboxes in PHP

Retrieving Input Values from Checkboxes in PHP

Providing Default Values for Text Fields in PHP

Removing Slashes on Submitted Input Values in PHP

Supporting Multiple Submit Buttons in PHP

Supporting Hidden Form Fields in PHP

Generating and Processing Form with the Same Script in PHP

Submitting Values without Using a Form in PHP

Retrieving the Original Query String in PHP

Protecting Special Characters in Query String in PHP

Supporting a Multiple-Page Form in PHP

Understanding and Managing Cookies in PHP

What Is a Cookie in PHP

Sending a Cookie to the Browser in PHP

Receiving a Cookie from the Browser in PHP

Testing Cookies on a Web Server in PHP

What Is a Persistent Cookie in PHP

Setting a Persistent Cookie in PHP

Testing Persistent Cookies in PHP

Removing a Cookie in PHP

Domain and Path Attributes for Cookies in PHP

Specifying Domain and Path for a Cookie in PHP

Mistake on Setting Cookie Path and Domain in PHP

Cookies Transported from Servers to Browsers in PHP

Viewing Cookie Header Lines in PHP

Cookies Transported from Browsers to Servers in PHP

Cookie Files Stored on Your Computer in PHP

Deleting Cookie Files in PHP

Viewing the Content of a Cookie File in PHP

Cookie Management on Firefox in PHP

Firefox Storing Persistent Cookies in PHP

Number of Cookies Supported in PHP

Single Cookie Size Limit in PHP

Cookies Encoded during Transportation in PHP

Malicious Website Stealing Cookies in PHP

Understanding and Using Sessions in PHP

What Is a Session in PHP

Turning on the Session Support in PHP

Saving Values in the Session in PHP

Retrieving Values Stored in Session in PHP

What Is a Session ID in PHP

Retrieving Session ID from the Current Session in PHP

Options to Transfer Session IDs in PHP

How Sessoion IDs Are Transferred in PHP

Using Cookies to Transfer Session IDs in PHP

Security of Storing Session ID as a Cookie in PHP

Where Are Session Values Stored in PHP

Timeout Period on Session Values in PHP

Testing the Session Garbage Collection Process in PHP

Setting session.gc_maxlifetime Properly in PHP

Setting session.gc_divisor Properly in PHP

Removing Values Saved in the Session in PHP

Determining If a Session Is New in PHP

Closing a Session Properly in PHP

What Is session_register() in PHP

Working with MySQL Database in PHP

Installing MySQL Server in PHP

Using MySQL Command Line Interface in PHP

Information Needed for MySQL Connection in PHP

Connecting to a MySQL Server in PHP

Creating a Database in PHP

Selecting an Existing Database in PHP

Running a SQL Statement in PHP

Creating a Table in PHP

Number of Rows Affected by a SQL Statement in PHP

Inserting Data into a Table in PHP

Inserting Rows Based on SELECT Statement in PHP

What Is a Result Set Object in PHP

Looping through Returning Rows from a Query in PHP

Updating Existing Rows in PHP

Deleting Existing Rows in PHP

Quoting Text Values in PHP

Quoting Date and Time Values in PHP

Performing Key Word Search in PHP

Querying Multiple Tables Jointly in PHP

Setting ID Column as Auto-Incremented in PHP

Retrieving the Last Auto Increment ID in PHP

Uploading Files to Web Servers in PHP

What Is File Upload in PHP

INPUT Tag for File Uploading in PHP

FORM Tag for Uploading Files in PHP

Getting Uploaded File Information in PHP

Processing Uploaded Files in PHP

Moving Uploaded Files to Permanent Directory in PHP

Detecting File Uploading Errors in PHP

Filtering Out Empty Files in PHP

Creating a Database Table to Store Files in PHP

Uploading Files into Database in PHP

Configuration Settings for File Upload in PHP

Technical Specifications for File Upload in PHP

Copyright © FYIcenter.com. All rights reserved. PHP v1.01

 

Downloading and Installing PHP

2023-12-25, 89🔥, 2💬