Anonymous
Anonymous asked in Computers & InternetProgramming & Design · 1 decade ago

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.

5 Answers

Relevance
  • 1 decade ago
    Favorite 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...

  • Anonymous
    4 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

  • 1 decade ago

    You can get the PHP manual downloaded from http://www.php.net/download-docs.php

    You can also try using

    1. ActiveState Komodo or

    2. Zend Studio

    They provide good description about the function while you type.

  • Anonymous
    1 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.
  • 1 decade ago

    see the php manual which is available on http://www.php.net/docs.php

Still have questions? Get your answers by asking now.