What do you want to save?
Add Code snippet
New code examples
-
Javascript 2022-03-27 07:35:02
compress string javascript
function en(c){var x='charCodeAt',b,e={},f=c.split(""),d=[],a=f[0],g=256;for(b=1;b<f.length;b++)c=f[b],null!=e[a+c]?a+=c:(d.push(1<a.length?e[a]:a[x](0)),e[a+c]=g,g++,a=c);d.push(1<a.length?e[a]:a[x](0));for(b=0;b<d.length;b++)d[b]=S... Add solution -
PHP 2022-03-25 05:40:02
new line php
<?php echo "If you view the page source \r\n you will find a newline in this string."; echo "<br>"; echo nl2br("You will find the \n newlines in this string \r\n on the browser window."); ?> // 2 Way <?php ... Add solution -
PHP 2022-03-20 07:30:27
php boolean
/** * Strings always evaluate to boolean true unless they have a * value that's considered "empty" by PHP (taken from the * documentation for empty): * "" (an empty string) evaluates as false. * "0" (0 as a string) evaul... Add solution -
PHP 2022-02-23 07:35:09
__PHP_Incomplete_Class
PHP serializes its sessions using the built-in serialize and unserialize methods . serialize of PHP has the ability to serialize PHP objects (aka class instances ) and convert them to string. When you unserialize those strings, It converts them back thos... Add solution -
Shell/Bash 2022-02-10 07:45:16
installing mutillidae in kali
#!/bin/bash sudo apt update sudo apt install php-xml php-fpm libapache2-mod-php php-mysql php-gd php-imap php-mysql php-curl php-mbstring -y sudo a2enmod proxy_fcgi setenvif sudo systemctl restart apache2 sudo a2enconf php7.4-fpm sudo systemctl rel... Add solution
Best helpers
Florian Huit
+5
Huggy Buggy
+5
Joyo
+5
ImMathan
+5
Anugram
+5
Vy32
+5
SOUMEN
+5
Nelsonic
+5
Csandreas1
+5
B_archer
+5
Horse
+5
Kraja
+5
Kd88
+5
Shahruz Raad
+5
Mick Daw
+5
Czlsws
+5
Daniel Cook
+5