Generate Random String Number in PHP JavaScript Ruby Python

Generating Random String Using PHP, JavaScript, Ruby, Python

Sometime in the programming world, you may need to generate a random string for any purpose, just like to random password suggestions, random passwords for your users. Today, In this Article we will study how can we achieve that in the easiest and fastest way. Random password / Random String can be generated with fully-custom functions but when we compare that with custom function those uses pre-defined functions of that language then that will be the best and fastest. As pre-defined function’s definitions are already compiled where the fully-custom functions are not compiled. Compiler/Interpreter will compile the code (fully-custom function) before executing that. And that will take a couple of microseconds to make it executable. But when it comes with …

Read More
Install Open SSL Windows10 Localhost

How to Install OpenSSL Light on Windows 10

What is OpenSSL? OpenSSL is a general purpose cryptography library that provides an open source implementation of the Secure Sockets Layer (SSL) and Transport Layer Security (TLS) cryptographic protocols. It is a robust, commercial-grade, and full-featured toolkit for the Transport Layer Security (TLS) and Secure Sockets Layer (SSL) cryptographic protocols. So to install SSL or to make SSL/https working on any server/system you have to install OpenSSL. Therefore we will show you how you can install OpenSSL on your Windows 10 so that you can run SSL/https on your localhost system. Download OpenSSL Setup for Windows 10 Click here and download appropriate OpenSSL as per your windows 10 (32-bit / 64-bit). Install OpenSSL After successfully download please follow the steps to …

Read More
Setup SSL On Localhost

How to add SSL/HTTPS to localhost WAMP Server

Install OpenSSL Download appropriate OpenSSL as per your windows bit (32-bit / 64-bit) from and install. While installing the setup it will ask you to select a directory for installation. You can install in any drive. So I am installing in my ‘E’ drive. You can read our article How to Install OpenSSL Light on Windows 10. And after install its path is E:\OpenSSL-Win64 Generate self-signed key and certificates for localhost Open E:\wamp64\bin\apache\apache2.4.33\conf\ folder and create a folder ‘ssl-certs’. Now, in cmd (Command Prompt) navigate to E:\wamp64\bin\apache\apache2.4.33\conf\ssl-certs directory and run following command. You can change the value for -days to the expiry days. I am creating certificates for the very long-term 😀

After certificates & key successfully created you should match …

Read More

Reset or Change MySQL root user Password on Ubuntu Linux

Today, in this article we will discuss How you can change / Reset / Set / Update MySQL root user’s password on Ubuntu Linux Server. Sometimes while playing with root user’s privileges to allow its access remotely may change its password. Or if you have forgotten the root user’s password. Then you can not access the MySQL DB without the password. In that case, you need to change/reset it’s MySQL password. Please follow these steps to reset/change the MySQL root user password. Stop The MySQL Server

Start The MySQLd Configuration And Skip The Grant Table This will start a new MySQL Server with no-password and it will ignore the Grant table rules. Now, This Temporary MySQL Server will have full control. …

Read More
Add Facebook Page Plugin

How to Add the New Facebook Page Plugin on any Website

Facebook is a very powerful social media platform nowadays. Website owners build their website’s page on Facebook and their regular visitors/user shared & subscribed to their Facebook page. Facebook page subscribe count is the trend to flaunt. Highest likes count of any website denotes the love of readers/visitors towards that website. And showing that likes count on your website attracts the new visitors to follow your Facebook page. You can add Facebook page plugin to your website easily and promote your Facebook page. Open Facebook Page Plugin and scroll slightly down and you will see a form. Please fill the form, as you desire the page look. You can change the look of Facebook page plugin with provided settings option After …

Read More
Coders Den

Best way to POST Form data, File via jQuery AJAX

In programming, you often required to POST form data via jQuery AJAX. Posting normal data via AJAX is the easiest task. But Posting an image, File through AJAX is quite tricky. Either you need to include plugin/library that does the same job or you need to do RD on this. But in some projects, you do not want to include those plugins/libraries. Here in this article, I will show you how you can POST your form data, image or FILE easily. Make this your habit in programming to call AJAX in this way and you will never face such problems. You will get your all data (normal data, image, FILES) on server side language. HTML File / Form

Javascript …

Read More
how to connect mobile to computer

Access your window computer on any mobile

अपना Windows Computer कैसे किसी भी Mobile पर खोले? | Access your window computer on any mobile Today, in this video, I’ll show you, how you can access your localhost projects/sites on any mobile phone i.e. Android, iPhone, etc.” By doing this, you can do real-time testing for your project on a mobile phone without uploading the code to any staging/live server. You can test mobile events, camera and lots of functions. Video Source Hopefully, you have successfully connected your localhost to the mobile phone. Please don’t forget to subscribe, share and like our YouTube channel – CoderDen.

Read More