PHP

Moderators: None (Apply to moderate this forum)
Number of threads: 1845
Number of posts: 5013

This Forum Only
Post New Thread
Single Post View       Linear View       Threaded View      f

Report
Need advice Posted by Joeb on 17 Dec 2011 at 9:41 AM
I have a pc set up in my greenhouse that has a controller connected to it via the com port. I use Teraterm to view the data and change it. Teraterm has a feature that will log anything so I can write to a space delimited text file the data coming from this board. In the software on the board I can have this updated every minute, 5 minutes, 10 minutes and up. I basically get temperatures, relays that are open or closed and a date stamp. I could just log into the network from any pc to view this data but want to make a webpage that will give me more information.

I need a way to dynamically update a webpage and read this log file so I can have more information becasue there are 8 temperature sensors and 4 relays I want more details than just 8 temperatures in a row and not remembering what they are and where they are in the greenhouse. I will also use a color background for each temperature so I visually can see green is a go and yellow is a warning I am getting close to red not so good and I have problems.

I would also like to use a text message/email setup when something goes to yellow and red so I can be notified and get out there and do something about it. The web page will be for me to see whats going on anywhere and message system to fix things with a helper. I will be putting 3 more controllers on the PC so once I do the first one it should be easy on the next.

Would PHP be the way to go to do this? I have dabbled with PERL and JAVASCRIPT a long time ago. I have heard about Ajax but do not know anything about it.
Report
Re: Need advice Posted by nice123 on 6 Mar 2012 at 1:37 PM
This can be done in PHP as well as in PERL. It is entirely up to you. JavaScript won't help you here.
Web Directory



 

Recent Jobs

Official Programmer's Heaven Blogs
Web Hosting | Browser and Social Games | Gadgets

Popular resources on Programmersheaven.com
Assembly | Basic | C | C# | C++ | Delphi | Flash | Java | JavaScript | Pascal | Perl | PHP | Python | Ruby | Visual Basic
© Copyright 2011 Programmersheaven.com - All rights reserved.
Reproduction in whole or in part, in any form or medium without express written permission is prohibited.
Violators of this policy may be subject to legal action. Please read our Terms Of Use and Privacy Statement for more information.
Operated by CommunityHeaven, a BootstrapLabs company.