Abstract
In this chapter we shall introduce some variables which are produced outside of PHP and are known as predefined variables. We shall see that the Web server, system environment and HTML forms generate variables which we can (and in many cases need) to access. Predefined variables are made available to any script, but as many of them are platform and Web server dependent it is difficult to fully document them all. We shall begin by explaining a fundamental change which occurred in PHP from version 4.2 which greatly effects the way in which we access these predefined variables.
This is a preview of subscription content, log in via an institution.
Buying options
Tax calculation will be finalised at checkout
Purchases are for personal use only
Learn about institutional subscriptionsPreview
Unable to display preview. Download preview PDF.
Author information
Authors and Affiliations
Rights and permissions
Copyright information
© 2004 Springer-Verlag London
About this chapter
Cite this chapter
Stobart, S., Vassileiou, M. (2004). Predefined PHP Variables. In: PHP and MySQL Manual. Springer Professional Computing. Springer, London. https://doi.org/10.1007/978-0-85729-404-3_9
Download citation
DOI: https://doi.org/10.1007/978-0-85729-404-3_9
Publisher Name: Springer, London
Print ISBN: 978-1-4471-1055-2
Online ISBN: 978-0-85729-404-3
eBook Packages: Springer Book Archive