The right way to read files with PHP

Feb 13, 2007 ... Learn how to use the different file functions of PHP. Review basic file functions,
such as fopen, fclose, and feof, learn reading functions, such as fgets, fgetss, and
fscanf. And discover functions that process entire files in one or two lines of code.

Command-line PHP? Yes, you can!

Mar 13, 2007 ... Start out by trying a simple PHP script on the command line. You can use an
existing PHP script, or you can try the code below. This example is in Linux®, but
similar principles apply on other systems. First, confirm the location of the PHP
executable file -- on most Linux systems, almost certainly /usr/bin/php.

Learning PHP, Part 1: Register for an account, upload files for ...

Jun 14, 2005 ... This tutorial walks you through building a simple workflow application with PHP.
Users will register for an account, upload files for approval, and view and
download approved files. Users designated as administrators can view uploaded
files and approve them to make the files available to all users.

Read and write Excel data with PHP

Oct 4, 2005 ... Now, you can read or write Excel or Word files using XML tools like Extensible
Stylesheet Language Transformation (XSLT) or the XML Document Object Model
(DOM) functions built into the PHP programming language. In this article, I show
how to build a PHP Web application that uses these formats to ...

Reading and writing the XML DOM with PHP

Dec 6, 2005 ... Reading XML using the DOM library. The easiest way to read a well-formed XML
file is to use the Document Object Model (DOM) library compiled into some
installations of PHP. The DOM library reads the entire XML document into
memory and represents it as a tree of nodes, as illustrated in Figure 1.

Learning PHP, Part 2: Upload files and use XML or JSON to store ...

Jun 21, 2005 ... This tutorial is Part 2 of a three-part 'Learning PHP' series teaching you how to
use PHP through building a simple workflow application. Take this tutorial if you
have a basic understanding of PHP and want to learn about uploading files from
the browser, sessions, or using PHP to process XML or JSON.

Debugging techniques for PHP programmers

Nov 29, 2005 ... You also need the debugger module extension for PHP. Installing it is a bit tricky.
Carefully follow the instructions for installing the debugger extension. For now,
comment out the lines where you are asked to load and configure the extension
in PHP in the php.ini file. We'll uncomment those lines when ...

why can't Connect PHP file to cleardb in bluemix? - dWAnswers

$service_blob = json_decode($_ENV['VCAP_SERVICES'], true); $dbname = $
service_blob['cleardb'][0]['credentials']['name']; $hostname = $service_blob['
cleardb'][0]['credentials']['hostname']; $user = $service_blob['cleardb'][0]['
credentials']['username']; $password ...

Build PDF files dynamically with PHP

Jun 28, 2011 ... Walk through the entire process of building PDF files dynamically using PHP.
Experiment with open source tools, such as the Free PDF library (FPDF) or
PDFLib-Lite, and PHP code for control of the PDF format of your content.

What's new in PHP V5.2, Part 5: Tracking file upload progress

May 15, 2007 ... PHP V5.2 added hooks for developers to take advantage of tracking file upload
progress in real time. This article, Part 5 of a five-part 'What's new in PHP V5.2'
series, shows how to monitor file uploads and write code accordingly, with the
creation of a PHP progress bar.

Develop, deploy, and manage your apps in the cloud

The IBM Cloud platform has everything you need to get started.