regarding php functions?
i have seen some php examples,where i encounter some code like
$_get,$php_self,etc., Are they all are predefined functions?I am very beginner of php,how do i know all those (predefined)functions.I mean --> method and its description.I have to take a session on php examples in my office.Please help me friends.
- 1 decade agoFavorite Answer
What you specify aren't actually functions, but predefined variables. $_GET['field-name'] is an example of a get variable which is declared in the URI (for example - www.domain.com/index.php?fieldname=value).
There are many predefined variables, including $_FILES, $_SERVER, $_COOKIE, $_SESSION etc
The names relate to what they contain, for example
$_SERVER['PHP_SELF'] is the predefined variable for the current page, $_SERVER['REMOTE_ADDR'] is the user ip address and so on.
For all the details see the documentation on http://uk2.php.net/manual/en/reserved.variables.ph...
- Anonymous4 years ago
hi Ali, i will jot down some factors of what's Hypertext Preprocessor and has also given you a sourse the position u can locate all the files with regards to Hypertext Preprocessor * Hypertext Preprocessor stands for Hypertext Preprocessor: Hypertext Preprocessor * Hypertext Preprocessor is a server-area scripting language, like ASP * Hypertext Preprocessor scripts are performed on the server * Hypertext Preprocessor helps many databases (MySQL, Informix, Oracle, Sybase, good, PostgreSQL, primary ODBC, and so on.) * Hypertext Preprocessor is an open source software * Hypertext Preprocessor is loose to receive and use
- Anonymous1 decade ago
Go to Google and search for "php reference" and "php tutorials". You should gain plenty of knowledge there.
- How do you think about the answers? You can sign in to vote the answer.