Recently I have migrated one of my projects (PHP 7.4/Lumen/Ubuntu 20.04) from MongoDB to MongoDB compatible AWS DocumentDB. Since the migration all the CLI Scri
I want to sent an email with swiftmailer this is my function in my mailController.php public function newMail(Mail $mail){ $message = \Swift_Message::n
I'm sure that there is a quick bit of code out there that will solve this issue, but I'm struggling to find it. I have a WordPress/WooCommerce website set-up a
I've been reading answers from all the questions related to GuzzleHttp\Client but situation is getting worst. I am trying to send E-mail Updates to all of my Ap
The following code successfully creates an instance. try { $ec2 = new Ec2Client($options); $result = $ec2->runInstances([ 'Imag
I am getting the above error upon submitting my registration form. I'm not quite sure what I'm overlooking. If I could get some direction and help on this, that
I am new to laravel framework. I am trying to edit laravel webapplication. Website is running in EC-2 instance of AWS. I am doing SCP with filezilla. I found
echo '<pre>'; var_dump($_FILES); echo '</pre>'; exit; $errors = []; $title = ''; $price = ''; $description = ''; echo $_SERVER['REQUEST_M
I've have a template inside my plugins directory (quiz-template.php). I need to assign it to a page. I don't want to create template inside theme directory. Eve
so i need to be able to disable two buttons (approve and return button) once i successfully click the close button. can anyone help me? the first part of the co
In Laravel Application I have month number like 01, 02, 03 upto 12. I want to get all days in this month. I cannot use daysInMonth() as I do not have a date all
I need to validate India's Taxpayer Identification number(TIN) and Central Sales Tax(CST) fields. How can I do that using php? I have to implement this valida
I feel like I need a little push to break through this one. I have this array of players $playerids = ['1', '2', '3', '4'] I have this array of periods $period
I have a created a contact form in the function.php and added short code on my page and it's working. I am getting my form. function st_contact_form(){ ob_star
I am using the html-to-markdown library, to print the markdown for a h1/h2 tag, but see that it is printing wrong. I believe the sample output should be: Test
I am trying to get the current user in my laravel vue application. And whenever I trie to get it i am getting this error: Symfony\Component\Routing\Exception\Ro
How should I set 10GB of memory_limit? Should I display it as memory_limit=10G or memory_limit=10240M
I'm little wonder please help me out. My query is :- Invoice::join('orders', 'orders.invoice_id', '=', 'invoices.id')->groupBy('invoices.id')->get();
I'm trying to add a custom function to my child-themes functions.php file where a checkbox is added to the bottom of the billing details form on the checkout pa
I want to develop a scheduler in php I know there is cronjob already present in php but I want to develop like java but I don't want to use sleep(1) method. I k