Posts by Matheus Prado • 153 points
9 posts
-
1
votes1
answer75
viewsA: Similar function to imagecreatefrom for . doc/docx and pdf in PHP
In fact functions started in imagecreatefrom do not clean malware, at least none of this is specified in documentation. As for security, if someone injects some malicious code into an image file or…
phpanswered Matheus Prado 153 -
2
votes1
answer59
viewsA: Cache problem with ajax(text files)
This is cache. Try the following. On the line. xhttp.open("GET", texto, true); Exchange for: xhttp.open("GET", texto + '?_now_=' + ((new Date()).getTime()), true); Add the current time in the…
-
1
votes1
answer1069
viewsA: How to take data from a dynamic HTML table to register?
When you mount the HTML responsible for the table. You should put a [] in front of the name and use the tag form as well instead of mounting the request data manually. Example: <input type="text"…
-
1
votes1
answer51
viewsA: Shows days with pouch ignoring today with return JSON
Hello. This is a logic problem. Usually it is not something that should be solved here. But I will give you a code that works, but is not 100% cut. This code does not check for example when every…
-
2
votes1
answer1034
viewsA: How to pass parameter to modal, query Mysql and return in html
In this line within the Success function you are using . html() without passing any arguments to the . html function(). $modal.find('.edit-content').html();
-
-1
votes1
answer256
viewsA: Sending image with phpmailer
Try switching to $mail->addAttachment($_FILES['arquivo']['tmp_name']). I’m not sure how the method addAttachment works, but I guess he wasn’t prepared to read the key tmp_name alone.…
-
2
votes1
answer1336
viewsQ: How to convert video with php without using ffmpeg?
I was wondering if there is any way to convert videos in PHP without using ffmpeg, because my hosting doesn’t allow you to install anything. If you can’t, someone knows of an API that can convert…
phpasked Matheus Prado 153 -
0
votes2
answers315
viewsA: Exclusion ajax + jquery
Check that the id on tr is being sent even by ajax, if it is not being sent try changing your javascript. If you have . btn_Excluir inside tr, use it as selector and to catch the id of tr through .…
-
0
votes1
answer408
viewsQ: Problems with the Instagram API?
Hello. I need to pick up several Instagram posts and for that I made a simple classes using CURL to pick up Json from Instagram. For this I used a token and a normal userid. When the first request…