Welcome to my_alert: A PHP-JS based Alert System!
It Uses JS actually to make alert-boxes & PHP for the easiest-maintanence of codes.
How to Use?
Upload the Directory “my_alert” to your server root. Remember, this location is important, since we will be including source files from this directory.
You may also use your own directory, in that case configure it at my_alert.php
Next steps are simple:
Open the page where you want to use my_alert. On the Document HEAD, type the following:
<?php require_once('my_alert.php'); // This is the location where the file is stored. my_alert_head(); ?>
On the Document BODY, type following code:
<?php my_alert_body(); ?>
IT’s done! Now you can use my_alert whenever on your Page!
By PHP, you can type following to add a simple alert:
There are More Opportunities!
*Explore the source-codes to use the self-explained functions!
*Change the css files as necessary to use your customized message boxes!
*In PHP, you can use a my_alert_die(*parameters*) function to show an alert-box & then die or die_back!
Works Best with Firefox & Opera. Also works in Explorer.
The product is Open-Source, & free, of course. However, when using directly, or being customized, you must keep the Author-information intact for legal use.🙂
Progmaatic Developers Network || bdhacker.wordpress.com
You may also jump to: https://bdhacker.wordpress.com/my_alert