Extending PHP
Extending PHP does not mean just adding classes and functions. It also means adding functionality not previously supported by PHP. This can be done by writing functions in C that can be called from...
View ArticleImageMagick Workaround for SVG Support
I have installed the PECL package IMagick in my computer. Its current version 7:6.6.2.6 -1 does a great job converting SVG files into raster images. In my hosting account the Imagemagick package is not...
View ArticleJSON, The New XML
When you write for the web, you may want to send data to another server or to a client. A common way to transfer that data is in XML format. The data will then be processed using SAX, DOM or XPath....
View ArticleCommunication Between Backbone.js And PHP
Backbone.js is a Javascript framework known as MV* (Model, View and stuff). This framework has the Backbone.sync function to perform CRUD (Create, Read, Update, Delete) operations. In order for a model...
View ArticleAnimated GIF Manipulating With GD
I had a task: to write a program that makes text from animated ‘gif’ images of letters. For example, the following image: Usually, the PHP extension ‘GD’ is good enough to perform the job. GD is an...
View ArticlePHP CLI – Command Line Interface
If you have installed PHP, you probably have the PHP CLI as well. CLI allows you to run PHP scripts from the command line, without a browser or the definition of a virtual site. You can use it to...
View ArticleSending Drupal Mail From Your GoDaddy Server
I have an account on Godaddy.com. This site allows its user to install products such as Drupal. Drupal is a 3rd-party PHP framework that can be installed automatically by web hosting sites. Sites built...
View ArticleCreating Flash Sites With Ming
You probably know the SWF file format. This is not just a movie, but also can be an interactive application. SWF files can be created with the Ming PHP extension. You can get information on how to...
View ArticleBrowsing From The Command Line / Server With cURL
cURL is a tool used for browsing the web from the shell or command-line. It supports many internet protocols, such as HTTP, FTM, POP3, IMAP, SMTP and more. See the full list here. With libcurl...
View ArticlePHP New Major Version
When you see a change in the major version (the number before the first point of the version id), expect a great leap. New features have been added to PHP in version 7, that make programming more...
View Article