CodeIgniter Forums
Need to capture user signature - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forum-20.html)
+--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forum-23.html)
+--- Thread: Need to capture user signature (/thread-36146.html)



Need to capture user signature - El Forum - 11-23-2010

[eluser]Frank Rocco[/eluser]
Hello,

Would ci be a good choice to create an app that allows users to sign (signature)
and store this image into a database?

It would need to run on a tablet pc.

Is there any php code to do this?

Thanks


Need to capture user signature - El Forum - 11-23-2010

[eluser]Deveron[/eluser]
Hi Frank,

i'am sure CI can do a great job on this.
Take a look at the User Guide "Image Manipulation Class".

http://ellislab.com/codeigniter/user-guide/libraries/image_lib.html


Need to capture user signature - El Forum - 11-23-2010

[eluser]Narkboy[/eluser]
CI or not won't make much of a difference.

You need a broswer plugin or client-side script that can capture touch input, translate it to an image and upload it to the web server. PHP can't really help you until you have data arriving at the server.

Running on a tablet PC is no problem - just adjust for screen resolution. However - ensuring that the user is not asked to sign on a system that DOES NOT take touch input will be harder.

From a PHP standpoint, this is no different to asking users to provide an avatar - PHP doesn't care how the image care into being.

On the PHP-side, though, you're going to need some pretty impressive security to guard user signatures, and a whole heap of trust from your users to be given that kind of information.

Try looking at touch-specific client-side scripts - javascript or smart phone api would be where I would start.

/B


Need to capture user signature - El Forum - 11-23-2010

[eluser]Frank Rocco[/eluser]
Thank you