| Index
» Projekty
» phpMyEdit
» Fórum
» Use CGI persistent variables into Tiggers |
 |
guiro
Založený: 07.01.2004
Príspevky: 5
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
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
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
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)
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
|
|
|
|