chevron_left

Recent posts tagged php

0 0 2 min.
**Problem :** ========= I am facing following error while trying to login from the form: `Symfony \ Component \ HttpKernel \ Exception \` *MethodNotAllowedHttpException* **No message** **The following is my route:** `Route::get('/', ['as' =>...
posted 3 days ago Alecxe01 807 points
0 0 1 min.
**Problem:** ======== *I need someone to help about this Problem "**virtualenvwrapper.sh: there was a problem running the initialization hooks**."* **Thanks** Solution: --------- *To solve this problem try reinstalling pip and then reinstalling...
posted Nov 22 Alecxe01 807 points
0 0 4 min.
**Problem :** ========= I am trying to install Composer but I am getting the following error: **"Some settings on your machine make Composer unable to work properly. Make sure that you fix the issues listed below and run this script again:** The *...
posted Nov 21 Alecxe01 807 points
0 0 1 min.
**Problem** ======= *I build some kind of interactive menu using **PHP, HTML** and **JavaScript.** I need redirect the page on click to some URL. Itried the following code, but it does not work:* instead. For example: ...
posted Nov 21 Alecxe01 807 points
0 0 2 min.
**Problem:** ======== *My small project requires me to monitor my sales database using **PHP**. The page must monitor any new entries of the database so that I will be able to respond to the sales request. If it is possible, it is a minute-per-min...
posted Nov 20 Alecxe01 807 points
0 0 1 min.
**Problem:** ======== *I am unable to understand this problem ..* Please suggest me a better solution to solve it ..**File_get_contents('php //input') not working** Solution: --------- First off, I was able to run this code and it worked fine: ...
posted Nov 19 Alecxe01 807 points
0 0 1 min.
Problem : --------- *I am facing following error* **"500 Internal Server Error - LogicException: Unable to guess how to get a Doctrine instance from the request information".** **Below is my controller action definition:** /** * @Route("...
posted Nov 19 Alecxe01 807 points
0 0 1 min.
**Problem:** ======== *I am very new to Laravel. I have recently started learning level. I am using the correct email address. I have already echoed it but if I try to send it then I face the below error:* **"Address in mailbox given [] does not co...
posted Nov 19 Alecxe01 807 points
0 0 1 min.
**Problem:** ======== *I have a very basic knowledge of **PHP**. I am trying to create a lightweight bio-metric application with the help of **PHP**. I need it to be able to attach the captured image to a registration form and then save it into the...
posted Nov 18 Alecxe01 807 points
0 0 2 min.
**Problem** ======= *Hi, How can I use `preg_match` to validate 10 digit phone numbers? Since I just started in **PHP**, I would really appreciate it if I get an answer in layman terms.* Thanks Solution -------- It is understandable that a lot of...
posted Nov 18 Alecxe01 807 points
0 0 1 min.
**Problem:** ======== *I have started learning **PHP** in this lockdown. If I try to enter the page which I am currently developing then I often face the below error:* Internal Server Error UID of script "/home/httpd/html/index.php" is...
posted Nov 10 Alecxe01 807 points
0 0 1 min.
**Problem:** ========= *I am very beginner to **PHP, Jquery**, and ajax, and I am really going through a very hard time while trying to find a solution on a web-based platform that I could use to solve my problem. Currently, I am trying to display t...
posted Nov 9 Alecxe01 807 points
0 0 2 min.
**Problem :** ========= *I am very new to **PHP** and **MySQL** and I just can't figure this one out. I have searched all around the forums but haven't found the answer I can make sense of. I originally was using `mysql_fetch_assoc()` but I could on...
posted Nov 8 Alecxe01 807 points
0 0 1 min.
**Problem:** ======== Hi, I am learning **PHP** time and date format and I want to learn how to set the default date time zone. I want someone to explain the **date_default_timzone_set** function. Thanks Solution: --------- Hi, I found that you...
posted Nov 7 Alecxe01 807 points
0 0 2 min.
**Problem:** ======== Is there any sample **PHP** code that allows me to populate the textbox based on dropdown selection? I need to get the information from the database. Solution: --------- Here’s the html markup that we can work upon. ...
posted Nov 7 Alecxe01 807 points
0 0 1 min.
**Problem :** ========= I am a beginner to CodeIgniter, If I try to execute my code then I face the below error “Object of class ci_db_mysqli_result could not be converted to string”. **Please find below my code for your reference.** clas...
posted Nov 6 Alecxe01 807 points
0 0 1 min.
**Problem:** ======== I am very new to **PHP, mongodb** and **codeignite**r. At this moment I am trying to connect the mongodb with the php codeigniter framework. I have already made changes in “**PHP.in file extension=php_mongodb.dll.**” I have al...
posted Nov 4 Alecxe01 807 points
0 0 1 min.
**Problem:** ======== What is `$_server 'remote_addr'` in **PHP** and how can we use this variable? I need someones' help Please Thanks Solution: --------- The **$_SERVER** is the global variable in **PHP,** that is used with different attribut...
posted Nov 4 Alecxe01 807 points
0 0 1 min.
**Problem:** ======== I need someones' help on *warning: mysqli_select_db() expects parameter 1 to be MySQL, string given in* Thanks Solution: --------- In this case i guess your arguments are in the wrong order. Note thatthe connection comes ...
posted Nov 4 Alecxe01 807 points
0 0 1 min.
**Problem:** ======== I am trying to insert the check box values into my database which are separated by commas. I have basic knowledge of databases. But my actual problem is I need to get back my checked values from my database in order to edit rel...
posted Nov 4 Alecxe01 807 points