A reverse proxy is a type of proxy server that accepts HTTP (S) requests and transparently distributes them to one or more backend servers. You can use a reverse proxy to prevent direct access to these underlying application servers. They can also be used to distribute the load of incoming requests to different application servers.…
Leggi tutto
Xtumble è una suite di prodotti per gestire l’intero flusso di dati della tua azienda in modo organico e strutturato. – E-commerce attivo in pochi minuti – Sincronizzato con lo shop di Facebook – Condividi progetti con i tuoi clienti e fornitori con il modulo B2B Guarda una demo di registrazione https://www.youtube.com/watch?v=6sq8ITTWE30 Provalo senza impegno,…
Leggi tutto
Hide element on click outside, is a must-have functionality for the dropdown menu. Apart from that, it also used in some situations where you need to hide div when the user clicks outside of this element. You can easily hide div or element when click outside of it using jQuery. In the example code snippet,…
Leggi tutto
1)Purchase your Certificate SSL DVW (Domain Validated Wildcard ) from your provider. 2)Log in to your server’s terminal via Secure Shell (SSH). 3)Generate a private key and CSR by running the following command: openssl req -new -newkey rsa:2048 -nodes -keyout server.key -out server.csr Note: Replace “server” with the domain name you intend to secure. Enter the following CSR details when prompted:…
Leggi tutto
// initialize cURL $ch = curl_init(); // set the URL of the remote resource to download curl_setopt($ch, CURLOPT_URL, ‘http://www.site.com/index.html’); //set url as curl_init() parameter –> $ch = curl_init(‘http://www.site.com/index.html’); // required that no headers be downloaded curl_setopt($ch, CURLOPT_HEADER, 0); // prevent remote content from being passed to print curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); // set the timeout to…
Leggi tutto
Decode JSON object with an array value: $jsonobj = ‘{“dataset”:[{“field1″:”hello”,”field2″:0,”field3″:1},{“field1″:”hola”,”field2″:2,”field3″:3}]}’; $obj = json_decode($jsonobj); // it returns object $array_dataset = $obj->dataset; for ($i = 0; $i < count($array_dataset); $i++) { $singoloArray = $array_dataset[$i]; foreach($singoloArray as $field => $value) { echo $field . ” => ” . $value . “<br>”; } } Decode array of JSON object:…
Leggi tutto