Trending questions in PHP

0 votes
0 answers

What is PHPSESSID?

I'm experimenting with cookies. I also don't ...READ MORE

Aug 8, 2022 in PHP by narikkadan
• 63,180 points
957 views
0 votes
0 answers

Get server timezone In PHP

My client need a system report of ...READ MORE

Aug 7, 2022 in PHP by Kithuzzz
• 38,010 points
985 views
0 votes
0 answers

PHP foreach loop key value

Running this DB call will provide me ...READ MORE

Aug 1, 2022 in PHP by Kithuzzz
• 38,010 points
1,201 views
0 votes
0 answers

How to resolve ERR_CACHE_MISS with PHP after using back button?

On one of my website pages, there ...READ MORE

Aug 4, 2022 in PHP by Kithuzzz
• 38,010 points
1,044 views
0 votes
0 answers

PHP using extract() to pass array values as variables and display it on a page

In order to include a specific file ...READ MORE

Aug 6, 2022 in PHP by Kithuzzz
• 38,010 points
981 views
0 votes
0 answers

Multiple ways of calling parent method in PHP

I wasn't sure why both methods calls ...READ MORE

Jul 23, 2022 in PHP by Kithuzzz
• 38,010 points
1,577 views
0 votes
0 answers

How to pass a PHP variable using the URL

I need to pass some PHP variables ...READ MORE

Jun 19, 2022 in PHP by narikkadan
• 63,180 points
3,043 views
0 votes
0 answers

getenv() vs. $_ENV in PHP

What is the distinction between $_ENV and ...READ MORE

Aug 8, 2022 in PHP by narikkadan
• 63,180 points
876 views
0 votes
0 answers

Illegal string offset Warning PHP

After updating my PHP version to 5.4.0-3, ...READ MORE

Jul 25, 2022 in PHP by Kithuzzz
• 38,010 points
1,436 views
0 votes
0 answers

Get driving distance between two points using Google Maps API

Using Google Maps API, I'm attempting to ...READ MORE

Jul 31, 2022 in PHP by Kithuzzz
• 38,010 points
1,201 views
0 votes
0 answers

PHP cURL GET request and request's body

I want to use cURL for a GET request ...READ MORE

Jul 25, 2022 in PHP by Kithuzzz
• 38,010 points
1,334 views
0 votes
0 answers

Fatal error : execution time of 30 seconds exceeded in phpMyAdmin

My MySQL table has 6.5 million records ...READ MORE

Jul 26, 2022 in PHP by Kithuzzz
• 38,010 points
1,290 views
0 votes
0 answers

How to convert Unicode font to KrutiDev in PHP

In essence, I used JavaScript to generate ...READ MORE

Aug 4, 2022 in PHP by Kithuzzz
• 38,010 points
854 views
0 votes
0 answers

PHPMyAdmin Default login password

I installed  Fedora 14 and installed the ...READ MORE

Jun 25, 2022 in PHP by narikkadan
• 63,180 points
2,604 views
0 votes
0 answers

Fatal Error: Allowed Memory Size of 134217728 Bytes Exhausted (CodeIgniter + XML-RPC)

My client point of sale (POS) systems ...READ MORE

Aug 1, 2022 in PHP by Kithuzzz
• 38,010 points
985 views
0 votes
0 answers

How to increase memory limit for PHP over 2GB?

Increasing the PHP memory limit as an ...READ MORE

Aug 8, 2022 in PHP by Kithuzzz
• 38,010 points
663 views
0 votes
0 answers

How to push both value and key into PHP array

Take a look at this code: $GET = ...READ MORE

Jul 25, 2022 in PHP by Kithuzzz
• 38,010 points
1,219 views
0 votes
0 answers

PHP import Excel into database (xls & xlsx)

One of the plugins I looked for ...READ MORE

Jul 30, 2022 in PHP by Kithuzzz
• 38,010 points
1,030 views
0 votes
0 answers

PHP - SSL certificate error: unable to get local issuer certificate

PHP 5.6.3 is being used by XAMPP ...READ MORE

Jul 29, 2022 in PHP by Kithuzzz
• 38,010 points
1,069 views
0 votes
0 answers

php/gd can't remove background after creating a circular image

I'm positioning a circular picture with a ...READ MORE

Aug 4, 2022 in PHP by Kithuzzz
• 38,010 points
748 views
0 votes
0 answers

PHP random string generator

I want to create a randomized string in ...READ MORE

Jul 26, 2022 in PHP by Kithuzzz
• 38,010 points
1,120 views
0 votes
0 answers

How can I solve this error "A PHP Error was encountered"?

Please give some idea. how to solve ...READ MORE

Jul 30, 2022 in PHP by Kithuzzz
• 38,010 points
936 views
0 votes
0 answers

Cannot access phpMyAdmin on localhost running XAMPP

On my Windows computer, I installed XAMPP, ...READ MORE

Aug 6, 2022 in PHP by Kithuzzz
• 38,010 points
626 views
0 votes
0 answers

Best way to initialize (empty) array in PHP

Because of object creation and instantiation, it ...READ MORE

Aug 2, 2022 in PHP by Kithuzzz
• 38,010 points
803 views
0 votes
0 answers

PHP MySQLi num_rows Always Returns 0

In order to make database interaction simpler, ...READ MORE

Aug 7, 2022 in PHP by Kithuzzz
• 38,010 points
582 views
0 votes
0 answers

Login using PHP and JavaScript from SQL database

I have developed a drop-down login panel using ...READ MORE

Jun 11, 2022 in PHP by narikkadan
• 63,180 points
3,036 views
0 votes
0 answers

How to check if an array value exists?

How can I check if $something['say'] has the value ...READ MORE

Aug 1, 2022 in PHP by Kithuzzz
• 38,010 points
789 views
0 votes
0 answers

Why command "php artisan serve" not working?

My Laravel on this path: C:\Users\Mad\Work\trunk\product\backend\v1.2.1\laravel But it is ...READ MORE

Jul 26, 2022 in PHP by Kithuzzz
• 38,010 points
1,062 views
0 votes
0 answers

php form action php self

I have a php form like this. <form ...READ MORE

Jul 31, 2022 in PHP by Kithuzzz
• 38,010 points
813 views
0 votes
0 answers

Interface or an Abstract Class: which one to use?

Could you please explain when I should ...READ MORE

Aug 8, 2022 in PHP by Kithuzzz
• 38,010 points
463 views
0 votes
0 answers

Include PHP inside JavaScript (.js) files

I have a JavaScript file with numerous ...READ MORE

Jul 24, 2022 in PHP by Kithuzzz
• 38,010 points
1,104 views
0 votes
0 answers

How does PHP 'foreach' actually work?

Let me start by stating that I ...READ MORE

Aug 7, 2022 in PHP by Kithuzzz
• 38,010 points
499 views
0 votes
0 answers

php exec() is not executing the command

I have tried to use exec() with 'whoami' to check if ...READ MORE

Jul 24, 2022 in PHP by Kithuzzz
• 38,010 points
1,098 views
0 votes
0 answers

Get data from JSON file with PHP

Using PHP, I'm attempting to extract data ...READ MORE

Aug 8, 2022 in PHP by Kithuzzz
• 38,010 points
441 views
0 votes
0 answers

Setting the Timezone for PHP in the php.ini file

I'm trying to change the default PHP ...READ MORE

Aug 1, 2022 in PHP by Kithuzzz
• 38,010 points
739 views
0 votes
0 answers

How to add extra whitespace in PHP?

I was wondering if there was a ...READ MORE

Aug 8, 2022 in PHP by Kithuzzz
• 38,010 points
434 views
0 votes
0 answers

currently unable to handle this request HTTP ERROR 500

My shopping cart files have been moved ...READ MORE

Jul 22, 2022 in PHP by narikkadan
• 63,180 points
1,168 views
0 votes
0 answers

Send email with PHP from html form on submit with the same script

When a user has finished filling out ...READ MORE

Jul 29, 2022 in PHP by Kithuzzz
• 38,010 points
845 views
0 votes
0 answers

Can I dynamically create subdomains (PHP, .htaccess) with GoDaddy Hosting?

On my GoDaddy Hosting account, I'm attempting ...READ MORE

Aug 7, 2022 in PHP by Kithuzzz
• 38,010 points
448 views
0 votes
0 answers

how to write javascript code inside php

I have a form, and when I ...READ MORE

Aug 7, 2022 in PHP by Kithuzzz
• 38,010 points
433 views
0 votes
0 answers

PHP FILTER_VALIDATE_EMAIL does not work correctly

I employ PHP 5.3.10. Here is the ...READ MORE

Aug 4, 2022 in PHP by Kithuzzz
• 38,010 points
520 views
0 votes
0 answers

How to delete image form folder and database

With the code below, I'm displaying data ...READ MORE

Jul 26, 2022 in PHP by Kithuzzz
• 38,010 points
937 views
0 votes
0 answers

Join two MySQL tables with PHP

I have created two pages and two ...READ MORE

Jul 30, 2022 in PHP by Kithuzzz
• 38,010 points
718 views
0 votes
0 answers

Remove .php extension with .htaccess

I looked here and read the Apache ...READ MORE

Jul 30, 2022 in PHP by Kithuzzz
• 38,010 points
702 views
0 votes
0 answers

How to generate a create table script for an existing table in phpmyadmin?

How can I generate a create table ...READ MORE

Aug 4, 2022 in PHP by Kithuzzz
• 38,010 points
475 views
0 votes
0 answers

PHP Elvis operator vs null coalescing operator

Can someone clarify the differences between PHP's ...READ MORE

Aug 3, 2022 in PHP by Kithuzzz
• 38,010 points
488 views
0 votes
0 answers

PHP - Get key name of array value

I have an array of the following: function ...READ MORE

Jul 22, 2022 in PHP by narikkadan
• 63,180 points
1,024 views
0 votes
0 answers

PHP Simple Search Form

Since I'm new to PHP, I'd like ...READ MORE

Aug 8, 2022 in PHP by Kithuzzz
• 38,010 points
287 views
0 votes
0 answers

Reading an Excel file in PHP

I'm attempting to read an Excel document ...READ MORE

Jul 29, 2022 in PHP by Kithuzzz
• 38,010 points
701 views
0 votes
0 answers

Cookies vs. sessions

A few months ago, I first used ...READ MORE

Aug 8, 2022 in PHP by Kithuzzz
• 38,010 points
267 views