![]() Open Internet Explorer and type the following in the address bar Take another notepad and type the following and save it as fact.php in C:\Abyss Web Server\htdocs Take a note pad and type the following and save it as fact_form.html in C:\Abyss Web Server\htdocs The difference between GET and POST method is given below. Write a function in PHP to find the factorial of a (3) Resources: It is not an actual data type rather it is a special variable that hold references to file handler, data base object, etc.Ĭreate an HTML form in PHP showing the difference of the GET and POST method.At first a class is declared and then objects can be created using the command ‘new’. Object: Similar in C and must be declared explicitly. ![]() With the same name we can store many elements. Array: Array is a collection of elements.This is the default value to a variable, if we do not set a value to it. Null: Special data type with value NULL.(1)ĭiscuss about special data types used in PHP. “, “ Ī web server that supports PHP on any operating system is _. This array is called associative array “Ajay”, “Son” => “Arjun”, “Daughter” = > “Archana”) įoreach($family as $key =>$name) echo “$key – $name”. Write a for each loop that prints all the array elements. Syntax: $array_name=array(valuel ,value2 ) Īn array in PHP is given as follows: In PHP the function array() is used to create an array. by the indices and the index of the first element is zero. Indexed arrays-: The elements in an array can be distinguished as first or second or third etc. Unlike C , in PHP we can use either non-negative integers or strings as keys. ![]() (3)Ī) In PHP array is a collection of key and value pairs. Write a PHP program to display the perfect numbers below 100. (2)ī) Write a PHP program to display prime numbers below 50. View our general port forwarding article for information on setting up port forwarding.Kerala Plus Two Computer Science Chapter Wise Previous Questions and Answers Chapter 10 Server Side Scripting Using PHPĪ) Compare Indexed and associative arrays in PHP. The last step in the process before making the website live is to make sure that the port you are using has been forwarded (opened) correctly in your router. Great job, you have now created your own web server. Be sure to visit the installation address (Computer > Localdisk (C:) > Abyss Web Server.) Place your website files in the “htdocs” folder. The final step is hosting your actual website. ![]() If your internet service provider is blocking port 80 then make sure your server is set to listen on the same port number you specified with your port 80 redirect record. If your Internet Service Provider is not blocking port 80 then make sure your server’s listening port is set to 80. ![]() Now log into your web server for the first time using the username and password that was just created.Īfter logging in, click on the “Parameters” button. You can also follow our Getting Started guide which will walk you through the steps on creating a account.Ĭlick on Abyss Web Server icon on taskbar then right click and select “Show Console in Abyss Server”.Ĭreate a set of login credentials in the form of a username and password. After installing the Web Server Software, create a account for free by clicking on “ Sign Up” when you are on. If you have an active Firewall running on your PC, be sure to allow the Abyss Web Server software into your Firewall’s exceptions.ģ. After the software has been successfully downloaded, install the software. This software is available for Mac OSX, Windows, and Linux operating systems as shown here:Ģ. The first step is to install the Web Server X1 or X2 free or paid version. Below is the complete step by step process for configuring your Abyss Web Server.ġ. ![]()
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |