Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.sys.raspberry-pi > #9177
| From | mm0fmf <none@mailinator.com> |
|---|---|
| Newsgroups | comp.sys.raspberry-pi |
| Subject | Re: web server that displays temp, humitdy etc |
| References | <ec97baf6-2ca7-4ec3-9b76-8445f2d23d59@googlegroups.com> <OVzrx.6890$vh6.5379@fx12.am4> <slrnmqu1bn.t4b.spamtrap42@one.localnet> <5c997b0a-9bf3-48e0-adcf-7cf52f6636c2@googlegroups.com> |
| Message-ID | <DzSrx.4579$577.3084@fx46.am4> (permalink) |
| Organization | virginmedia.com |
| Date | 2015-07-22 20:56 +0100 |
On 22/07/2015 12:33, Glen_Ossman@ossman-cg.net wrote: > Gents > > you gave me some good ideas > that Py code can't be run by a web page Access denied > you can only SUDO the code > > so i am thinking that root cron every 10 minuets and then read the file using html or PHP > > I am a net coder and example or help would be appreciated > > motion is up and running on port 8081 and can be accessed by 127.0.0.1:8081 > > so i need a frame to run it in full page ? with the text on both sides pulled from the file ? > > i think that will work? > Why does it have to be run as root? You should find out why and fix it by using the correct accounts and permissions. Can I suggest you also use Python3 not Python2. There's nothing wrong with Python2, I used it myself for everything until relatively recently. But moving to Python3 means you are facing the future not the past.
Back to comp.sys.raspberry-pi | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Re: web server that displays temp, humitdy etc Glen_Ossman@ossman-cg.net - 2015-07-22 04:33 -0700
Re: web server that displays temp, humitdy etc Martin Gregorie <martin@address-in-sig.invalid> - 2015-07-22 18:15 +0000
Re: web server that displays temp, humitdy etc mm0fmf <none@mailinator.com> - 2015-07-22 20:56 +0100
Re: web server that displays temp, humitdy etc David James <david@tcs01.demon.co.uk> - 2015-07-22 21:01 +0000
Re: web server that displays temp, humitdy etc Glen_Ossman@ossman-cg.net - 2015-07-22 14:11 -0700
Re: web server that displays temp, humitdy etc mm0fmf <none@mailinator.com> - 2015-07-22 22:33 +0100
Re: web server that displays temp, humitdy etc Glen_Ossman@ossman-cg.net - 2015-07-22 15:16 -0700
Re: web server that displays temp, humitdy etc Martin Gregorie <martin@address-in-sig.invalid> - 2015-07-22 22:51 +0000
Re: web server that displays temp, humitdy etc Gordon Henderson <gordon+usenet@drogon.net> - 2015-07-23 17:11 +0000
csiph-web