ns_adp_tell

Returns the number of bytes currently in the ADP output buffer.

Syntax

ns_adp_tell

Description

This function returns the total number of bytes already built by your script. This is helpful if you want to guess the Content-Length of the page your script is putting together.

This function is a wonderful way to throttle pages that can get too large for the client to handle due to modem speeds and other factors.