Menu

Form to database.

General
2006-01-02
2013-04-11
  • Nobody/Anonymous

    I found the mvp method to upload form data or image files to a folder and to an email address, but how do you point the form data toward applications and also, if you upload a file to a folder, how do you put the url into a MySQL database.

     
    • John Wildenauer

      John Wildenauer - 2006-01-04

      G'day ...,
      >how do you point the form data toward applications
      Do you mean form handling and validation?

      HowTo - Form Handling and Validation in php.MVC

      PEAR QuickForm and Table Classes

      Form handling and validation in php.MVC using using PEAR QuickForm and Table.
      
      Online demos:
       None
      
      Download php.MVC/QuickForm example:
       http://www.phpmvc.net/download/rel/pear-table-and-quickform-v1.0.tgz
       http://www.phpmvc.net/download/rel/pear-table-and-quickform-v1.0.zip
      
      PEAR QuickForm and Table project page:
       Pear HTML\_QuickForm
       http://pear.php.net/package/HTML\_QuickForm
      
       Pear HTML\_Table
       http://pear.php.net/package/HTML\_Table
      
      Pros:
       \- ?
      
      Cons:
       \- ?
      
      PhpLIB::OOH Forms
      

      Form handling and validation in php.MVC using PhpLIB's OOH Forms.

      Online demos:
      http://phpmvc.net/demo/oohforms/index.php

      Download php.MVC/PhpLIB example:
      http://www.phpmvc.net/download/rel/oohforms.tgz
      http://www.phpmvc.net/download/rel/oohforms.zip

      PhpLIB project page:
      http://sourceforge.net/projects/phplib/

      Pros:
      - Works well
      - Mature technology
      - Other modules are included in PhpLIB, like authentication, ...

      Cons:
      - Not updated for some time
      - Generates some array indexing errors with PHP error reporting on high
        

      PHP5/OOHForms Issues:
      php.ini
      --- cut ---
      ; HTTP_GET_VARS and friends.
      register_long_arrays = On
      --- cut ---

      ---~~~---

      Regards
      John

       
    • John Wildenauer

      John Wildenauer - 2006-01-11

      G'day ...

      >if you upload a file to a folder, how do you put the url into a MySQL database.

      Have a look at this example:

      Updated File Uploading Example
      http://www.phpmvc.net/download/rel/file-upload-n-store-fs-v1.0.zip
      http://sourceforge.net/forum/forum.php?thread_id=1418473&forum_id=231942

      Not exactly what you ask, but it might give you some clues ...

      Does that help

      John

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.