Re: Completing forms offline with PHP/MySQL

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I haven't thought about this much, but I'd probably create an onSubmit
handler, that would hide the form in an iframe, and create a new one. I
would then when they are online, submit all the forms.

This would require the user to keep the browser window open and at the same
page. Alternatively you could have the user allow the script to write files
to the local hard disk, and store the form data there. Making a .hta file
would probably be the easiest way to do this on windows.

On 4/7/06, Miles Thompson <miles@xxxxxxxxxxxxxxxxx> wrote:
>
> At 01:06 PM 4/7/2006, Kevin Davies - Bonhurst Consulting wrote:
>
> >Hi,
> >
> >Apologies if this is the wrong place for this question, but I'm sure
> there
> >are some experts out there who might be able to point me in the right
> >direction... :)
> >
> >I'm doing some work at the moment where remote teams can submit reports
> >through to our database when connected over the internet to our server.
> >However, I've been asked to look in the possibility of the teams
> completing
> >the form offline, and uploading when they have access to a connection.
> >
> >It looks like I might be able offer something like Microsoft InfoPath
> forms
> >(better recommendations?) to generate an XML file, and then use a PHP
> file
> >to upload the file into the database. Additionally, I could also do with
> >this process uploading a number of other files (e.g. images, text files)
> to
> >the server.
> >
> >Does anyone have any experience in this area, and would be able to
> recommend
> >a solution?
> >
> >Thanks in advance for your help...
> >
> >Kevin
>
>
> PHP-GTK+
> GTK+ front end, laid out using wGlade (which creates an XML-like file with
> a .glade extension), and of course, PHP for all of your logic.
>
> Works
>
> Miles
>
>
> --
> No virus found in this outgoing message.
> Checked by AVG Anti-Virus.
> Version: 7.1.385 / Virus Database: 268.3.5/303 - Release Date: 4/6/2006
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>

[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux