Topics Search

PHP

Home » PHP (2520)
  • Page 1 of 126
  • »
 

PHP Fatal error: Call to undefined function gzinflate()

PHP Fatal error: Call to undefined function gzinflate() Icon
have a php script and whenever I run it, I get the following error message in my log file: 2017/02/05 23:25:46 [error] 9696#9696: *10 FastCGI sent in stderr: “PHP message: PHP Fatal error: Call to undefined function gzinflate()...
 
Advertisement:
 

Modern PHP With Preprocessing!

Modern PHP With Preprocessing! Icon
The trick is to understand how a parser tokenizes a string of code, build a macro pattern, and then apply that pattern recursively to the new syntax. The macro library isn’t well documented, though. It’s difficult to know exactly what the pattern needs to look like, or what valid syntax to generate in the end. Every new application begs for a tutorial like this to be written, before others can understand what’s really going on.
 

Dynamic image resizing via URI with Glide and Slim

Dynamic image resizing via URI with Glide and Slim Icon
If you have ever used WordPress.com backend. You will notice its image resizing works by appending a dimension string at the end of the URL. In this tutorial, we will show you how to do that for your own project. At the end of this tutorial, you will have an image resizing server that is able to give you specific dimension upon request.
 

How to Scrape Web Pages for Metadata

How to Scrape Web Pages for Metadata Icon
In today's tutorial, I'm going to show you how to leverage PHP to scrape common metadata from web pages to make it easier for your users to participate and to build more interesting services. First, I built a form for people to add links by pasting the URL. I also created a Lookup button to use AJAX to request the web page be scraped for metadata information.
 

Paginating data collections with zend-paginator

Paginating data collections with zend-paginator Icon
zend-paginator is a flexible component for paginating collections of data and presenting that data to users. Pagination is a standard UI solution to manage the visualization of lists of items, like a list of posts in a blog or a list of products in an online store. zend-paginator is very popular among Zend Framework developers, and it’s often used with zend-view, thanks to the pagination control view helper zend-view provides.
 

How to setup MariaDB SSL and secure connections from clients

How to setup MariaDB SSL and secure connections from clients Icon
MariaDB is a database server that offers drop-in replacement functionality for MySQL server. MariaDB is built by some of the original authors of MySQL, with assistance from the broader community of Free and open source software developers. In addition to the core functionality of MySQL, MariaDB offers a rich set of feature enhancements including alternate storage engines, server optimizations, and patches. In this tutorial, I am going to give the instructions on how to setup MariaDB server with SSL, and how to establish secure connections from the console and PHP scripts.
 

Calendar as a Service using Google Calendar API

Calendar as a Service using Google Calendar API Icon
In this article, you’ll learn how to work with the Google Calendar API in PHP. You’ll do it by building a calendar app that allows users to add new calendars, add events, and sync calendars to Google Calendar.
 

Laravel Random Keys with Keygen

Laravel Random Keys with Keygen Icon
A quick guide through using the Keygen package in your Laravel application. When developing applications, it is usually common to see randomness come into play - and as a result, many programming languages have built-in random generation mechanisms. Some common applications include:
 

Display Dates Relatively in Laravel

Display Dates Relatively in Laravel Icon
In this article, we will take a look at how Laravel takes advantage of this package. As already mentioned, The carbon class does not rebuild PHP's DateTime class from scratch, it builds upon it.
 

Using Illuminate Database With Eloquent in Your PHP App Without Laravel

Using Illuminate Database With Eloquent in Your PHP App Without Laravel Icon
Illuminate is Laravel’s database engine minus Laravel. It comes bundled with the Eloquent ORM in Laravel. If you would like to build your PHP apps with ORMs and prefer not to use Laravel, this tutorial is for you. In this tutorial, we are going to build the back end for a Q&A App with PHP, Illuminate Database, and the Eloquent ORM.
 

Laravel and Braintree: Middleware and Other Advanced Concepts

Laravel and Braintree: Middleware and Other Advanced Concepts Icon
As it stands, if we visit the plans index page, we can still see the Choose Plan button for the plan we are currently subscribed to, and this shouldn’t be the case. In the plans index view, let’s add an if conditional to hide the button based on the user’s subscription status:
 

Saving a list of values in a cookie

Saving a list of values in a cookie Icon
As we well know, HTML was designed as a stateless protocol. Every time you open a new page, any values from the previous page are lost, unless transmitted via GET or POST variables, or using a COOKIE, which is what we're exploring in this article.
 

Building Your Startup: Preparing for Text Messaging

Building Your Startup: Preparing for Text Messaging Icon
In today's episode, I'm going to walk you through the first half of my SMS configuration for the Meeting Planner application. Basically, I'll cover choosing an SMS provider, setting up the account, building the initial application infrastructure, and trial texting.
 

Implement an XML-RPC server with zend-xmlrpc

Implement an XML-RPC server with zend-xmlrpc Icon
zend-xmlrpc provides a full-featured XML-RPC client and server implementation. XML-RPC is a Remote Procedure Call protocol using HTTP as the transport and XML for encoding the requests and responses.
 

From PHP/cURL to Guzzle

From PHP/cURL to Guzzle Icon
In this tutorial, we are going to you a PHP package called Guzzle. Guzzle is a PHP HTTP client that makes it easy to send HTTP requests and trivial to integrate with web services. It is meant to be a replacement of your existing PHP/cURL usage in your code base. If you want to know why you should make the switch and how you can do so. Read on.
 

Laravel and Braintree, Sitting in a Tree

Laravel and Braintree, Sitting in a Tree Icon
Subscriptions to services online are something extremely common – from subscribing to music streaming services to tutorial sites to access premium content. In this tutorial, we will be building a dummy Courses site with Braintree subscriptions. In the process, we will learn how to use the various methods offered by Cashier.
 

Datatables Scroller in CakePHP 3 Using jQuery, Ajax, MySQL and Bootstrap 3

Datatables Scroller in CakePHP 3 Using jQuery, Ajax, MySQL and Bootstrap 3 Icon
In this tutorial we are going to see how to integrate Datatables Scroller in CakePHP 3 using jQuery, Ajax, MySQL and Bootstrap 3. This Datatables Scroller will render millions of data within the datatables itself while Scrolling as per browser Viewport.
 

Using GDELT 2 with PHP to Analyze the World!

Using GDELT 2 with PHP to Analyze the World! Icon
I will show you a simple example of how to use GDELT through BigQuery with PHP, and how to visualize the results on a web page. Along the way, I will tell you some more about GDELT. GDelt (the “Global Database of Events, Language and Tone”) is the biggest Open Data database of political events in the world.
 

Laravel: Login Register

Laravel: Login Register Icon
This beginner tutorial/article shows how you can create a simple/basic user login and registration application using Laravel. In previous Laravel article, I have described in detail about Creating simple CRUD application in Laravel. In the CRUD article, I have described about Laravel folder structure and artisan command line tool. Hence, in this article, we will directly move towards creating database and tables.
 

CakePHP 3 Ajax Pagination Using Datatable

CakePHP 3 Ajax Pagination Using Datatable Icon
In this tutorial we are going to see how to implement CakePHP 3 Ajax Pagination Using Datatable, jQuery, MySQL and Bootstrap 3. This is follow up tutorial of the Integrate Datatable in CakePHP 3 with Static JOSN using jQuery, Bootstrap 3.
Home » PHP (2520)
  • Page 1 of 126
  • »