Skip to content

Tag: php

Open a popup box after receiving result from ajax

i have a ajax code that works properly and gives the desired result. I want to modify this code and want that when a reply is received from ajax a popup/modal box should get opened. I am able to open popup/modal box on a click of a button but don’t know how to open it automatically within ajax. here is

How to calculate total price in php

I am getting the price of the product from db using the product id i have stored in php array. i have a php function where in i want to hold a total of all the products purchased. here i am getting the cart items and i am calling the function which should hold total amount. i am passing the

How can I add that subscribe to different segments?

I want to add my subscriber different segment by signup source. I create two segment in Mailchimp. How can I add that subscribe to different segments? I using API v2. Answer From the API Docs: you’ll need to add a groupings item to your merge_vars array. That should be an array of associative arrays wit…

php file automatically renamed to php.suspected

Since last 4 days, we are facing strange issue on our Production server (AWS EC2 instance) specific to only one site which is SugarCRM. Issue is /home/site_folder/public_html/include/MassUpdate.php file is renamed automatically to /home/site_folder/public_html/include/MassUpdate.php.suspected This happens 2-3…

XAMPP Installing

I am installing XAMPP and have encountered the following problem: Important! Because an activated User Account Control (UAC) on your system some functions of XAMPP are possibly restricted. With UAC please avoid to install XAMPP to C:Program Files(Missing Write permissions). Or Deactivate UAC with msconfig aft…