Page 1 of 1

alertboxes in PHP

Posted: Tue May 28, 2002 11:34 am
by terji
Is it possible to create an alertbox in PHP :?:
If it is, how is it done :?:

Posted: Tue May 28, 2002 11:37 am
by fatal
you would still have to do it with JScript, php doesnt support that

Posted: Tue May 28, 2002 11:03 pm
by phphead
it depends on if you're making a console script or web based application.
if you're making a console script on win32 :twisted: you could use this.

Code: Select all

<?php
dl ("path\to\extensions\php_w32.dll")
w32api_register_function("User32.dll", "MessageBoxA", "long"); MessageBoxA(NULL, "Hello World!",   "This is your message", 0);
?>