Have a look at this example: http://www2.photoimaging.com.au/pages/currentpage.taf?record_ID=34340
Notice in the early part of the code the APPFILEPATH is correct '/path/', but later on it has reverted to root '/'. The system (a fairly comprehensive content management system) works now because I assign the APPFILEPATH to a local VAR called APPPATH at the beginning and rely on it from then on. That said, it's a bit of a kludge and causing me to rewrite code that has been stable for years. Wayne Irvine Byte Services Pty Ltd http://www.byteserve.com.au/ [EMAIL PROTECTED] Ph 02 9960 6099 Mob 0409 960 609 Fax 02 9960 6088 ________________________________________________________________________ TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf