SPIP

[ar] [ast] [bg] [br] [ca] [co] [cpf] [cs] [da] [de] [en] [eo] [es] [eu] [fa] [fon] [fr] [gl] [id] [it] [ja] [lb] [nl] [oc] [pl] [pt] [ro] [ru] [sk] [sv] [tr] [uk] [vi] [zh] Espace de traduction

Download

#EVAL

July 2010

All the versions of this article:


The technical tag #EVAL{} returns the value calculated by evaluating the PHP expression that is passed as an argument:
#EVAL{2*7} will display 14,
#EVAL{_DIR_IMG_PACK} will display the path to the ecrire/img_pack/ directory,
#EVAL{phpversion()} will display the server’s PHP version number
#EVAL{$_SERVER['REQUEST_URI']} ...

Since this tag interprets PHP code live, it needs to be employed with caution.


Show the template of this page Site powered by SPIP | Translation area | Private area