| Index
» Projekty
» phpMyEdit
» Fórum
» How to set value of hidden field? |
 |
MSidenius
Založený: 21.09.2004
Príspevky: 3
Zaslal: 2004-09-21 20:17
Návrat hore
Odpovedať s citátom
|
Hi,
I would like to store the IP of the user changing a record. (I can get the user IP from $HTTP_SERVER_VARS['REMOTE_ADDR']).
My table has a "who" field for this, but I dont want to display to the user the value I am about to store. Any existing value must be overwriten. The field must in general not be visible in these forms (only at deletion I think).
Any good ideas out there. Should it be done with triggers, and in that case how ? (cant find any examples of trigger files)
TIA,
Michael
|
ajh
Založený: 17.12.2003
Príspevky: 236
Zaslal: 2004-09-22 21:49
Návrat hore
Odpovedať s citátom
|
Look at the 'php' option in the CVS version of PME.
|
hbernard
Založený: 23.03.2003
Príspevky: 159
Bydlisko: FRANCE
Zaslal: 2004-11-01 13:16
Návrat hore
Odpovedať s citátom
|
| ajh Napísal: |
| Look at the 'php' option in the CVS version of PME. |
it's in the CVS ?
_________________ hbernard - phpMyEdit updater.
|
|
Odoslať novú tému
Odpovedať na tému
|
|
|
|