I've created an online survey for my company, in which data is entered by a user and submitted to a mySQL table. I've been searching for a way to make this form available offline, but so far haven't found any help.
I wonder if there may be a way to save the data or write it to a txt file, which can then later be uploaded to the database?
is it possible to create a form that is functional offline?
Moderator: General Moderators
- feyd
- Neighborhood Spidermoddy
- Posts: 31559
- Joined: Mon Mar 29, 2004 3:24 pm
- Location: Bothell, Washington, USA
Generally that's not possible on the client machine as it's a security issue to store into a file. You could possibly store it into a cookie, but you're limited in the length of the cookie and quantity of cookies you may set for the site associated.
At any rate, that doesn't involve PHP, but Javascript or some other Client Side programming environment.
At any rate, that doesn't involve PHP, but Javascript or some other Client Side programming environment.
- John Cartwright
- Site Admin
- Posts: 11470
- Joined: Tue Dec 23, 2003 2:10 am
- Location: Toronto
- Contact:
You may wanna look at something like this - http://www.indigostar.com/microweb.htm
Works perfect for me.
Can run PHP/MYSQL sites off a CD, floppy, or whatever you want
Works perfect for me.
Can run PHP/MYSQL sites off a CD, floppy, or whatever you want