Posts

Showing posts from August, 2020

Simple PHP programs Part II

Image
 Simple PHP programs part II Use Desktop Site in Smart phones to visit our post in best manner Before going to this, if you missed the Simple PHP programs part I.  Click below this link to to visit Part I: Simple PHP programs Simple PHP programs Part I 1.  To find the factorial value of the given number <html> <head> <title>Factorial Value for the given value</title> </head> <body> <center> <form method="post"> <tr> <td><b>Enter the number : </b></td> <td><input type="number" name="number"></td> <td><input type="submit" value="Submit"></td> </tr> </form> <?php $n=$_POST['number']; $i=1;$f=1; while($i<=$n) { $f=$f*$i; $i++; } echo "The factorial value for the given number is <b style='font-size:2...

Simple programs in JAVA

Simple programs in Java using operators "Use desktop site in Smart phones to visit our blog in best manner" Before going to java program, if anyone want to execute a Java program in, they will need to install JDK on the system. How to install JDK on the system The link given above will help you to know about how to install JDK on your system 1. Addition of Two numbers public class addoftwo { &nbsp&nbsp public static void main(String[] args) &nbsp&nbsp { &nbsp&nbsp&nbsp&nbsp int a=30,b=42; &nbsp&nbsp&nbsp&nbsp int c; &nbsp&nbsp&nbsp&nbsp c=a+b; &nbsp&nbsp&nbsp&nbsp System.out.println("Sum of A and B is : " +c); &nbsp&nbsp } } Sum of A and B is : 72 Explanation ...

How to set path to execute JAVA program

Image
    Creating path for JDK Before creating path you already need to install the JDK, click the given below link to see how to install JDK in you system. " How to install JDK on system " 1. Creating Path with Environment Variables in system The java programs outputs are executed in Command Prompt.  For executing java programs we need to set path.  Without path, we can't execute java programs.   If you want to execute a java program in cmd, initially you need to set the path like, set path C:\Program Files\Java\Installed_java_version_name\bin After that you need to execute a java program.  Instead of setting path in cmd, every time.  We can easily set the path in Windows.   In Windows 10, in search bar, search for "Environment variables". In other OS, press "Winkey + R" the "Run" dialogue box will be open.  In that, you can search for the "Environment variables". Select "Edit Environment variables". In that, choose "Edi...

How to install JDK

Image
   Installing JDK  Use desktop site in Smartphones to visit our blog in best manner Before going to install Java, you need to know about what is Java and its features.  You can know about Java by clicking this link given below, " Introduction to JAVA " JDK JDK is a application which is used to execute Java programs in a system.  JDK stands for "Java Development Kit" and J2SE stands for "Java 2 Standard Environment".  There lot of versions in JDK and J2SE versions.  You can download any version from internet.  Java is open source language.  So, anyone can download it.  Versions of JDK & J2SE, JDK Alpha & Beta JDK 1.0 JDK 1.1 J2SE 1.2                    J2SE 1.3 J2SE 1.4 J2SE 5.0 Java SE 6 Java SE 7 Java SE 8 (Last version for 32-bit(x86) systems.) Java SE 9 to Java SE 14 Java SE 15  (Under development) 1. Download JDK or Java SE development kit You can easily download the JD...

JAVA Introduction

Image
JAVA Use Desktop site in Smartphones to visit our blog in best manner Introduction to Java Java was developed by Sun Microsystems, initiated by James Gosling and released in 1995. Internet is hetrogeneous environment. Other languages can't run in different OS's. But, Java is guaranteed to write once and run anywhere. Java code that runs on one platform doesn't need to be recompiled to run on another OS. This application is typically compiled to bytecode (Class file) that can run on any Java Virtual Machine (JVM) . It is desinged for the development of software for consumer electronics . Java is platfom independent . This is an unique techonology to design three basic key elements that are, Usage of Applets Powerful programing language constructions Rich set of a Significan Object and Classes JDE (Java Development Environment) has 2 parts, Java Compiler - Generate bytecode ...

Simple PHP programs I

Image
 Some Examples on PHP programs Use desktop site in Smart phones to visit our post in best manner Introduction to PHP: PHP is a Hypertext Preprocessor language.  It is interpreted and Server-side Scripting language.  It is designed for web development.  Program syntax is similar to C and Perl languages.  It is executed only in servers.  Without servers, we can't executed it.  PHP can have text, HTML, CSS, Javascript like this.  PHP generates a dynamic contents, collect form data, send & receive cookies.  It can easily helps user to interact with database.  It is open source language. It is mostly used to write application's logic. For executing PHP file you need to have a server, a data base and PHP file.  PHP, MySQL and Apache are open source.  So we can download separately or we can download this all softwares as a package.  WAMP and LAMP or the packages of PHP, MySQL, Apache, MariaDB.  So, we can download anyone...

How to install WAMP server on Windows OS and how to execute a PHP file

Image
 Installing WAMP Server WAMP stands for "Windows Apache MySQL PHP".  This is servers which offers users to host their website free.  Apache, MySQL and PHP are the free source which can access by the users easily.  Instead of installing all the separate OS's, we can install the WAMP as a package software.  From this, we can access all that sources in one package. 1. Download WAMP server : We can download the WAMP server from the internet easily.   "  Download WAMP server for 64 - bit   " " Download WAMP server for 32 - bit " By clicking the above link, you can download WAMP server. For the wamp you need to install some Microsoft Visual C++.  You can can download this from clicking below, " Download vcredist_64 "  There are two different links for downloading WAMP server according to the 32 and 64-bit systems.   Download correct version for your computer. If you want to see all the versions, which are available in wamp ser...

WhatsApp

Image
  WhatsApp Knowsomethinks WhatsApp "Use desktop site in Smart phones to visit our blog in best manner" WhatsApp or WhatsApp Messenger is a application which helps clients to share their text-messages, Media files, videos, documents, contacts, audios like this. WhatsApp is a american freeware application. Users can easily access these application from Playstore and Apple Store. This application compatible with both Android and Mac. It is a cross-platform message and Voice overIP (VoIP) service which owned by Facebook. WhatsApp is not developed by Mark Zuckeberg. From this application an user can contact his friends or clients with Voice calls, Video calls and text-messeages. And also it allows do conference video calls. Android users can download this app from Playstore. Before using this WhatsApp we need to register our number with their server. This service requires standard contact number from a user to use this service. A us...