i used this link https://stackoverflow.com/a/65890498/14913109 now i am able to button on click download database backup and i have installed google file system in my application but on click i want to upload that backup on gdrive only i want to copy file and then i want to put in Storage::disk(‘google’)->put($myfile); so i tried this ..
Category : php
i) Connect to SFTP Server ii) Every 30minutes Get file from the SFTP Server iii) Parse the file and move the load to an Database Table Sourc..
I’m not sure if anyone can help me. I am using the WP all Import plugin and need support getting images mapped to specific products for my e-commerce store. Unfortunately, the image URL’s are not on my CSV file and I have a lot of images to map to different variable products. I have all ..
When login in localhost is worked normally. But on server it can’t get some value from session when login it show data correctly but when go to other page it show somebody data from database and data user from user login is to many wrong. Where did the cause come from ? controller login : ..
I want to allow contributor user role can copy file from one location to another location. I am using copy(copy_from, copy_to) function. The issue is that when this function executes, I am getting PHP warning of failed to open stream: Permission denied. The same function works fine when logged in as administrator user role. I ..
Hi I’m currently trying to recreate a make a booking form. They have a drop down select option with 3 values from the room table in the database. In the room table I have the values roomID, roomname, roomtype and beds. I need to have roomname, roomtype and beds displayed as one option in the ..
I am creating a simple CRUD application for Laravel Inertia. I am using Laravel v8.24.0 (PHP v7.3.26). I try to search on internet but some of them are encounter it updating/edit data. Lead.vue <script> import Layout from "../../Shared/Layout"; export default { components: { Layout, }, data() { return { lead: { name: "", email: "", ..
I want to update a column of test.xlsx file from testinput.xlsx file when names are equal. I have these test.xlsx testinput.xlsx I want this testnew.xlsx this is my php code but i am really confused, i think i am lost in iterating and problem with the $writer->addRow($row); <?php require_once ‘spout/src/Spout/Autoloader/autoload.php’; use BoxSpoutReaderCommonCreatorReaderEntityFactory; use BoxSpoutWriterCommonCreatorWriterEntityFactory; $existingFilePath ..
1.) Is it possible to use CSS and modify default html5 video player, when sending mp4 from PHP script? I call link to video from HTML … <a href="play.php">My Video … and play.php sends back video like this: <?php $CTYP= ‘video/mp4’; $VidPath = "../MyVideo.mp4"; header(‘Content-Type: ‘ . $CTYP); $VidFl = fopen($VidPath, "rb"); $VidContent = fread($VidFl, ..
I do have a form where the user can retrieve the data depending on the dates selected. Here’s what I have: <form class="form" method="post"> <div class="form-row"> <div class="form-group col-md-2 col-5"> <label class="col-form-label col-form-label-sm" for="From">From</label> <input type="date" class="form-control" id="fromDate" name="fromDate" value="<?php echo (new DateTime(‘first day of this month’))->format(‘Y-m-d’);?>"> </div> <div class="form-group col-md-2 col-5"> <label class="col-form-label col-form-label-sm" ..