|
|
|
Answers to common questions
The most common cause of problems is that cURL, MySQL or the GD graphics libraries were not properly installed.
You can verify if these libraries are installed by execuring a phpinfo(); command and examining the output,
which will indicate all installed external libraries.
Please note, do not use LIB_http if you are also using the “PECL pecl_http” library.
Simulteneously using LIB_http.php and the PECL pecl_http library will create
errors caused by redundant function names, for example: http_get().
|
|
Updates
If you think you found an error in the book, please contact the author.
|
|
The following apply to the first & second (English) printings of the book.
Page 234, Listing 24-3 should be
$minimum_delay_seconds = 20;
$maximum_delay_seconds = 45;
sleep( rand($minimum_delay_seconds, $maximum_delay_seconds) );
The following apply to the first (English) printing of the book.
Page 23, Sentence after Listing 3-1
The script then uses fopen() to fetch ...
Should be
The script then uses fgets() to fetch ...
On page 30, Listing 3-5
Using hhtt_get() ...
Should be
Using hhtt_get_withheader()...
Page 30, Add at the end of the http_get() discussion:
Please note, do not use LIB_http if you are also using the “PECL pecl_http” library.
Simulteneously using LIB_http.php and the PECL pecl_http library will create
errors caused by redundant function names, for example: http_get().
Page 43, Under Listing 4-12
str_repalce()
should be
str_replace()
Page 62, 2nd line of 2nd bullet point
what is actually is.
should be
what it actually is.
Page 67. Last “Result”
Deletes row 3 from table
should be
Deletes row 2 from table
Page 118, 2nd line of 2nd paragraph
strops()
should be
strpos()
Page 119. Very end of the page
the next target. It also inserts… …human interaction, as shown in Listing 11-10.
should be
the next target, as shown in Listing 11-10.
Page 139, 3rd line of opening paragraph
(NTTP)
should be
(NNTP)
Page 143, End of 3rd bullet point
lone perioid
should be
lone period
Page 144, 5th line of 1st paragraph
(for a given a newsgroup)
should be
(for a given newsgroup)
Page 161, 1st line of paragraph beneath 1st table
Configuring the Reply to address
should be
Configuring the Return-path address
Page 179, line of code sample
$ALLOW_OFFISTE
should be
$ALLOW_OFFSITE
Page 183, 3rd bullet point
The link contains excluded keywords are listed
should be
The link contains excluded keywords listed
Page 245, 8th line of 2nd code sample
$failure_more
should be
$failure_mode
Page 253, 7th line of 1st code sample
$style[0]=“Girlie T”;
should be
$style[1]=“Girlie T”;
Page 254, 7th line of 1st code sample
$style[0]=“Girlie T”;
should be
$style[1]=“Girlie T”;
Page 259, 5th line of 1st paragraph
a webbots should first look
should be
a webbot should first look
|