Skip to content
Advertisement

Tag: php

Need to change product images based on logged in user [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 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

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 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

Advertisement