![]() |
Online PHP Generator
I thought I'd make a php-mysql generator that people can use on-line. Just for quick small jobs. I'm planning to extend it, so if you have any ideas let me know.
So far you can generate simple pages to add, edit, delete records and menu strip at the top to switch between pages. It also generates SQL file to create database structure. And the cool feature is that you can preview the result instantly. Just press one button and you can test what you have done. I hope someone finds this useful. http://freephpgenerator.com/ |
Give it a shot but it's throwing this:
PHP Code:
|
You also have javascript errors (undefined variables when fields are filled in and/or check boxes are altered). So there are some kinks to be worked out with the user interface in your page.
I was able to generate (I presume, though I didn't actually download the file offered) so that may work just fine, but your preview funcitonality is definitely borked as MarkR mentioned. I received a different error though: Code:
Warning: file_put_contents(e6fdd60c9e6ff2b4a239114faae22454/) [function.file-put-contents]: failed to open stream: Is a directory in /home/detad/public_html/freephpgenerator.com/generator.php on line 79Running user-entered PHP on your site is extraordinarily dangerous so I hope you have been VERY careful with filtering what code actually gets executed on your server. |
As far as we look at generating codes is a good idea but as Rowsdower! said, i would suggest not to keep preview php.
generally, public going to misuse it by injecting dangerious php codes, hijacking script, editing,removing your server files. |
Receiving Errors.
PHP Code:
|
More errors.
PHP Code:
|
Sites down :(
Would of liked to test this out. |
http://freephpgenerator.com/ This site is not working.
|
| All times are GMT +1. The time now is 01:47 PM. |
Powered by vBulletin®
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.