Closed. This question needs details or clarity. It is not currently accepting answers. Want to improve this question? Add details and clarify the problem by editing this post. Closed 2 days ago. This post was edited and submitted for review 2 days ago and failed to reopen the post: Original close reason(s) were not resolved Improve this question I have
Tag: php
Can we delete the Resources folder in Laravel after building the project?
In Laravel 9 where it uses Vite to bundle the js and css files, after running it created the bundled js and css files inside public/build folder. Can we now delete the original js and css files that are created inside resources? or to upload the project to hosting without this resources folder? Also, if I have other css/js files
How to join two tables in mysql that has different connections of mysql on different server laravel
I tried this query below and got a database query builder not converted to string error Answer Eloquent does not support joining data from different connections. If both databases are stored on different servers, the only thing you can do is to fetch relevant data from both connections and then join it programatically. Joining data from different databases is possible
Load a php file to get variable without loading the html? [closed]
Closed. This question needs details or clarity. It is not currently accepting answers. Want to improve this question? Add details and clarify the problem by editing this post. Closed 9 days ago. Improve this question I want to get a variable from a php file. I’ve read, that you can use include ‘mypage.php’; and then use the variable. But if
how to decrypt each hash string from a text file using openssl_decrypt and output each line
i have a text.txt file which contains a list of encrypted passwords, each line starts with the name then a seperating symbol and then the encrypted passoword. the list looks like- now i want to decrypt password from each line using the key which is included in the code. to seperate the hash and name i use php explode() function
how to get month name from month-year (08-2022) string in php
how to get month name from month-year (08-2022) string in php i want to get this Aug-2022 (format) from my value 08-2022 I had tried date(‘m-Y’,strtotime(08-2022)) and date(’08-2022′)->format(‘m-Y’) but not working. Answer Just put a “01-” in front of your value to make it a valid date. try self: https://3v4l.org/ZiB70 or with DateTime: Important NOTE: That ! in the format
PHP Julian Date for JDE Oracle
i’m trying to convert a date like 2022-08-09 to a julian date for send it to JDE. The problem is that default php functions like juliantojd() return a different result. The result i expected was something like this https://nimishprabhu.com/tools/jde-julian-date-converter-online.html I got this function from a very old code that is doing the job in .asp I’m trying to convert this
How to pull composer install inside docker container for Jfrog artifcatory
PHP package are install through Jfrog artifact URL using composer.json file. Need to get PHP package using composer install command inside docker container. This docker container manage by Jenkins pipeline. WHen I am doing locally it asked username and password on terminal Then it stored auth value under /home/vagrant/.composer/auth.json similar thing need to do in docker while deployment. what is
I have two array in php. Need to combing in one at following way [closed]
Closed. This question needs details or clarity. It is not currently accepting answers. Want to improve this question? Add details and clarify the problem by editing this post. Closed 6 months ago. Improve this question I have two arrays: I need to create an array with two dimensions consisting of the elements of these two arrays in a specific way:
Why this Simple case of psr-4 not working with composer
I am trying to understand how psr-4 works using composer. These are the contents of my composer.json file The Folder Structure is given below (please note I am using windows 10, so directory name casing should not matter I think) The folder where I have created ‘vendor’ folder is inside D:tempcomposer_test Contents of test.php Contents of Tire.php But when I