See also [[:user:timb:start|Tim's Main Page]]
$tt="Hi "; print (" - first line\n"); print (" - $tt me\n");
Information about embedding content into Dokuwiki from php:
[[https://forum.dokuwiki.org/d/14687-include-script-file-or-add-php-code|https://forum.dokuwiki.org/d/14687-include-script-file-or-add-php-code]]
[[https://www.dokuwiki.org/devel:environment|https://www.dokuwiki.org/devel:environment]]
[[https://www.dokuwiki.org/devel:request_vars|https://www.dokuwiki.org/devel:request_vars]]
global $INFO; print ("hello" );
- # print ( print ( _ckgedit_QUOTQUOT_
----
_ckgeditckgedit> ); );
print ( $INFO ); print ( "Contents of the array:" ); var_dump($INFO);
Link to some variables and functions:
[[https://xref.dokuwiki.org/reference/dokuwiki/nav.html?_functions/index.html|https://xref.dokuwiki.org/reference/dokuwiki/nav.html?_functions/index.html]]
print ( "Page info\n" );
global $INFO; print ( $INFO ); print ("\n\nBut this is really an array, so I need to figure out how to move over the array."); print ("\nUser information:\n" ); print ( var_dump($INFO["userinfo"]) ); print ( "Username:\n\n" ); print ( $INFO["userinfo"]["name"] );
global $ID; print ("Page id is: "); print ($ID); print ("\n"); print ("\n\nFunction auth_quickaclcheck() value is:"); print (auth_quickaclcheck($ID)); print ("\n");
****End of block of code for id****
- # global $INPUT; global $INPUT;
global $INFO; print ("Input is: "); print ($INPUT);
End of code blocks.