10-24-2009, 12:39 PM
there is a export as PDF option in the php my admin console, is it possible to have access to this option thru code ?, for example i would like users to complete a form then they press submit and their form appears as a PDF, is that possible ?
10-24-2009, 04:31 PM
Without knowing anything about your "admin console", it's impossible to answer this question.
10-24-2009, 04:53 PM
it's the classical php my admin console. export TAB
php my admin
10-24-2009, 05:13 PM
Ah, you mean phpmyadmin (or, correctly, phpMyAdmin). That makes sense.
You really don't want to allow anyone access to anything through that. Well, unless you're testing how long it takes someone to screw up your database. You could extract their pdf related code and integrate it into your own system, but that's probably more effort than it's worth, and it might affect the licensing of your own code since phpmyadmin is GPL licensed.
It's best to stick with standard pdf conversion coding (like in the other thread). Or use a different conversion library or class to help.