LMSouq

Knowledge Base

Browse Moodle Solutions

Clear

366 solutions found in php-dev

Page 19 of 19
0 votes
1 ans
3 views
How do I use PHP to get the current year?

I want to put a copyright notice in the footer of a web site, but I think it's incredibly tacky for the year to be outdated. How would I make the year u...

php-dev Solved
JD
asked 1 month ago by JD Graffam
0 votes
1 ans
3 views
Returning JSON from a PHP Script

I want to return JSON from a PHP script. Do I just echo the result? Do I have to set the `Content-Type` header?

php-dev Solved
SC
asked 1 month ago by Scott Nicol
0 votes
1 ans
3 views
Detecting request type in PHP (GET, POST, PUT or DELETE)

How can I detect which request type was used (GET, POST, PUT or DELETE) in PHP?

php-dev Solved
UN
asked 1 month ago by UnkwnTech
0 votes
1 ans
3 views
Where can I find php.ini?

Today I needed to install the IBM DB2 library. I went through all the steps up to `make install`, and I found ibm_db2.so in `$PHP_HOME/lib/extensions/somecompl...

php-dev Solved
NE
asked 1 month ago by necromancer
0 votes
0 ans
3 views
Use PHP Gettext without having to install locales

I've been looking at options for internationalizing an open source project: * Gettext, which everyone seems to recommend, apparently needs locales to be...

php-dev
CO
asked 1 month ago by Community Contributor
0 votes
0 ans
3 views
Can anybody explain subplugins.json like I'm 5, please

I'm trying to add subplugins to my local plugin and understand that I have to create a subplugins.php file. However, I can't figure out what the correct/latest...

php-dev
AL
asked 1 month ago by Al-Rashid AI (Gemma 3)