[Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 100
  • Last Modified:

Signature Canvas

I have this script and i need to work on all device specially mobile and tablet.

The script also isnt inserting into the db

For the db and other file please see attached.
index.php
post-html.php
pad.sql
0
RiccardoQuest
Asked:
RiccardoQuest
  • 3
  • 2
2 Solutions
 
Ray PaseurCommented:
This expert suggested creating a Gigs project.
You listed Java and Delphi among the zones.  I think you may want to add the JavaScript and jQuery zones.  A moderator can help you add those zones.  Just use the Request Attention link.

Since this is not a question with an "answer" but more of a requirement for help developing an application, you might want to consider using E-E Gigs.

You will also want to get off MySQL.  Here's why and what you must do to keep your application running in the future.
https://www.experts-exchange.com/articles/11177/PHP-MySQL-Deprecated-as-of-PHP-5-5-0.html
0
 
RiccardoQuestAuthor Commented:
Delphi was added automatically sorry in regards to that.

i am slowly learning to get away from mysql on mysqli.

However this project is in mysql and i do have an issue are you able to shed some light?
0
 
Slick812Commented:
greetings RiccardoQuest, , ,  I looked at the code in your  index.php and it has many lines of javascript and several many functions in that JS, , it does not seem very efficient, as the redraw function clears the canvas, and then REDRAWS all of the clickX[ ] and clickY[ ] , which have already been drawn on the canvas BEFORE with the mouse move? ? ?

and you have this fuction call -
      addClick(e.pageX - this.offsetLeft, e.pageY - this.offsetTop);
with ONLY two prameters, and then the function definition as -
      function addClick(x, y, dragging) {
with three parameters, ,this seems incorrect to me? ? ?

also the code for your XMLHttpRequest() does not seem to be in a correct progression and code setup?

you say your problem is -
   " i need to work on all device specially mobile and tablet. "

but I do not see ANY CSS for responsive variable width considerations that the "mobile and tablet" usually need? ? ?

I no longer even remember the old MYSQL, and will not work with that. But for me to try and redo the javascript in the index.php, would just take more time than I have.

What kind of advice or corrections from experts do you require for this?
0
Free learning courses: Active Directory Deep Dive

Get a firm grasp on your IT environment when you learn Active Directory best practices with Veeam! Watch all, or choose any amount, of this three-part webinar series to improve your skills. From the basics to virtualization and backup, we got you covered.

 
Slick812Commented:
You may should use a JS Canvas  add on, that has already been configured and tested to do mouse move line drawing and image save, other than trying to do the probally lengthy code work and testing for a robust line draw and image SAVE result.
0
 
RiccardoQuestAuthor Commented:
Thank you is there a sample of this or do u have a link because i am struggling with it and i need the signature to save into a php database table.
0
 
Slick812Commented:
question closed with points split
0

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

  • 3
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now