Click here to Skip to main content
65,938 articles
CodeProject is changing. Read more.
Everything / Languages / PHP

PHP

PHP

Great Reads

by zebulon75018
Edit Bootstrap Menu by json schema in PHP
by W∴ Balboos, GHB
How to open a desktop application from a browser
by Mosso Hosting Cloud
After experiencing scaling issues with their previous hosting provider, the founders of the #1 iPhone tutorial site turned to Mosso, Rackspace’s cloud hosting division, because of the company’s tech support, scalability and affordability.
by Jakub Míšek
"dynamic" keyword and PHP object

Latest Articles

by zebulon75018
Edit Bootstrap Menu by json schema in PHP
by W∴ Balboos, GHB
How to open a desktop application from a browser
by Mosso Hosting Cloud
After experiencing scaling issues with their previous hosting provider, the founders of the #1 iPhone tutorial site turned to Mosso, Rackspace’s cloud hosting division, because of the company’s tech support, scalability and affordability.
by Jakub Míšek
"dynamic" keyword and PHP object

All Articles

Sort by Score

PHP 

by Jakub Míšek
"dynamic" keyword and PHP object
by Jakub Míšek
“dynamic” keyword and PHP objects
by Raymund Macaalay
This is a beginner's guide to PHP
by PascalLandau
How to create VMs, use a container registry and a secret manager
by Prava-MFS
A walk through into late static binding in PHP
by Wayne Ye
Describes a standard way to implement Cross-Origin Ajax request other than JSONP or something else.
by Mariusz Klimek
This is an aerial view of my REST API
by Raymund Macaalay
You might be wondering how you would rearrange the plug-ins add-on from Jetpack and from other 3rd party developers like Sharing, Likes, Related Posts, Navigation, etc.
by Alvin Bunk
This article is about creating a simple phpunit test in Symfony.
by jqwidgets
How to connect a jQuery Grid to a MySQL database using PHP.
by Nikola Breznjak
How to build a really simple PHP templating engine
by zidane168
Example of how to use CakePHP with RabbitMQ
by mumera
An Associative Array is one of the most basic and useful data structures where each value is identified by a key, usually a string.
by PascalLandau
How to setup CI pipeline to run code quality tools and tests on Github Actions and Gitlab Pipelines
by jotorres
How to control user access in PHP
by Member 11155555
How to create and download a zip file using PHP
by Duke Of Haren
How to create a simple template / view engine with PHP
by Alvin Bunk
Create Symfony Cookie and set HttpOnly to false
by jotorres
How to create user login with Codeigniter.
by Mariusz Klimek
Custom routing in PHP
by Alvin Bunk
Cut & Paste in Eclipse Removes Space
by Right Handed Monkey
Debugging and Profiling MySQL Performance with PHP
by Morgan Estes
Use PHP to read a CSV file and automatically generate links for display
by Swift coder
How to drag and drop rows between grids
by Jonathan Cardy
How to edit a Google spreadsheet using PHP and CURL
by Dave Kerr
You may be familar with the shell, but it can be useful to understand some of the surrounding concepts in detail. How does a shell differ from a terminal? What is a tty? How do shells really work? Hopefully as you read this article you'll discovery something that you didn't know about shells.
by Alvin Bunk
Element not clickable at point error in Mink Functional Testing
by jotorres
An encrypt-decrypyt class.
by Johan Ohlin
Here, I’ll give you my version of enum support. If you like this approach, or if you prefer any other one, it is basically a matter of taste.
by Jason Sultana
A look at some injection-style vulnerabilities
by Minh Danh Nguyen (ToughDev)
Fix for 'Search fields undefined' error
by Minh Danh Nguyen (ToughDev)
How to fix ‘Search fields undefined’ error when generating source code for a Scriptcase gridview
by Minh Danh Nguyen (ToughDev)
How to fix PDF Export Issues while using a Scriptcase Grid app
by Right Handed Monkey
This post lists four pitfalls of PHP's Comparison Operators: When to Use == Versus ===
by Noor Ahmad Feroozi
This class will return information from browser in an array format including the browser name, browser version, and also the operating system name.
by jotorres
This post shows you how to get user's IP address using PHP.
by RizviHasan
Hack around with PECL libs for PHP in Lubuntu.
by ladv02
Hangman (game) script in PHP.
by RizviHasan
Stick to your detective mind no matter how complex the question becomes.
by Haseeb A. Basil
How can PHP import Excel to MySQL using a PHP XLSX Reader and Excel XLSX converter
by Nitesh Kejriwal
How to convert date time to "X minutes ago" in jQuery
by Xiao Ling
How to make PHP barcode reader on Linux
by Raymund Macaalay
How to place ad scripts in between post listings on Index.php in WordPress
by Junian Triajianto
Using the power of Livestreamer and FFmpeg, twitch stream can be recorded every time a user goes online.
by Right Handed Monkey
How to send mail using Amazon's SES (Simple Email Service)
by Jakub Míšek
Update: Latest benchmarks are depicted on Benchmarks page. One of the reasons why you may be interested in using Phalanger is that you need to run your PHP applications faster. Phalanger is a PHP language compiler for .NET. It is … Continue reading →
by 19sanjeev
How to install Zend framework 2 on Linux/Ubuntu OS
by Alvin Bunk
Installing OCI8 & PHP 7.2 on RHEL or CentOS 6
by Keyhole Software
In the two-part series on scaling PHP applications, this part will focus on replacing Apache.
by Zachary Gardner
Introduction to scaling PHP applications – Part 1
by Keyhole Software
This blog will go into advanced topics that need consideration when moving a LAMP stack to a scaled architecture.
by essentialSQL
In this blog post, you will learn about stored procedures
by qenn
LINQ for PHP
by jotorres
My top 9 reasons why I use PHP
by JIN Weijie
How to optimize WordPress speed hosted on IIS
by Arian Celina
Outputting JSON Data with PHP
by Jakub Míšek
How to pass .NET delegates into PHP
by Jakub Míšek
How to pass .NET delegates into PHP
by Jakub Míšek
How to pass .NET delegates into PHP
by Jakub Míšek
PHP as a scripting language for C#
by Jakub Míšek
PHP as a scripting language for C#
by jotorres
In this tutorial, you will learn how to create a login form for your website using PHP and MySQL.
by Jakub Míšek
PHP, Global.asax and output caching
by Jakub Míšek
PHP, Global.asax and output caching
by Swift coder
phpGrid, Laravel 5 and Bootstrap 3
by Alvin Bunk
PHPUnit Code coverage in Symfony
by Nikola Breznjak
POST JSON data with PHP cURL wrapper class
by Nikola Breznjak
This is the simplest example which shows how to POST data from an Ionic app to a PHP server.
by Johannes Hinkov
Price comparison script with Wordpress and the REST API.
by Sujay Sarma
Raspberry Pi 2: Configuring it as a complete WordPress Web Server – Part 3 – Install and Configure Apache and PHP
by Alvin Bunk
Rendering semester and year in Symfony form
by OwenDavies
Looks like sSMTP is no longer maintained, MSMTP is the suggested replacement. This post discusses how to do the replacement.
by Christian Specht
Recently, I built Sindorf trödelt, a website for an annual garage sale in my home town, and I went with a combined Jekyll/PHP approach
by jotorres
For those of you who do not know how to create an insert using PHP and MySQL, here I will teach you.
by pollirrata
This post is based on Robert Conner's code forCakePHP 1.x., and I made some changes to get it to work onCakePHP 2.x.
by jqwidgets
Server Side Filtering with jqxGrid using PHP and MySQL
by jqwidgets
How to implement server-side sorting with the jqxGrid widget
by Alvin Bunk
Set Default Choice for EntityType in Symfony Form
by PascalLandau
In the fifth part of this tutorial series on developing PHP on Docker we will setup some PHP code quality tools and provide a convenient way to control them via GNU make.
by Alvin Bunk
Setting HTTP Headers in Symfony Crawler Client
by Alvin Bunk
Simple PHPUnit functional tests in Symfony
by jotorres
This is a very simple class for manipulating sessions in PHP.
by Edison Heng
Synchronizing between Android and desktop
by jotorres
Uusage of str_replace in PHP
by Alvin Bunk
Survey Form in Symfony
by Alvin Bunk
Symfony Form Rendering Woes
by PascalLandau
How to setup git-secret to store secrets directly in the repository
by Jakub Míšek
Implementing interoperability between C# and PHP.
by Jakub Míšek
How to use C# in App_Code from PHP script
by Alvin Bunk
Using Cookies with PHPUnit and Symfony basic client
by jotorres
Using MySQLi with PHP with an OO approach
by Nikola Breznjak
Using prepared statements in PHP with MySqli
by Sander Rossel
The (long awaited) fourth in a series on web development.
by Sander Rossel
The fifth in a series on web development.
by Sander Rossel
The seventh in a series on web development.
by Sander Rossel
The last in a series on web development.
by Right Handed Monkey
What are static bindings in PHP - Using self:: versus static::
by Noor Ahmad Feroozi
How to add a numbered page navigation in any new or existing WordPress theme without any plugins.
by Noor Ahmad Feroozi
PHP has made it very easy to add custom text over image or picture by using some basic functions from PHP GD.
by Jakub Míšek
How to write compiled PHP extensions in PHP
by Jakub Míšek
How to write compiled PHP extensions in PHP