Category "php"

Failed loading /usr/local/IonCube/ioncube_loader_lin_5.3.so

I just cloned a website from one server to another using cPanel import tool (probably this last part is not relevant) The site is a Magento CE store. The new

Send same name multiple checkbox values via ajax

I have multiple checkbox input elements. <input type="checkbox" name="userpages[]" id="1" value="1"/> <input type="checkbox" name="userpages[]" id="2

PHP/HTML: Creating A SubMenu

I have this filtering feature on my program. It is in the form of a drop-down list. I'm currently using the Select-Option method to display the options on my dr

Creating live search with AJAX and CodeIgniter

I'm trying to create a live search feature in CI (which I've never done before). I'm pretty new to web development and am still learning things. I found this li

I need to link Google Sheet with my Laravel

i want to link my laravel app with Google sheet i use this package : Google Sheets API v4 for Laravel my function : public function doPostData(){ $

Server-sent events in PHP (without echo or print)

We have built a prototype application in PHP and JS using Server-Sent Events (single AJAX requests, multiple streamed events sent by event handlers in PHP). Ess

How to make Canonicals with PHP

I've search around on SO, but can't find an exact answer to my needs. Generating a URL is pretty easy... Like so: <link rel="canonical" href="https://exa

Remove product downloads section in woocommerce email notifications

I would like to remove the download section from the email template that woocommerce will send after my buyer has placed an order. It doesn’t make sense

Modify microseconds of a PHP DateTime object

I have a PHP DateTime object with microseconds created as follows: $time = microtime(true); $microseconds = sprintf('%06d', ($time - floor($time)) * 1000000);

Uncaught TypeError: Cannot read property 'length' of null when retrieving tags from wp

I am trying to use jquery autocomplete to retrieve tags from wordpress db First I set a function in wp: if ( ! function_exists( 'yourtheme_frontend_scripts' )

http://localhost:80 is not working on running Apache server through UniServer ZeroXIII

I am unable to configure a PHP/MySQL/Apache environment on my local machine using UniServer ZeroXIII. In my Uniserver ZeroXIII control panel the Apache and MyS

selected value from the listbox in php

I want the value which I select from the listbox and want to store in php variable because I want to use that variable for further use. Please help.. <form

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