Problem I would like to know is there any PHP/NodeJS API available to convert editable PDF to non-editable PDF online. We have a client application where we need a scenario where the user downloads the PDF should not able to modify it thought any software (eg. Foxit reader, Adobe) Basically, we are using PDF-…
Tag: node.js
Execute node script in php from remote server
I have a web application that interacts with API. In html file is an element with onclick property for this function: Then index2.php has written only this code: <?php exec(“/usr/local/bin/node script.js”); ?> The script.js is just a file which is executed. Everything works fine on my maschi…
How can I extract bookmarks(TOC) of a PDF file using NodeJS/ReactJS/PHP?
Everyone must have seen that when you open a pdf in the browser or acrobat pdf reader a bookmarks tabs shows up just like this one In case pdf does not have bookmarks the list will be empty. So I am looking to fetch these bookmarks from the pdf using nodejs/react/php. Answer This is the link to the official d…
How to handle sign up a user error while using Firebase REST API
I’ve been trying to sign up a user using Firebase Rest API using Node & Axios HTTP library. I’m able to create a new user with email and password. But when email already exists in the database or password is less than 6 characters, it doesn’t show the proper errors. It just returns Reque…
Microservice Clients Circular Dependency
In a Microservice architecture, using client packages to communicate between services, we ran into an issue where two client packages depend on each other, creating a circular dependency. We are trying to figure out the best solution for this and I’m wondering if anyone would be able to help or point us…
External JS file engine — manipulating db using node.js? PHP?
Admittedly, I’m new to some of this… Building a website on a local server. It has a ton of JS function in an external JS file. Site has a MYSQL DB. (I am still learning this). As part of my …
Node js can not read the data from curl request via php
I have a problem to read the data I sent via curl request in nodejs. With Postman everything is working properly, but when I try to send request via curl, the api return 500 internal server error and I don’t know where is the mistake. so here is my php code so now I will share with you the part
Color show not properly in the js tree
I have a problem to get the color in the js tree. Below is my coding: This is javascript: My output cannot follow the number to present the color if I’ve added “$testing” variable word in the front of the number.Like below the picture: Actually I want the output like below the picture. The c…
Event listener is listening but doesn’t get triggered from event
Hi I’m currently learning Vue.js with Laravel and tried to develop a teamchat. I used redis instead of pusher because of financial reasons and used this laravel echo server for the echo server. The …
How can i store following image using nodejs
I’m scraping the data from the website in order to scrape further data i need to solve captcha that i’m thinking of giving user to solve but site uses language PHP after some digging site is using PHP-GD that i need to scrap as image but URL giving me some values that i don’t know how to pro…