alertboxes in PHP

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
terji
Forum Commoner
Posts: 37
Joined: Tue May 14, 2002 5:27 pm
Location: Denmark

alertboxes in PHP

Post by terji »

Is it possible to create an alertbox in PHP :?:
If it is, how is it done :?:
User avatar
fatal
Forum Contributor
Posts: 118
Joined: Sat Apr 20, 2002 10:47 am
Location: East Coast

Post by fatal »

you would still have to do it with JScript, php doesnt support that
User avatar
phphead
Forum Newbie
Posts: 12
Joined: Tue May 28, 2002 11:03 pm
Location: California

Post 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);
?>
Post Reply