Date: 08/02/01
- Next message: Peter Bowyer: "Re: [phplib] Undefined index: in Template"
- Previous message: Jarno Huuskonen: "[phplib] Session ID randomness/security ?"
- In reply to: Peter Bowyer: "[phplib] Undefined index: in Template"
- Next in thread: Peter Bowyer: "Re: [phplib] Undefined index: in Template"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
At 2:03 PM +0100 2/8/01, Peter Bowyer wrote:
>I keep getting the following error:
>Warning: Undefined index: recipient in ./include/template.inc on line 210
Hi Peter,
This is a warning message only. It is (relatively) safe to ignore it.
There's nothing wrong with your code.
The warning is caused by lack of error checking in get_var. In particular,
no attempt is made to verify that a variable is set before accessing it.
This bug and many others are fixed in my version of template.inc which you
can grab from:
http://mel01.juggernaut.com.au/templates/phplib/template.txt
...R.
-- Abbestellen mit Mail an: phplib-unsubscribe <email protected> Kommandoliste mit Mail an: phplib-help <email protected>
- Next message: Peter Bowyer: "Re: [phplib] Undefined index: in Template"
- Previous message: Jarno Huuskonen: "[phplib] Session ID randomness/security ?"
- In reply to: Peter Bowyer: "[phplib] Undefined index: in Template"
- Next in thread: Peter Bowyer: "Re: [phplib] Undefined index: in Template"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

