17 ¹ø ±Û: [Apache-PHP] ForceType, Normal, Action |
±Û¾´ÀÌ: »êÀÌ
[ȨÆäÀÌÁö]
|
±Û¾´³¯: 2003³â 01¿ù 25ÀÏ 21:36:20 Åä(Àú³á) |
Á¶È¸: 4113 |
URLs
1. ForceType : http://localhost/tmp/test/ddd.html?str=string
2. Normal : http://localhost/tmp/test.php?str=string
3. Action : http://localhost/tmp/test.txt?str=string
1. ForceType : 'test' file to PHP(no extension) with
directive
URL : http://localhost/tmp/test/ddd.html?str=string
$_SERVER["DOCUMENT_ROOT"] = /usr/local/apache/htdocs
$_SERVER["SCRIPT_FILENAME"] = /usr/local/apache/htdocs/tmp/test
$_SERVER["QUERY_STRING"] = str=string
$_SERVER["REQUEST_URI"] = /tmp/test/ddd.html?str=string
$_SERVER["SCRIPT_NAME"] = /tmp/test
$_SERVER["PATH_INFO"] = /ddd.html
$_SERVER["PATH_TRANSLATED"] = /usr/local/apache/htdocs/ddd.html
$_SERVER["PHP_SELF"] = /tmp/test/ddd.html
$_SERVER["argv"] =
$_SERVER["argv"]["0"] = str=string
$_SERVER["argc"] = 1
2. normal
URL : http://localhost/tmp/test.php?str=string
$_SERVER["DOCUMENT_ROOT"] = /usr/local/apache/htdocs
$_SERVER["SCRIPT_FILENAME"] = /usr/local/apache/htdocs/tmp/test.php
$_SERVER["QUERY_STRING"] = str=string
$_SERVER["REQUEST_URI"] = /tmp/test.php?str=string
$_SERVER["SCRIPT_NAME"] = /tmp/test.php
$_SERVER["PATH_TRANSLATED"] = /usr/local/apache/htdocs/tmp/test.php
$_SERVER["PHP_SELF"] = /tmp/test.php
$_SERVER["argv"] =
$_SERVER["argv"]["0"] = str=string
$_SERVER["argc"] = 1
3. Action text/plain /bin/action.php
URL : http://localhost/tmp/test.txt?str=string
$_SERVER["DOCUMENT_ROOT"] = /usr/local/apache/htdocs
$_SERVER["REDIRECT_QUERY_STRING"] = str=string
$_SERVER["REDIRECT_URL"] = /tmp/test.txt
$_SERVER["SCRIPT_FILENAME"] = /usr/local/apache/htdocs/bin/action.php
$_SERVER["QUERY_STRING"] = str=string
$_SERVER["REQUEST_URI"] = /tmp/test.txt?str=string
$_SERVER["SCRIPT_NAME"] = /bin/action.php
$_SERVER["PATH_INFO"] = /tmp/test.txt
$_SERVER["PATH_TRANSLATED"] = /usr/local/apache/htdocs/tmp/test.txt
$_SERVER["PHP_SELF"] = /bin/action.php/tmp/test.txt
$_SERVER["argv"] =
$_SERVER["argv"]["0"] = str=string
$_SERVER["argc"] = 1
/bin/action.php/tmp/test.txt?str=string
|
ÀÌÀü±Û : [PHP] class of OGG
´ÙÀ½±Û : Re: °ü·Ã ¹®¼
|
from 61.254.75.40
JS(Redhands)Board 0.4 +@
|