mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-24 17:04:14 +01:00
Updated CodeCorner1 (markdown)
parent
7457923ee3
commit
f6243a7cb1
@ -99,7 +99,7 @@ $GLOBALS['egw_info'] = array('flags' => array(
|
||||
include('../header.inc.php');
|
||||
|
||||
//Your content….
|
||||
echo "Hello World!";
|
||||
echo "Hello World! <br />";
|
||||
|
||||
// display some debug content
|
||||
$userinfo=$GLOBALS['egw_info']['user'];
|
||||
@ -122,16 +122,40 @@ We provided only the starting ```<?php``` tag, to avoid problems with trailing b
|
||||
|
||||
You have now created your first application within eGroupware.
|
||||
Unleash the ```_debug_array($GLOBALS['egw_info'])``` and you will get info thrown at you, that you did not really want to have in the first place. A lot.
|
||||
```_debug_array($_REQUEST')``` informs you about your loginid your sessionid and so on:
|
||||
```_debug_array($userinfo')``` informs you about your loginid your sessionid and so on (after we stripped some of the info, that may or may not confuse you at this time).
|
||||
***
|
||||
```php
|
||||
[last_loginid] => kl
|
||||
[last_domain] => default
|
||||
[ZDEDebuggerPresent] => php,phtml,php3
|
||||
[sessionid] => 4714244cc683c6292e5b952273abb048
|
||||
[kp3] => 20b9f6fea8a0f6d2d8e99aca3d3b977a
|
||||
Array
|
||||
(
|
||||
[account_firstname] => me
|
||||
[account_lastname] => here
|
||||
[account_email] => me@here.net
|
||||
[account_fullname] => me here
|
||||
[person_id] => 2
|
||||
[account_created] =>
|
||||
[account_modified] => 1352109561
|
||||
[account_phone] =>
|
||||
[account_id] => 5
|
||||
[account_lid] => me
|
||||
[account_pwd] => {crypt}aadggggh$/hGtttttttttttttTTTTTTTTerTTZU$zUUUUkkkkkkkZZZZZ
|
||||
[account_lastlogin] => 1464702940
|
||||
[account_lastloginfrom] => 10.0.0.1
|
||||
[account_lastpwd_change] => 1415695640
|
||||
[account_status] => A
|
||||
[account_expires] => -1
|
||||
[account_type] => u
|
||||
[account_primary_group] => -2
|
||||
[account_challenge] =>
|
||||
[account_response] =>
|
||||
[account_description] =>
|
||||
[homedirectory] =>
|
||||
[domain] => default
|
||||
```
|
||||
[sessionid] => 1k3254c7l1iab9j66q75kaune1
|
||||
[kp3] => AhJ87BRxVMNpGuMFESTVLBsW
|
||||
[session_ip] => 10.44.33.94
|
||||
[session_lid] => me@default
|
||||
[userid] => me
|
||||
)```
|
||||
***
|
||||
If you loose your sessionid you loose connection to eGroupware, or to put it straight: eGroupware throws you out.
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user