Browsing PHP

The Anagram Game

As you know, I have made Lobby – The localhost OS. I am in the process of adding more and more apps to it. This post explains how I created the Anagram game and the algorithm used for it. You can download the app from here or search for “Anagram” in the Lobby Store. The full source code is available on GitHub.Anagram Game How It Works ? There is a dictionary file containing many english words.

[READ MORE]

logSys Admin

After the release of logSys in May 2014, many have been asking for an admin panel of logSys. It’s finally here. I’m extremely happy to release logSys Admin as an app of Lobby.logSys Admin Logo You can find the app here on Lobby. Installation Download & Install Lobby. Open Lobby Open Lobby Store and search for “logSys Admin”. Click Install button. Usage Open App from the Lobby Dashboard and click “Go To Admin” button.

[READ MORE]

Lobby

[][1]Lobby Logo Lobby is a new project of mine which was under development for more than a year. I’m proud to release it today with the first version 0.2. Lobby is a localhost Operating System like Android, iOS etc. What It Is I’ll explain it to you. There are many OSs in this world. From Ubuntu to Windows to Mac to Android to iOS and so on… Developing an application is tough as you have to port it to different OSs.

[READ MORE]

Set Same Time Zone in PHP & MySQL

Time Zones are important if you’re creating a social app which will include chat, social network and others which is interacted with the society. There are many time zones and you have to choose one to set in your server. I would totally recommend using UTC instead of your time zone in server. Web Server and Database server are different and they each have their own configuration. This includes the time zone too.

[READ MORE]

Implement 5 Star Rating System With PHP & JavaScript

User ratings are important for your site if you provide downloads of files or run an E-Commerce shop. It is the ratings of other users that tempt your site’s users to buy/download something. So, it is necessary for a site like this to have a Rating System. If you haven’t implemented it yet or want to replace your existing system with a clean one, you’re at the right place.

[READ MORE]

Advanced Live Group Chat With WebSocket, PHP & jQuery

WebSocket is one of the awesomest part of the HTML5 and we developers should experiment with it as it will be the future of client to server communication. In a recent post, I made a tutorial of live chat with WebSockets and PHP. It was the basic step into websockets. But, I have created another chat which is more advanced that has the capability to upload images as well as record audio from microphone of the user.

[READ MORE]

Free Translate Using Google Without API

Google Translate is one of the best tools on the internet that translates text to another language. Currently it supports 90+ languages. Google has its API for translate, but its not free and you have to go through a lot of procedures. It’s boring, right ? If your app/website needs a translator, this post will help you. As you know Google Translate is a web app and you can monitor the requests it sends to the server.

[READ MORE]

Coding Standards

Writing programs should be meaningful and in a long future, if you or anyone looks back at the code, then he/she must understand it. We all write codes, but do we have a standard of writing the code ? If we write codes without any standards and just go for it, then the program would be messy and no other programmer would like to read it. Here’s what I’m talking about : A guy writes code as he like :

[READ MORE]

Reproducing Drupal Contact Module Issue

This post contains information regarding the Drupal Core issue. This post will explain how the bug was reproduced and how the test patch was created. The bug was “Wrong message displayed after contact form mail(s) cannot be sent”. Requires Drupal 8.0 Contact Module Note that URLs mentioned in this post “http://mydrupalsite.com/" is the URL of your Drupal installation and “/mydrupalsite” is the folder location of Drupal installation.

[READ MORE]

Replace Strings in Files With PHP & Python

There are softwares already that helps to replace a string in a file. Suppose, if you’re making a program that requires saving some data in to a file. By ”adding”, the program is actually replacing a word. Let’s see how it’s done in PHP & Python. This is the file where we are going to replace the word : thisWord I got thisWord for making it thatWord replace thisWord already my friend.

[READ MORE]

Donate

Donate

Past

This blog was once on WordPress. Now a static site. See source code on

GitLab

Projects

Currently working on projects.

MJournalTorrentBroCryptoDonateBrenton

GitHubGitLab

Subdomains

DemosLab