Category "php"

Send Outlook 2010 email using PHP

I'm looking to use the default Windows 7 Outlook 2010 mail account to send an email. I've tried: oApp = new COM("Outlook.Application") or die('error'); $oMsg

PHP soap wrong digest hash

I'm trying to send a SOAP message from PHP to a server, and I'm stuck at generating a SHA256 hash of the data being sent. Here is an example request provided by

how to install Phalcon on XAMP

I am following document instruction to install Phalcon on XAMP , from here It is said to download x86 version for windows in document but when I go to Download

NGINX: connect() to unix:/var/run/php7.2-fpm.sock failed (2: No such file or directory)

I've just recently moved my websites from apache2 to Nginx as my new web server backend. got to love problems aha. HTML files in the web host director work pri

How to check user Permissions using Custom Middleware in Laravel

I'm developing a Laravel ACL System. My base Table's are users,roles,permissions and pivot tables are role_user,role_permission,user_permission. I want to che

What is the meaning of Illuminate in Laravel? [closed]

Every time I am writing code in different classes of Laravel where I saw the keyword Illuminate always. I cannot understand what is the meanin

php - Fatal error: Uncaught Error: Class 'IntlDateFormatter' not found in C:\Users\denni\PhpstormProjects\ACNOP OOP\Main.php on line 69

I'm trying to use the IntlDateFormatter class to format date and time strings to local (Dutch) time formats. I use the following code that I copy-pasted from ht

how to upload binary image to sql server using php laravel

As far as I know, uploading images to databases is wrong, but in this specific issue, I have to upload images to SQL Server. I found some results, for example u

Insert multidimensional array to codeigniter cart

I'm building online store using codeigniter and it's cart library. I have this array $data = Array ( Array ( [id] => BM101

How to increase the PHP upload limits [duplicate]

When i try to upload database it comes an error saying: You probably tried to upload too large file. Please refer to documentation for w

How to remove index.php and index from the URL using htaccess | PHP

I am working on a PHP website for QA forum. My website contains a qa folder like - example.com/qa/ In the qa folder, I have an index.php file. I am getting QA p

Insert database rows from columns of data from associative array of indexed arrays

I have an array called $works which looks like this: [ 'type' => [1, 5], 'description' => [2, 6], 'hours' => [3, 7], 'amount' => [4,

php_mssql.dll support for php version greater >= 5.3

PHP has removed support for php_mssql.dll support for versions starting with 5.3. For that reason I have been using version 5.2 till now. But ionCube which conv

Ajax GET request fails in laravel 8

when i try to send a GET request with tutorial ,but its not working and end up with 500 internal server error I cant find any error by searching on forum or sta

enroll_table three field fetch to payment form to create payment field in laravel 5.5

(figure 1) The above figure 1 image is the snapshot of enroll table, (it belong to the enroll model, enrolls table) (figure 2) Figure 2 is the page view. My q

PDOException SQLSTATE[HY000] [2002] No such file or directory

I believe that I've successfully deployed my (very basic) site to fortrabbit, but as soon as I connect to SSH to run some commands (such as php artisan migrate

Adding one microsecond to Datetime object in PHP

I need to add a microsecond to a Datetime object in PHP. I am trying to do it adding a time interfal a fraction of a second to the Datetime but it is not workin

Class App\Http\Controllers\UserController Does Not Exist

Having the issue when loading the route /users or /user/add and being return an error of; ReflectionException in Route.php line 280: Class App\Http\Contro

No result using makeStyles Material UI in react 18

Hi Im exploring ReactJs and Material UI and Im following outdated tutorials. I having a problem with this material UI makestyles how do I use this? This is the

Processmaker sending variables using Soap routeCase getting a Not Found error

Sending Variables To another case in Processmaker using __SoapCall routeCase method and getting the error Not Found. Yet in working in the __SoapCall'login'. Be