I do not know PHP but I think

$_SERVER["REQUEST_URI"]

is the same of

request.env.request_uri
URL(r=request,args=request,.args)

there is no equivalent of script name.

On Jun 25, 5:29 am, Fran <francisb...@googlemail.com> wrote:
> On Jun 25, 7:52 am, "Md.Mahbubur Rasheed" <fireball...@gmail.com>
> wrote:
>
> > What is the equivalent of php $_SERVER ???
>
> I think
>
> $_SERVER["REQUEST_URI"]
>
> is replaced by
>
> URL(r=request)
>
> $_SERVER["SCRIPT_NAME"]
>
> is replaced by
>
> URL(r=request, c='script_name', f='function_within_script')
>
> F
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"web2py Web Framework" group.
To post to this group, send email to web2py@googlegroups.com
To unsubscribe from this group, send email to 
web2py+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to