Skip to content

2ba web API post request with php curl

Im using 2ba its API to receive product information which I later on want to store inside my database. I am trying to create a post request for receiving the data I need. This is the request I want to get to working. And this is my code: postApiData.php index.php My API key does for sure work since I have

Sending Data from PHP to Javascript to PHP

I don’t understand how to explain my question, but I’m trying to say what I wanted to do. I have created a modal to submit ‘payment’ for each person. I have created the list of person in a table with PHP loop, and a button against each person so that payment can be done by clicking the…

Are PHP session writes atomic?

As PHP session handler was somehow flawed in the past, we developed a homemade session handler years ago. But it seems that current versions of PHP are well developed and flaws are gone, and we decided to use PHP’s default session handler (as it is much faster than our handler which uses dbms to save se…

Creating a WordPress URL Redirect

I’m having a little trouble setting up a WordPress URL redirect. I’ve designed an ECommerce website with WooCommerce and I’d like to add a search bar that allows me to search filter products in the shop. I’ve added the default WordPress search function and that works fine, however it d…

How i can make php sort by value name [closed]

Closed. This question needs to be more focused. It is not currently accepting answers. Want to improve this question? Update the question so it focuses on one problem only by editing this post. Closed 1 year ago. Improve this question i want to make which one is “live” at “status” case…

Get Children PID using Parent PID from PHP

For context: I am spawning a Java application from PHP, using xvfb-run. Now, this process creates a parent PID for the xvfb-run and couple more children PIDs corresponding to Xvfb and java process. …