i tried to connect to API. All auth I have good done, results are right. But response always take error code 2009 -> request is empty. PHP that works $login = ‘tester’; $wpass = ‘fdsaasdf’; $auth = …
Tag: php
How to match or replace a pattern of two appearances of one statement in RegEx? [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 last year. Improve this question I have a text like bellow: Ryan, Ryan needs to find his papers. I want to ch…
CollectionType elements missing data
I’ve embedded forms with CollectionType: and ‘battlePages’ is an ArrayCollection with many elements. But ‘$entity’ is empty however collection was walking through. My goal would be to get BattlePage entity’s data in the ‘BattlePageCollectionType’ which is my sec…
download an xml file on the local machine without saving it (php)
i’m trying to build a php script that download an xml file with data from a db, the problem is trying to save it in the webserver and then download it dosen’t work cause i don’t have the permission &…
Zend Framework 3 : Unable to resolve service as a factory
I already saw many threads about my issue but none of the was able to fix it.. Indeed, I made a factory for my FournitureTable Model and the error returned is : Unable to resolve service “…
MySQL select query and PHP convert as nested JSON object
I am try to retrieve unique object with nested object property and value, is there a possible way to retrieve as json object key and their child property and value SELECT id,name,year FROM `…
select option to fetch other inputs
What Im trying to do is select item name where is ID and if item selected it automatically adds that item serial number to serial number input. I think it should be used ajax maybe but I dont know how …
Cron – bad minute errors in crontab file, can’t install
So I have a cron file sms.cron that I want to execute every 15 minutes that looks like that: 15 * * * * docker-compose exec php bin/console app:send-sms I do not precise the path to the command …
How to keep only a part of an explode of a csv column in php?
I have this php code that allows me to read a csv file and add 10 columns at the end to decompose the column $data[23]. This column contains for example : M6-Min Ord Qty 6,GO-Good Support,RP-Removable …
WordPress – “Notice: Undefined variable”
It seems like there are some PHP errors in my code where the index variable is not set. How could I fix it? Fill About.php Errors I get Notice: Undefined variable: index in /home/r328061/koopia/wp-content/themes/plaza/about.php on line 51 Notice: Undefined variable: index in /home/r328061/koopia/wp-content/th…