Variables from outside PHP

HTML Forms ( GET and POST )

Príklad 8-2 .






Príklad 8-3 .










Poznámka :

Poznámka :

Príklad 8-4 .






HTTP Cookies

Príklad 8-5 .




Dots in incoming variable names




Now, what the parser sees is a variable named $varname , followed by the string concatenation operator, followed by the barestring (i.e. unquoted string which doesn't match any known key or reserved words) 'ext'. Obviously, this doesn't have the intended result.

Determining variable types