. Chapter 3: How to Write PHP Scripts 29 PHP: The big picture 30 Telling the server to process PHP 30 Embedding PHP in a web page 31 Storing PHP in an external file 31 Using variables to represent. retrieval system, without the prior written permission of the copyright owner and the publisher. ISBN -1 3 (pbk): 97 8 -1 -4 30 2-3 24 9-0 ISBN -1 3 (electronic): 97 8 -1 -4 30 2-3 25 0-6 Printed and bound in the. upload class 15 0 Defining a PHP class 15 1 Checking upload errors 15 6 Changing protected properties 16 1 Explicitly changing a data type 16 6 Preventing files from being overwritten 16 6 Uploading