Menu

THIS IS THE 3.0 SQL SCHEMA

Help
Anonymous
2012-04-10
2013-06-03
  • Anonymous

    Anonymous - 2012-04-10

    https://gist.github.com/2353326

    To at least add Some defense against hackers, you also want to change line 116 in "genCode.php" from
                    $query_str .= "'\" . \$_POST . \"'";
    to
                    $query_str .= "'\" . mysql_real_escape_string(\$_POST) . \"'";

    There is seriously zero security in these forms… No wonder people had reported getting hacked :-/
    They're also written seemingly without any knowledge of modern (i.e, past 15 years) coding practices. While I applaud the effort on making such a useful tool, following OOP (and good PHP coding practices) would have made this much much much much easier…

     
  • Anonymous

    Anonymous - 2012-04-10

    Also, this code seems abandoned… If it really is, if there is interest, I'll move this over to a github and recode/maintain it :-)

     
  • Anonymous

    Anonymous - 2012-04-10

    oh, and also in the root directory, create a folder 'tmp', and inside that create a folder 'persistent'. That should be it :-)
    You can download it from his repo, here: http://phpformgen.cvs.sourceforge.net/viewvc/phpformgen/v3/?view=tar

     
  • Thinlinedata

    Thinlinedata - 2012-04-24

    I am getting the following error:

    Program malfunction, please start over. Query string: form_id=

    Also you dont tell us which genCode.php should be updated with the code you mention. There are several genCode.php files in your download.

     
  • Thinlinedata

    Thinlinedata - 2012-04-24

    Alright nevermind, all works now, I just forgot to add server specs to connect to the db. Works like a charm!

    Now all we need is someone to update the generator for it to really work well. If you want to hook up with this project and work together please do say so. I have a CRM extension I would like to add to it. Hit me up!

     

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.