I thought i'd share with those of you unfamiliar with one of the cool things
about developing php on win32 systems..

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 [EMAIL PROTECTED] if
you would like to discuss this further.



-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to