Welcome Guest, Not a member yet? Register   Sign In
SparkPlug v0.4
#1

[eluser]Unknown[/eluser]
With Pascal Kriete's permission I have updated SparkPlug to work with CodeIgniter v2.

The credit belongs to Pascal Kriete as he did most of the hard work and I just updated a few lines to work with v2.

I haven't made a download for it but you can get the file from this link: http://sparkplug.googlecode.com/svn/trunk/SparkPlug.php

Usage copied from http://code.google.com/p/sparkplug/wiki/Usage:
Quote:Add SparkPlug.php to your application/controllers folder.

You can then access the scaffolding feature at: http://yourhost/SparkPlug/scaffolding/{table_name}

For example, to scaffold a table named 'users': http://yourhost/SparkPlug/scaffolding/users

If instead of scaffolding you want to generate the actual files: http://yourhost/SparkPlug/generate/users
This will OVERWRITE any previous versions of those files.

DO NOT include this file when pushing your website to a production server or any server that can be accessed publicly. It allows almost unrestricted access to your database by ANYONE.

If you have any improvements or suggestions, please let me know. Thanks!




Theme © iAndrew 2016 - Forum software by © MyBB