when i load the page i get an error saying: Warning: dl() [function.dl]: Not supported in multithreaded Web servers - use extension=php_w32api.dll in your php.ini in Z:\www\win32_test.php on line 2 Fatal error: Call to undefined function w32api_register_function() in Z:\www\win32_test.php on line 3 i already made sure the line "extension=w32api.dll" is uncommented and the dl() function is enabled in the php.ini file and the actual w32api.dll IS in my extensions folder. here's my code:
function mBox()
{
dl("php_w32api.dll");
w32api_register_function("User32.dll","MessageBoxA","long");
MessageBoxA(NULL, $str, "blahblahblah", MB_OK);
}