http://www.phpbuilder.net/columns/alain20001003.php3
This is a good article, but i don't think the author hit the nail on the
head showing how useful this can be.
Now, checkout this article:
http://www.4guysfromrolla.com/webtech/040300-1.shtml
Notice how he describes 1) how to build a com object & 2) how to call and
use the com object from ASP.
In php, this is how you would call the same object:
<?
$instance = new COM("Checkyear.LeapYear");
$isleapyear = $instance->IsLeapYear($year);
$instance->close();
if($isleapyear) {
echo "The <b>$year</b> is a leap year";
}
else {
echo "The <b>$year</b> is not a leap year";
}
?>
I hope this helps someone.. you can contact me at ke...@vcconcepts.com if
you would like to discuss this further.
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, e-mail: php-windows...@lists.php.net
For additional commands, e-mail: php-wind...@lists.php.net
To contact the list administrators, e-mail: php-lis...@lists.php.net