Skip to main content

All Questions

Tagged with
-1 votes
1 answer
118 views

How to pass a parameter to php file [duplicate]

I want to create an app in which you can drag-and-drop your local file and upload it to a web server. I made it. My next challenge is you can upload your file into a different folder depending on who ...
hopstepforward's user avatar
0 votes
0 answers
74 views

Why do base64 images not appear in Dompdf even though they are correctly generated?

I'm generating a PDF using Dompdf in Laravel. In my Blade view, I'm capturing parts of the page as images using html2canvas and converting them to base64. Example of my JavaScript code: const rondes = ...
Romain's user avatar
  • 49
0 votes
0 answers
28 views

AfterRendered Hook in Paged.JS [duplicate]

I am using paged.js together with Kirby CMS and p5.js. And it is working pretty well. My Problem: I need to get informed when paged.js is finished rendering the page layout. There should be a hook for ...
Skaend's user avatar
  • 27
-4 votes
0 answers
78 views

Issue in compressing and uploading video using javascript.,jQuery and php [closed]

I am create a video upload program where we upload video, compress it using js/jquery and then upload it on server using php I compressed the video successfully and preview the compressed video blob ...
domm's user avatar
  • 1
0 votes
2 answers
80 views

Session variable not updating during loop in PHP?

I'm facing a problem with my app. It's in a JS-PHP environment. I've made a minimal reproduced example below. script.js: function postToHandler(){ let xhr = new XMLHttpRequest(); xhr.open(&...
Abb's user avatar
  • 71
2 votes
1 answer
102 views

Why do I have to set up an infinite loop on an Event Source? [closed]

I'm trying to learn about how Event sources work in a JS-PHP environment. In my project directory, I have 3 mains files: script.js /agents/handler.php /agents/transmitter.php The script.js will post ...
Abb's user avatar
  • 71
0 votes
0 answers
32 views

PHP not updating global variable DURING loop? [duplicate]

I have a javascript file that sends XMLHttpRequests to a PHP file. The javascript file is something like this: let formData = new FormData(); formData.append("field1", ["mockdata1",...
Abb's user avatar
  • 71
-1 votes
1 answer
83 views

How to receive a "stream of input" using XMLHttpRequest object?

I have a javascript file which creates a XMLHttpRequest object and opens a connection to a PHP file and sends a form object to it. The Javascript file is like this: let formData = new FormData(); ...
Abb's user avatar
  • 71
-1 votes
0 answers
58 views

Array values discrepancy between backend and frontend [duplicate]

I've been working on a Wordpress plugin to retrieve a directory structure from my server and display it in a webpage. I have a working demo, but there is an issue that I don't understand. I construct ...
pGil9's user avatar
  • 1
-6 votes
1 answer
96 views

HTML form not submitting [closed]

I am trying to make a login form in html. But, when I click submit, the JavaScript code doesn't execute. Here is my JavaScript/jquery code: $('#login').submit(function(e) { e.preventDefault(); ...
user30097622's user avatar
0 votes
0 answers
55 views

How to open a custom registered Windows protocol handler?

I'm trying to trigger a custom Windows application from my PHP code using a custom protocol handler (videoplugin). I’ve registered the protocol in the Windows Registry and confirmed that it works when ...
Dev Chris's user avatar
1 vote
1 answer
81 views

Is there a way to assign a $product SKU a class id (for a copy to clipboard button)?

First, I want to say that I'm brand new to this, so please forgive any naivete that I may have: I'm trying to use a button to "copy-to-clipboard" a WooCommerce product SKU (on single product ...
ajumbz's user avatar
  • 33
1 vote
0 answers
39 views

WordPress, filter posts if a specific custom block is present on post

I am wanting to filter WordPress posts that have a specific block present. I have the initial tagging done and can see which posts have the block I am searching for. I tried using the query to do the ...
BOOM0's user avatar
  • 45
1 vote
1 answer
71 views

I have a problem with the events. I can't enlarge them. (resize)

I can't extend the appointment. Can someone please tell me what's wrong? document.addEventListener("DOMContentLoaded", function() { const calendarEl = document.getElementById('calendar');...
Mario's user avatar
  • 11
0 votes
0 answers
56 views

How to fix the problem with webtorrent "Invalid asm.js" or freezing when client.add?

I'm creating a streaming service. I need to use the magnet link to broadcast the video to the player. The problem is that the only library that does this for some reason does not work for me and gives ...
EugeneZZF's user avatar

15 30 50 per page
1
2 3 4 5
8800
X