Products for USB Sensing and Control
It is currently Mon May 20, 2013 3:35 am

All times are UTC - 7 hours [ DST ]




Post new topic Reply to topic  [ 4 posts ] 
Author Message
PostPosted: Thu May 06, 2010 4:39 pm 
Offline
Phidgetsian

Joined: Thu May 06, 2010 12:01 pm
Posts: 12
Hi,

Is it possible to access the Phidgets Library from PHP? I was looking to create a webpage that would read from a Phidgets interface and display the results on a PHP Page?

Tom


Top
 Profile Send private message  
 
PostPosted: Fri May 07, 2010 9:38 am 
Offline
Phidget Mastermind

Joined: Mon Sep 28, 2009 9:04 am
Posts: 464
You could write a C program to display a PHP page ;)


Top
 Profile Send private message  
 
PostPosted: Fri May 07, 2010 9:59 am 
Offline
Lead Developer
User avatar

Joined: Mon Jun 20, 2005 8:46 am
Posts: 2345
Location: Canada
I don't know if PHP has a C interface, which is what you would need. I generally just do CGI for getting phidgets onto a webpage - ie C program that outputs HTML directly.

-Patrick


Top
 Profile Send private message  
 
PostPosted: Sat May 08, 2010 1:23 pm 
Offline
Phidgetsian

Joined: Thu May 06, 2010 12:01 pm
Posts: 12
Ah Ok,

Looks like I'm going to have to take the plunge and start learning C!

I presume if I want to use a TextLCD module to monitor inputs and simply display a message when one input is closed I would create a loop that would wait for the input event and then set the output?

Tom


Top
 Profile Send private message  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 

All times are UTC - 7 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB® Forum Software © phpBB Group