Errata

PHP Web Services

Errata for PHP Web Services

Submit your own errata for this product.

The errata list is a list of errors and their corrections that were found after the product was released.

The following errata were submitted by our customers and have not yet been approved or disproved by the author or editor. They solely represent the opinion of the customer.

Color Key: Serious technical mistake Minor technical mistake Language or formatting error Typo Question Note Update

Version Location Description Submitted by Date submitted
Printed Page 3
numbered list, point number 2

"and recceives the page with the search box"

"recceives" misspelled.

tcordes  Apr 11, 2015 
PDF Page 5
several paragraphs

The curl examples call http://requestb.in, which is an API checking service. The calls to the example page result in "not found".

E.g.: curl -X POST http://requestb.in/example
Not found

Gary Sprung  Jan 21, 2014 
Printed Page 5
Bottom or page

Broken reference β€” β€œThe examples here use [a site that is set up to log requests made to it, which is perfect for exploring how different API requests are seen by a server.”

Updated link / URL β€” requestbin.com

Requestb.in is no longer supported. There is a new version of Request Bin at requestbin.com and it has a bunch more features.

Anonymous  Jun 10, 2019 
Printed Page 9
2nd text paragraph

"... passing the data we want to send as an array to the CURLOPT_POSTFIELDS option."

The example referred to by the above is, in fact, a string created by json_encode, not a PHP array. Either encoded strings or arrays are allowed, but the example shown is clearly using the former. It might be useful to note here that both are allowed.

tcordes  May 03, 2015 
Printed Page 16
2nd-last text paragraph, 2nd-last sentence

"There is no equivalent to $_PUT superglobal..."

Doesn't really make sense here. You could replace "to $_PUT" with "for the $_PUT" or "to the $_POST". It's drawing equivalency between $_POST (that was just shown) and $_PUT (which doesn't exist), so it doesn't make sense as stated.

tcordes  May 03, 2015 
PDF Page 20
title request headers

on page number 20 in the title Request headers:
there is last option Accept-Charset:ISO-8859-1,utf-8;q=0.7,+;q=0.3
in this line instead of + you should replace * then only it is right format

Anonymous  May 29, 2013 
PDF Page 26
Last paragraph

Incorrect PHP syntax: $_SERVER["PHP_AUTH_PASSWORD"]
Should be: $_SERVER["PHP_AUTH_PW"]

Anonymous  Nov 19, 2014 
PDF Page 26
Whole header authorization section

It should be noted that the header authorization method, discussed in this section, does not work when the PHP Server API is set to CGI, so check your PHP settings before you decide to use the authorization method discussed in this section.

Anonymous  Nov 23, 2014 
Printed Page 34
4th-last text paragraph, 1st sentence

"is that it a simple" -> "is that it's a simple"
or similar

tcordes  May 03, 2015 
PDF Page 48
wsdl heading's 2nd paragraph

WDSL should be changed to WSDL at the start of line

vijayan  May 30, 2013