Solved

Signature Canvas

Posted on 2016-10-06
6
77 Views
Last Modified: 2016-11-01
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
Comment
Question by:RiccardoQuest
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
6 Comments
 
LVL 110

Accepted Solution

by:
Ray Paseur earned 350 total points (awarded by participants)
ID: 41832334
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
 

Author Comment

by:RiccardoQuest
ID: 41832346
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
 
LVL 34

Assisted Solution

by:Slick812
Slick812 earned 150 total points (awarded by participants)
ID: 41834181
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
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 34

Expert Comment

by:Slick812
ID: 41834203
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
 

Author Comment

by:RiccardoQuest
ID: 41839822
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
 
LVL 34

Expert Comment

by:Slick812
ID: 41868061
question closed with points split
0

Featured Post

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.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Problem with MySQL query - graph 3 25
How to use 2 ON statements in inner join 3 25
AngularJS: ng-repeat 25 24
html5 1 15
This article discusses how to create an extensible mechanism for linked drop downs.
Introduction This article is intended for those who are new to PHP error handling (https://www.experts-exchange.com/articles/11769/And-by-the-way-I-am-New-to-PHP.html).  It addresses one of the most common problems that plague beginning PHP develop…
In this tutorial viewers will learn how to embed Flash content in a webpage using HTML5. Ensure your DOCTYPE declaration is set to HTML5: "<!DOCTYPE html>": Use the <object> tag to embed Flash content.: To specify that the object is Flash content, d…
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…

749 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question