I have a directory of files which are downloaded by users package managers using the direct link to the file. I’m trying to set up file logging, so I can get statistics on the downloads. I’m using this script I found on GitHub: https://github.com/iNamik/PHP-Download-Tracker I’m using the above scr…
The value of my variable is changing In another file
I got this varible: My problem is that the user can change the value in #box. So it contains x different li:s then my var things is not set anymore. How do I change this var? var things is in my index.php file. The place where the user changes the #box is in my change.php file, so I think It’s
Export array to Excelwith MaatwebsiteExcel
I am beginner web developer. I make my project with use Laravel 8 and Maatwebsite Excel. I make this code to prepare data to save to excel file: Generate data work fine. My debug return this: I have problem with save my data to excel file. When I run my code I have downloaded empty file (without my data). How
Select DISTINCT returns duplicates data Laravel 8
I’m trying to get groups that belong to a supervisor to be displayed for him. And I’m using join to get each gpid information base on supervisor_id, query its okay but returns duplicate data of the last row. I can’t figure out why it is duplicating the last record. Any help would be much app…
How to validate integers and max float digits in one rule in laravel
Hey guys I need to validate something on my laravel application and I don’t know how. So if the user introduces 1234.55 it should allow it, because it have only 5 numbers, but if the user introduces 12345678.55 must reject! What I have until now. I tried to use digits_between, but when I use this, the v…
Yii2 Kartik-v gridView widget. How to pass # from ‘formatUrl’ to url
I have gridView with filter option and my need is to open specific URL after filter applies. I am using ‘filterUrl’ option, but trick is there that instead of # in browser he puts out %23. I am in big …
Change sender name to value from order meta data in WooCommerce email notifications
I’m trying to change WooCommerce sender email name based on the order meta. The website is a multi vendor marketplace, so each order contains meta data with the business name to which the customer orders. So when the order status changes to processing, what I am trying to do is get the business name fro…
Customize WordPress WooCommerce checkout page and Payment processing style
I am trying to edit my WordPress WooCommerce checkout page to remove the space above the PayPal checkout buttons but I don’t know where I should start off. I feel like this can be easily done just by editing code but I’m not really familiar with HTML and CSS. My website My website checkout current…
Laravel 7 Illegal offset type
I am having an error when I try to when updating multiple names of filters. public function update(Request $request, Filter $filter) { $filters = collect([$request->filters]); $filters->…
How to manage big spikes of connections to RabbitMQ
Our rabbitmq server can’t keep up with connections when we have spikes above 3000 connections/second, and new connections take long to stablish (reaching 3s limit we have for failing). We need publishers to return fast as any delay transmit to user experience. We are currently looking at coding a load b…