Jump to content
php.lv forumi

Zem kaadas adreses es atrodos?


Sliipeetais

Recommended Posts

shajaa sakaraa noder divas adreses:

http://lv.php.net/manual/en/language.varia....predefined.php

http://lv.php.net/manual/en/reserved.variables.php

 

'PHP_SELF'

    The filename of the currently executing script, relative to the document root. For instance, $_SERVER['PHP_SELF']in a script at the address http://example.com/test.php/foo.bar would be /test.php/foo.bar.

    If PHP is running as a command-line processor, this variable is not available.

'SCRIPT_FILENAME'

The absolute pathname of the currently executing script.

'SCRIPT_NAME'

Contains the current script's path. This is useful for pages which need to point to themselves.

'REQUEST_URI'

    The URI which was given in order to access this page; for instance, '/index.html'.

atkariibaa no vajadziibas izveelies atbilstosho parametru
Link to comment
Share on other sites

×
×
  • Create New...