Install Memcache on XAMPP (Windows 7/8/10)

Here are the steps that should be followed when you install memcache. start your xampp. click on ‘config’ and open php.ini file. search for ;extension=php_memcache.dll If not found add extension=php_memcache.dll [Memcache] memcache.allow_failover = 1 memcache.max_failover_attempts=20 memcache.chunk_size =8192 memcache.default_port = 11211 3. download the file php_memecache.dll from windows.php.net (make sure to check your php version and […]

read more

Easy Crud using Laravel

Easy Crud using Laravel

Creating, reading, updating, and deleting resources is used in pretty much every application. Laravel helps make the process easy using resource controllers. Resource Controllers can make life much easier and takes advantage of some cool Laravel routing techniques. Today, we’ll go through the steps necessary to get a fully functioning CRUD. We will use CRUD generator […]

read more

SOAP vs REST Differences

Unfortunately, there are a lot of misinformation and misconceptions around REST. SOAP and REST can’t be compared directly, since the first is a protocol (or at least tries to be) and the second is an architectural style. This is probably one of the sources of confusion around it, since people tend to call REST any […]

read more

Encrypt and Decrypt md5 using PHP

You cannot decrypt MD5 without attempting something like brute force hacking which is extremely resource intensive, not practical, and unethical. However you could use something like this to encrypt / decrypt passwords/etc safely:   Using a encypted method with a salt would be even safer, but this would be a good next step past just […]

read more

Password Hashing in PHP

Most modern PHP applications access important user information and store them in a database. For example, web app might have a registration system for new users. But how should you store usernames and passwords in the database? You must always think about security. If passwords are stored in plain text, what happens if an attacker […]

read more