Platon Technologies
neprihlásený Prihlásiť Registrácia
SlovakEnglish
open source software development oslavujeme 10 rokov vývoja otvoreného softvéru! Utorok, 24. november 2026
O nás
Magazín
Otvorený softvér
CVS
Služby
Index  »  Projekty  »  phpMyEdit  »  Fórum  »  Use CGI persistent variables into Tiggers

phpMyEdit Configuration     Use CGI persistent variables into Tiggers
Odoslať novú tému   Odpovedať na tému    
 
guiro     Založený: 07.01.2004   Príspevky: 5  
Príspevok Zaslal: 2004-01-07 18:53
Návrat hore  Odpovedať s citátom     

I use $opts['cgi']['persist'] variables successfully but when I need these variables on a TIA tigger code the value becomes NULL.

Is there a special way to pass CGI persistent variables to tiggers? or am doing something wrong?

 
hbernard     Založený: 23.03.2003   Príspevky: 159   Bydlisko: FRANCE
Príspevok Zaslal: 2004-01-07 19:29
Návrat hore  Odpovedať s citátom     

Which code do you use to retrieve value ?

I would use
mycustomvar = $this->get_cgi_var("mycustomvar");

but I didn't test.

 
michal     Založený: 17.06.2003   Príspevky: 537   Bydlisko: Slovakia
Príspevok Zaslal: 2004-01-07 19:54
Návrat hore  Odpovedať s citátom     

or $mycustomvar=$_POST['mycustomvar'];

 
guiro     Založený: 07.01.2004   Príspevky: 5  
Príspevok Zaslal: 2004-01-08 00:28
Návrat hore  Odpovedať s citátom     

Finaly I use

$mycustomvar = $_REQUEST['mycustomvar'];

at begining of tigger code and works,

thanks to all

 
nepto     Založený: 06.01.2003   Príspevky: 320   Bydlisko: Phoenix, Arizona (USA)
Príspevok Zaslal: 2004-01-12 07:37
Návrat hore  Odpovedať s citátom     

Using phpMyEdit's internal get_cgi_var() method is suggested and desirable way.

Look at the code of that method to get idea why...

_________________
Ondrej Jombik (Nepto)
Visit my homepage , review my recent CV or projects and give me some feedback .
 
Odoslať novú tému   Odpovedať na tému    

Copyright © 2002-2006 Platon Group
Stránka používa redakčný systém Metafox
Na začiatok · Odkazový formulár · Prihláška
Upozorniť na chybu na PLATON.SK webstránke · Podmienky použitia · Ochrana osobných údajov