[Typo3] Using GET variables, need opinions/help.

Mauro Lorenzutti mauro.lorenzutti at webformat.com
Tue Mar 1 09:14:10 CET 2005


Hi Joshua,

JP> If I am making an extension and need to use GET variables, is

JP> $variablename = t3lib_div::_GET('variablename');

JP> the correct way of doing it or is there another preferred method?

I use this method too and I think is the correct one. You can also use

t3lib_div::_GP('variablename')

if you have POST and GET variables. You can find documentation here:

http://typo3.org/documentation/document-library/doc_core_cgl/Variables_and_Consta/#oodoc_part_259


Cordiali saluti,
 Mauro

e-mail:  mauro.lorenzutti at webformat.com

---------------------------------------------------------
WEBFORMAT srl | Corte Europa, 12 | I-33097 SPILIMBERGO PN
     Tel +39-0427-926.389  --  Fax +39-0427-927.653
       info at webformat.com  --  www.webformat.com
---------------------------------------------------------





More information about the TYPO3-english mailing list