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
Solved

Signature Canvas

Posted on 2016-10-06
6
72 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
  • 3
  • 2
6 Comments
 
LVL 109

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
PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

 
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

Ransomware: The New Cyber Threat & How to Stop It

This infographic explains ransomware, type of malware that blocks access to your files or your systems and holds them hostage until a ransom is paid. It also examines the different types of ransomware and explains what you can do to thwart this sinister online threat.  

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Inserting data into database 10 35
ASP.NET Content Page 3 25
Undefined variable problem 5 22
really easy css change help please 4 18
These days socially coordinated efforts have turned into a critical requirement for enterprises.
3 proven steps to speed up Magento powered sites. The article focus is on optimizing time to first byte (TTFB), full page caching and configuring server for optimal performance.
In this tutorial viewers will learn how to embed an audio file in a webpage using HTML5. Ensure your DOCTYPE declaration is set to HTML5: : The declaration should display (CODE) HTML5 is supported by the most recent versions of all major browsers…
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).

840 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