User Tools

Site Tools


user:timb:codetesting

Differences

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

Link to this comparison view

user:timb:codetesting [2021/04/16 04:58] – created - external edit 127.0.0.1user:timb:codetesting [2025/06/28 20:06] (current) timb
Line 1: Line 1:
 See also [[:user:timb:start|Tim's Main Page]] See also [[:user:timb:start|Tim's Main Page]]
  
- +<phpwikify> $tt="Hi "; print (" - first line\n"); print (" - $tt me\n"); </phpwikify>
-<phpwikify> +
-$tt="Hi "; +
-print ("  - first line\n"); +
-print ("  - $tt me\n"); +
-</phpwikify>+
  
 Information about embedding content into Dokuwiki from php: 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://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:environment]]
  
-https://www.dokuwiki.org/devel:request_vars+[[https://www.dokuwiki.org/devel:request_vars|https://www.dokuwiki.org/devel:request_vars]]
  
-<phpwikify> +<phpwikify> global $INFO; print ("hello" ); 
-global $INFO; + 
-print ("hello" ); +  - # print ( print ( _ckgedit_QUOTQUOT_ 
-# print ( "<hr>); + 
-print ( $INFO ); +---- 
-print ( "Contents of the array:" ); + 
-var_dump($INFO); +_ckgeditckgedit> ); ); 
-</phpwikify>+ 
 +print ( $INFO ); print ( "Contents of the array:" ); var_dump($INFO); </phpwikify>
  
 Link to some variables and functions: 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|https://xref.dokuwiki.org/reference/dokuwiki/nav.html?_functions/index.html]]
  
-<phpwikify> +<phpwikify> print ( "Page info\n" ); </phpwikify>
-print ( "Page info\n" ); +
-</phpwikify>+
  
-<phpwikify> +<phpwikify> 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"] ); </phpwikify>
-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"] ); +
-</phpwikify>+
  
 +<phpwikify> global $ID; print ("Page id is: "); print ($ID); print ("\n"); print ("\n\nFunction auth_quickaclcheck() value is:"); print (auth_quickaclcheck($ID)); print ("\n"); </phpwikify>
  
-<phpwikify> +****End of block of code for id****
-global $ID; +
-print ("Page id is: "); +
-print ($ID); +
-print ("\n"); +
-print ("\n\nFunction auth_quickaclcheck() value is:"); +
-print (auth_quickaclcheck($ID)); +
-print ("\n"); +
-</phpwikify> +
- +
-**End of block of code for id**+
  
 <phpwikify> <phpwikify>
-# global $INPUT; 
-global $INFO; 
-print ("Input is: "); 
-print ($INPUT); 
-</phpwikify> 
  
 +  - # global $INPUT; global $INPUT;
  
 +global $INFO; print ("Input is: "); print ($INPUT); </phpwikify>
  
 End of code blocks. End of code blocks.
- 
- 
  
  
user/timb/codetesting.1618549095.txt.gz · Last modified: by 127.0.0.1