Hi! Is there any sample code available how to use properly this API ? zend_file_handle file_handle; file_handle.type = ZEND_HANDLE_FILENAME; file_handle.filename = "c:\php\hello.php"; file_handle.free_filename = 0; file_handle.opened_path = NULL; php_execute_script( &file_handle TSRMLS_CC ); While using above code in embed example shipped with PHP source I get an error: Unknown(0) : Warning - Unknown(c:\php\hello.php): failed to create stream: No such file or directory Unknown(0) : Warning - Unknown(): Failed opening 'c:\php\sql.php' for inclusion (include_path='.;c:\php4\pear') Can anybody share some light on using php_execute_script ?
-- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php