I was first trying to post the zip during lunch at work and my boss came into talk to me and I guess I clicked on Post Now before adding attachment.
On the second attempt, I clicked on the Post Attachment checkbox and then browsed to a CD-RW containing the zip and got a fatal error that caused WIN2K to reboot.
I can help with MySQL. Contact me via email and describe what the problem is.
- Gordon
"Remember the days when you could go into a store and ask the store manager when something they were out of was coming in? Whatever happened to that? Store managers these days only know that 'corporate' is sending a truck next Tuesday. They have no idea what's on it... What a way to do business."
<BLOCKQUOTE class="ip-ubbcode-quote"><font size="-1">quote:</font><HR>Originally posted by Dale Higgs:
Here is the plugin. This will hold everyone over until HomeSeer integrates direct PHP support.
...and here is an example for the PHP script:
<pre class="ip-ubbcode-code-pre"><?
$myspk = "The current HomeSeer uptime is ".$hs->SystemUptime();
$hs->speak($myspk);
echo $myspk;
?>
</pre>
Best Regards,
Dale Higgs (Synthesize)
Website: http://www.synvb.com/ <HR></BLOCKQUOTE>
Dale -
Does your plugin removes the need to declare the COM object for HomeSeer in the php script?
<pre class="ip-ubbcode-code-pre">
$hs = new COM("HomeSeer.Application");
</pre>
I got the following error:
Script error: Invalid procedure call or argument Response.Send hs.Plugin("PHPin").ExecPHP("index.php")
From the HomeSeer webserver. I created a file index.asp with your code in it. I also created a file called index.php with the PHP code in it, and stuck it in the same directory.
My HomeSeer is running on Port 82, because I have Apache/PHP/MySQL set up on Port 80.
It seems that the only way I could duplicate that error was if I didn't have the plugin installed and added to the interfaces. You need to go to View>Options>"Interfaces" tab>Plug-Ins and select PHPin in the drop down and then close the options dialog and restart HomeSeer. Let me know if this was your problem or not.
Comment