TIP: Click on subject to list as thread! ANSI
echo: rberrypi
to: ALL
from: A. DUMAS
date: 2020-09-10 23:36:00
subject: Re: Pi Hardware

Op 10-9-2020 21:38, NY wrote:
> Yes I'd already identified that cron would be a good way of triggering
> the upload. It's a matter of working out what can be run (via cron) at
> the Pi which makes a remote web server add data to an SQL database held
> on its server, preferably searching for each row of data that is about

The normal solution for simple webhosting with no outside facing
database, is: make a PHP script on the web server that receives your
data, maybe via a form upload, maybe directly as a query parameter; that
processes the data and connects to the database to save it. AKA build
your own API. Make sure you add some sort of login and/or secret key
and/or checksum. Also make sure that you sanitize your input before
throwing it to the db, even if it is just you!

--- SoupGate-Win32 v1.05
* Origin: Agency HUB, Dunedin - New Zealand | FidoUsenet Gateway (3:770/3)

SOURCE: echomail via QWK@docsplace.org

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.