Hi,
Just to also add the discussion why mod_rewrite or PATH_INFO :)
http://stackoverflow.com/questions/1565292/mod-rewrite-or-path-info-for-clean-urls
Bye
Simon
2012/2/17 Simon Schick
> Hi, All
>
> I do not remember where I found the list of variables that are provided if
> you load PHP using
Hi, All
I do not remember where I found the list of variables that are provided if
you load PHP using Apache, nginx, IIS ...
Fact is that there's a list of variables in the CGI 1.1 definition that
should be given to a cgi script:
http://tools.ietf.org/html/rfc3875#section-4
PATH_INFO is on the lis
Elbert F wrote:
SCRIPT_NAME is a server side path, try REQUEST_URI. This includes the query
string but it's easy to remove.
Elbert
http://swiftlet.org
Hi, I thought I should say that server side SCRIPT_NAME seems to be fine
for me in this case. Thanks for the input.
Donovan
--
D Brooke
SCRIPT_NAME is a server side path, try REQUEST_URI. This includes the query
string but it's easy to remove.
Elbert
http://swiftlet.org
On Thu, Feb 16, 2012 at 8:27 AM, Donovan Brooke wrote:
> Hello,
>
> What is the best way to get the /somedir/ values in the request URI?
>
> I tried
> $t_pathi
4 matches
Mail list logo