You haven't shown us any code where $tbuf would be assigned a value. Is it meant to be passed in via get post or session? If so, the problem will be that register_globals is switched off in your php.ini file (as it has been by default for the last few releases of php). Otherwise, you need to show the code where $tbuf is meant to be set. Cheers -- Phil Driscoll -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php