next up previous contents
Next: php::set_error_function Up: Function Reference Previous: php::eval_string   Contents

php::load

#include "php_cxx.h"

void 
php::load(const char *filename);

Description: Direct the PHP interpreter to parse all the code in filename. This function is really just a wrapper around the PHP builtin include_once.

Errors: Any internal errors during execution will result in the status flag (see php::status) being set to a nonzero value.



Andrew Bosworth 2008-03-24