Integer Base (radix) Inter-converter in PHP with Source Code

Language

Integer Base (radix) Interconverter


This PHP Internet program converts any integer (±X) From any One Base (radix) System Into Another.

The base can be any value from 2 to 36.

For example, the base 23 integer
3AJCM53KDBC22F07GLIJB3EF10L74ECFM26KEJ4LFLLG78C

equates to the base 10 integer
1513668569755468804508866185074877811548774513443261275725578557

or the base 16 integer
3ADF550C21224DD5122980AF266C74F4032B465C4139A8573413D

or the octal (base 8)integer
7267652414102211156521105140127446330723640062550627040471520534640475

etc.

The program uses arbitrary-precision arithmetic so you can work with
numbers hundreds of digits in length if you wish.

Here's a working copy on my website:

http://neoprogrammics.com/!abc/math-science-tools/integer-base-interconverter/index.php

I have provided the source code on this site. You can download it by clicking the download button below this article.

How to run the project?

Locally

  • Download and Install any local web server such as XAMPP/WAMP to run the PHP Script.
  • Download the provided source code zip file. (download button is located below)

Setup & Installation

  1. Open your XAMPP/WAMP's Control Panel and start the Apache webserver.
  2. Extract the downloaded zip file.
  3. Copy the extracted source code folder.
  4. If you using XAMPP, paste the source code folder inside the 'htdocs' directory ie. C:\xampp\htdocs. And if using WAMPP, paste it inside the 'www' directory.
  5. Open a new tab in your browser and browse http://localhost/integer-base-interconverter/.

DEMO VIDEO

That's it! You can now test the Integer Base (radix) Interconverter Project developed in PHP on your end.

Author:
Jay Tanner - 2019

Current Web Site
www.NeoProgrammics.com

Development Language:
PHP v7.1.8

License:
This program's source code and any related data and graphics are released to the public domain.
--------------------------------------------------------------------------

I hope this Integer Base (radix) Interconverter Project will help you with what you are looking for.

Enjoy :)

Note: Due to the size or complexity of this submission, the author has submitted it as a .zip file to shorten your download time. After downloading it, you will need a program like Winzip to decompress it.

Virus note: All files are scanned once-a-day by SourceCodester.com for viruses, but new viruses come out every day, so no prevention program can catch 100% of them.

FOR YOUR OWN SAFETY, PLEASE:

1. Re-scan downloaded files using your personal virus checker before using it.
2. NEVER, EVER run compiled files (.exe's, .ocx's, .dll's etc.)--only run source code.

Add new comment