i am creating php script to take input from a data base containing [id,value,date] , there are many rows (increasing every minute using an api
We use owasp dependency check against a php project using composer. Many of the modules are forked from an upstream repo and into an internal git repo. Since th
i'm trying to upload images in between my blog content but when i select images from the gallery its shoes the error Route[/] not found, even though the route i
I have a simple PHP script that queries MySQL DB and deletes(unlinks) file(s) from an uploads folder when a condition (expiry timestamp) is met. Then it redirec
How can I make 2 forms which has the same method? One is responsible to open editaddresss.php with hidden addresse ID, and the second form (editaddress.php)shou
I am working on a registration form with Laravel 8 and Vue 3. The back-end is an API. In the users table migration file I have: class CreateUs
I am trying to create a sign-up page for my app. All the code works, but when I try to hide input box based on dropdown select, it doesn't work. I tried this: &
I am trying to collect Captcha images using the Python requests module and save them to file or load in memory for further processing, but nothing works as belo
Hi this code is working on php 8.1 PHP 8.1.2 (cli) (built: Apr 7 2022 17:46:26) (NTS) but not with PHP 7.2.24-0ubuntu0.18.04.11 (cli) (built: Mar 2 2022 17:52
hello Iam trying to make a project using php mvc and I used on it pdo wrapper package the main problem that when I use lastinsertid it always return 0 I know th
I'm using Laravel Cashier. I dont use reel users for payment $stripeCharge = (new User)->charge(100, $paymentMethod); Now, I need to preview invoice informa
I have the User model which define the following attribute: public function getAvatarUrlAttribute() { return 'https://i.pravatar.cc/300?u=' . $this->
I am unable to send media files especially images(jpeg) using the Clickatel One API. However, text messages are being delivered. Below is my code snippet for se
I'm trying to get all records from db using getRows method, to achieve that I need to implode special characters. In previous function, to get $ids I used: fore
When the DB transaction is timeouted the transaction is still active and seems to only finish executing after PHP transaction timeout If I lock the table outsid
Hello I am working with php and I have this drop down menu list code: <form method="POST" > <select name="users" id="users"> <option
I everyone first of all sorry for my English, not a native speaker here. I have a problem that is probably WordPress related and not Wp-All-import fault, but th
I need to be able to update my sql table from open to close task. I already wrote code for this but it is not working properly. On the modal it shows 2 'continu
Using lumen 8.2.3 I am only trying to dispatch a unique job to a queue. In app/Console/Kernel I have sent a schedule to $schedule->job(new myJob(), 'high')-
I want to clean up a tag list separated by comma to remove empty tags and extra spaces. I came up with $str='first , second ,, third, ,fourth suffix'; echo pr