DokuWiki

It's better when it's simple

User Tools

Site Tools


devel:request_vars

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
devel:request_vars [2021-12-01 22:05] andidevel:request_vars [2022-08-10 21:25] (current) – [Examples] Klap-in
Line 60: Line 60:
 var_dump($INPUT->post->int('bar', -1, true)); var_dump($INPUT->post->int('bar', -1, true));
 // int(-1) // int(-1)
 +
 +
 +$_SERVER 
 +
 +var_dump($INPUT->server->str('REMOTE_USER'));
 +// string(8) "username"
 </code> </code>
devel/request_vars.txt · Last modified: 2022-08-10 21:25 by Klap-in

Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 4.0 International
CC Attribution-Share Alike 4.0 International Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki