ph_webclearblob PowerHome formula function
Description
Clears blob data in a PSP blob output page.
Syntax
ph_webclearblob ( )
Return value
Integer. Returns 0 if successful, 1 if an error ocurrs.
Usage
This function is only useful from within PSP pages. Every PSP page contains a blob output page. In a normal PSP page, output blob page is empty and the file is searched for formulas enclosed within PSP tags that are evaluated and then replaced with the results. The resulting file is then returned from the webserver. If data is added to the blob output page using the ph_webaddblob function, then the blob output page is instead returned from the webserver instead of the evaluated PSP. Use this function to clear data contained in the blob output page so that the evaluated PSP page will be returned.