Via Cà Matta 2 - Peschiera Borromeo (MI)
+39 02 00704272
info@synaptica.info

Autore: Simona Marotto

Digital Innovation Partner

Xtumble | Gestionale Cloud con E-Shop integrato

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

How to Hide Div when Click Outside of the Element using jQuery

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

How to install a Certificate SSL DVW on Apache Web Server

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

PHP cURL

// 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

PHP json_decode() Function

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

VCL – Load HTML code in TWebBrowser

Easy HTML editor with instant preview into TWebBrowser Component to use: – TSynedit – TSynHTMLSyn – TWebBrowser – TTimer (set Interval 1000) – TSplitter (set Align alLeft) Here the code: procedure TForm1.SynEdit1KeyPress(Sender: TObject; var Key: Char); begin Timer1.Enabled := True; end; procedure TForm1.Timer1Timer(Sender: TObject); var Doc: Variant; begin Timer1.Enabled := False; if not Assigned(WebBrowser1.Document) then…
Leggi tutto