[2 days left] What’s wrong with your cloud strategy? Learn why multicloud solutions matter with Nimble Storage.Register Now

x
?
Solved

Signature Canvas

Posted on 2016-10-06
6
Medium Priority
?
95 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 111

Accepted Solution

by:
Ray Paseur earned 1400 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 600 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
Moving data to the cloud? Find out if you’re ready

Before moving to the cloud, it is important to carefully define your db needs, plan for the migration & understand prod. environment. This wp explains how to define what you need from a cloud provider, plan for the migration & what putting a cloud solution into practice entails.

 
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

Important Lessons on Recovering from Petya

In their most recent webinar, Skyport Systems explores ways to isolate and protect critical databases to keep the core of your company safe from harm.

Question has a verified solution.

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

Originally, this post was published on Monitis Blog, you can check it here . In business circles, we sometimes hear that today is the “age of the customer.” And so it is. Thanks to the enormous advances over the past few years in consumer techno…
In this article, we’ll look at how to deploy ProxySQL.
The viewer will the learn the benefit of plain text editors and code an HTML5 based template for use in further tutorials.
Learn how to create flexible layouts using relative units in CSS.  New relative units added in CSS3 include vw(viewports width), vh(viewports height), vmin(minimum of viewports height and width), and vmax (maximum of viewports height and width).
Suggested Courses

656 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