Maximum call stack size exceeds error

I am using Direct Web Remoting ( DWR)JavaScript Library files, and errors only occur in Safari (desktop and iPad) It says Maximum call stack size exceeded. What is the exact meaning of this error and will it stop processing altogether? It also solves all Safari browser issues (in fa ...

Posted on Thu, 23 Jan 2020 23:32:43 -0500 by Bobby_Jo

CDN page push

1, Understanding of CDN: CDN is a content distribution network built on the network. Depending on the edge servers deployed in various places, through the load balancing, content distribution, scheduling and other functional modules of the central platform, users can get the required content nearby, reduce network congestion, ...

Posted on Thu, 23 Jan 2020 10:10:56 -0500 by StirCrazy

Redis predis extension introduction

Predis Predis is applicable to the use of PHP 5.3 and above in Redis, including the use of clusters. major function Supports various versions of redis (from 2.0 to 3.0 and unstable) Using hash mode or user-defined mode to segment the clients of nodes in the cluster Support Redis cluster (Redis>= 3.0). Supports read / write ...

Posted on Wed, 22 Jan 2020 03:44:34 -0500 by insub2

Build PHP development environment in Mac OS Catalina 10.15, including the redis extension of PHP

On October 8, 2019, apple officially released a new generation macOS , version Catalina (11.15). Mac OS Catalina pre installed Ruby (2.6.3), PHP (7.3.9), Perl (5.18.4), Python (2.7.16) and other common scripting languages, as well as Apache (2.4.41) Web server. It should be noted that in the new version, zsh has replaced bash as the default s ...

Posted on Wed, 22 Jan 2020 02:59:39 -0500 by thebluebus

Converting date formats in PHP

I'm trying to change the date from yyyy MM DD to DD mm yyyy (but not in SQL); but I don't know how the date function needs a timestamp, and I can't get a timestamp from that string. How is this possible? #1 building If you want to avoid the strtotime transformation (for example, strtotime cannot parse your input), you can use the, $ ...

Posted on Wed, 22 Jan 2020 02:56:48 -0500 by master123467

PHP abstract class and interface practice

① : CLASS return value is the name of the current CLASS. If there is a namespace, it is also returned <?php namespace _0120; class demo { public function getFormName() { return __CLASS__; } } $obj = new demo(); echo $obj->getFormName(); ?> Print as follows: ② : DIR view the directory of ...

Posted on Wed, 22 Jan 2020 01:50:52 -0500 by crowezr

Build automation API documents based on swagger PHP and swagger UI

Download swagger UI Download wget https://gitee.com/qzeroq/swagger-ui/repository/archive/v3.25.0?format=zip Download swagger PHP download, change version requires PHP > = 7.0 wget https://gitee.com/qzeroq/swagger-php/repository/archive/3.0.1?format=zip Installation dependency [root@localhost local]# cd src/ [root@localhost src]# cd ...

Posted on Mon, 20 Jan 2020 13:11:35 -0500 by timgetback

Several ways of page definition of nginx virtual host 404

There are two websites, lnmp environment and nginx reverse agent for web engineering ***Hide the domain name Website 1. Directory of virtual host path [root@kangcw nginx]# pwd /www/server/panel/vhost/nginx [root@kangcw nginx]# ls www.xxx.com.conf www.xxx2.com.conf Virtual host lnmp environment Nginx When visiting a static html page, w ...

Posted on Mon, 20 Jan 2020 09:10:16 -0500 by waygood

[red sun Day12 CTF] SQL injection caused by htmlentities

Exercise notes Recurrence Code: index.php <?php require 'config.php'; if(isset($_REQUEST['username'])){ if(preg_match("/(?:\w*)\W*?[a-z].*(R|ELECT|OIN|NTO|HERE|NION)/i", $_REQUEST['username'])){ die("Attack detected!!!"); } } if(isset($_REQUEST['password'])){ if(preg_match( ...

Posted on Sun, 19 Jan 2020 09:50:36 -0500 by Kingskin

Generate word files from html code

Welcome to the original self-built blog:http://www.e-lionel.com/index.php/2019/02/28/102/ The requirement is that the front end passes css and body over, the back end splits the data into html strings through string splicing, and then converts the html string into a word doc file, which is downloaded b ...

Posted on Sat, 18 Jan 2020 21:00:10 -0500 by jnoun