{"id":166,"date":"2016-05-07T08:11:42","date_gmt":"2016-05-07T08:11:42","guid":{"rendered":"https:\/\/www.infoskysolutions.com\/blog\/?p=166"},"modified":"2018-10-25T09:26:40","modified_gmt":"2018-10-25T09:26:40","slug":"the-basic-concepts-of-using-php-and-its-application-in-the-technical-field","status":"publish","type":"post","link":"https:\/\/www.infoskysolutions.com\/blog\/the-basic-concepts-of-using-php-and-its-application-in-the-technical-field\/","title":{"rendered":"The Basic Concepts of Using PHP and its Application in the Technical Field"},"content":{"rendered":"<p align=\"left\">In order to begin writing PHP scripts, you need access to an online server running PHP.<\/p>\n<h3 align=\"left\"><span style=\"color: #008080;\">Your main options are:<\/span><\/h3>\n<p align=\"left\">Run PHP on your own computer: The easiest thank to try this is to put in an entire package like XAMPP. This contains the Apache Web server, along with PHP and also the MySQL information engine, in one easy-to-install package. XAMPP is available for windows,MAC OS X &amp; Linux. (A popular various on Windows is WampServer.)<\/p>\n<p align=\"left\">Run your PHP scripts on your Web host: If you already have an online hosting account that supports PHP then you&#8217;ll transfer your PHP scripts via FTP and run them on the online server. The advantage of this approach is that you haven&#8217;t got to put in anything; the disadvantage is that it&#8217;s slower to jot down and test your scripts.<\/p>\n<h3 align=\"left\"><span style=\"color: #008080;\">Creating the script:<\/span><\/h3>\n<p align=\"left\">To create your script, you&#8217;ll want to use a text application. Most computers come with one or a lot of text editors inbuilt \u2014 for example:<\/p>\n<p align=\"left\">Note on Windows<\/p>\n<p align=\"left\">Emacs on Linux<\/p>\n<p align=\"left\">TextEdit on Mac OS X<\/p>\n<p align=\"left\">Copy and paste the script code listed above into an original document in your text setup, then save the file as hello.php in the document root folder \u2014 that&#8217;s, the top level of your web site \u2014 on your disk drive. If you&#8217;re not certain wherever your document root folder is then consult your internet server system. Common locations include:<\/p>\n<p align=\"left\">X-A-M-P-P on Windows: C:\/Program Files\/xampp\/htdocs\/<\/p>\n<p align=\"left\">X-A-M-P-P on Linux: \/opt\/lampp\/htdocs\/<\/p>\n<p align=\"left\">X-A-M-P-P on Mac OS X: \/Applications\/XAMPP\/htdocs\/<\/p>\n<p align=\"left\">If you want to run the script on your internet hosting account instead of your own pc then you&#8217;ll have to transfer the script victimization FTP instead.<\/p>\n<p align=\"left\">Find out a lot of regarding the document root, as well as updating files, in Getting started with your internet hosting service.<\/p>\n<h3 align=\"left\"><span style=\"color: #008080;\">Testing the script:<\/span><\/h3>\n<p align=\"left\">Now you are prepared to run your script. To do this, open a Web browser, type the script&#8217;s URL into the browser&#8217;s address bar, and press Enter. If you&#8217;re running the internet server on your own pc then the URL can most likely be:<\/p>\n<p align=\"left\"><span lang=\"zxx\">http:\/\/localhost\/hello.php<\/span><\/p>\n<p align=\"left\">If, on the other hand, you&#8217;re running the script on an internet hosting account then you wish to use one thing like:<\/p>\n<p align=\"left\"><span lang=\"zxx\">http:\/\/www.example.com\/hello.php<\/span><\/p>\n<p align=\"left\">If all goes well then you should see a page almost like this:<\/p>\n<p align=\"left\">\u201cRunning your first PHP script:\u201d<\/p>\n<h3 align=\"left\"><span style=\"color: #008080;\">Problems:<\/span><\/h3>\n<p align=\"left\">If you get an incorrect message or nothing happens, check that your Web server is ready up properly (see the online server&#8217;s documentation for help) which you entered the script code properly.<\/p>\n<p align=\"left\">If you see the script code displayed in the browser, rather than the expected website, or your browser offers to download the script file, then your Web server has not been designed to run PHP scripts.<\/p>\n<p align=\"left\">If you&#8217;re still stuck then consider the various PHP support choices offered.<\/p>\n<h3 align=\"left\"><span style=\"color: #008080;\">What next?<\/span><\/h3>\n<p align=\"left\">If you saw the correct website then congratulations \u2014 you&#8217;ve with success written, saved, and run your first PHP script! you may build on these skills in future tutorials as you find out how to jot down a lot of complicated PHP scripts and applications. You might additionally prefer to browse the PHP language relevance get some ideas for different PHP scripts to jot down.<\/p>\n<p align=\"left\"><em>Set up PHP on your computer:<\/em><\/p>\n<ol>\n<li>Use strings, arrays, functions and objects<\/li>\n<li>Create interactive internet forms<\/li>\n<li>Handle cookies and sessions<\/li>\n<li>Work with files on the server<\/li>\n<li>Build database-driven sites with MySQL<\/li>\n<li>Send emails from your scripts<\/li>\n<\/ol>\n<p>PHP can be used in <a href=\"https:\/\/www.infoskysolutions.com\/\" target=\"_blank\">website design<\/a> standalone or as part.<\/p>\n<p align=\"left\"><em>You can also read &#8211; <\/em><\/p>\n<p align=\"left\"><a href=\"https:\/\/www.infoskysolutions.com\/blog\/basic-anatomy-of-responsive-web-design-with-common-techniques\/\" target=\"_blank\"><em>Basic Anatomy Of Responsive Web Design With Common Techniques<\/em><\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>In order to begin writing PHP scripts, you need access to an online server running PHP. Your main options are: Run PHP on your own computer: The easiest thank to try this is to put in an entire package like <a class=\"more-link\" href=\"https:\/\/www.infoskysolutions.com\/blog\/the-basic-concepts-of-using-php-and-its-application-in-the-technical-field\/\">Continue reading <span class=\"screen-reader-text\">  The Basic Concepts of Using PHP and its Application in the Technical Field<\/span><span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[1],"tags":[17,49,21,19,22],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.12 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>The Basic Concepts of Using PHP and its Application in the Technical Field - InfoSky Solutions Blog<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.infoskysolutions.com\/blog\/the-basic-concepts-of-using-php-and-its-application-in-the-technical-field\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"The Basic Concepts of Using PHP and its Application in the Technical Field - InfoSky Solutions Blog\" \/>\n<meta property=\"og:description\" content=\"In order to begin writing PHP scripts, you need access to an online server running PHP. Your main options are: Run PHP on your own computer: The easiest thank to try this is to put in an entire package like Continue reading  The Basic Concepts of Using PHP and its Application in the Technical Field&rarr;\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.infoskysolutions.com\/blog\/the-basic-concepts-of-using-php-and-its-application-in-the-technical-field\/\" \/>\n<meta property=\"og:site_name\" content=\"InfoSky Solutions Blog\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/infoskysolutions\" \/>\n<meta property=\"article:published_time\" content=\"2016-05-07T08:11:42+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2018-10-25T09:26:40+00:00\" \/>\n<meta name=\"author\" content=\"InfoSky Solutions\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@infoskysolution\" \/>\n<meta name=\"twitter:site\" content=\"@infoskysolution\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"InfoSky Solutions\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/www.infoskysolutions.com\/blog\/the-basic-concepts-of-using-php-and-its-application-in-the-technical-field\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.infoskysolutions.com\/blog\/the-basic-concepts-of-using-php-and-its-application-in-the-technical-field\/\"},\"author\":{\"name\":\"InfoSky Solutions\",\"@id\":\"https:\/\/www.infoskysolutions.com\/blog\/#\/schema\/person\/95d88f692ab34ab81129ea69894551ce\"},\"headline\":\"The Basic Concepts of Using PHP and its Application in the Technical Field\",\"datePublished\":\"2016-05-07T08:11:42+00:00\",\"dateModified\":\"2018-10-25T09:26:40+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.infoskysolutions.com\/blog\/the-basic-concepts-of-using-php-and-its-application-in-the-technical-field\/\"},\"wordCount\":625,\"publisher\":{\"@id\":\"https:\/\/www.infoskysolutions.com\/blog\/#organization\"},\"keywords\":[\"web design Kolkata\",\"web design services\",\"website design\",\"website design company in Kolkata\",\"website design services\"],\"articleSection\":[\"Web Design\"],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.infoskysolutions.com\/blog\/the-basic-concepts-of-using-php-and-its-application-in-the-technical-field\/\",\"url\":\"https:\/\/www.infoskysolutions.com\/blog\/the-basic-concepts-of-using-php-and-its-application-in-the-technical-field\/\",\"name\":\"The Basic Concepts of Using PHP and its Application in the Technical Field - InfoSky Solutions Blog\",\"isPartOf\":{\"@id\":\"https:\/\/www.infoskysolutions.com\/blog\/#website\"},\"datePublished\":\"2016-05-07T08:11:42+00:00\",\"dateModified\":\"2018-10-25T09:26:40+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/www.infoskysolutions.com\/blog\/the-basic-concepts-of-using-php-and-its-application-in-the-technical-field\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.infoskysolutions.com\/blog\/the-basic-concepts-of-using-php-and-its-application-in-the-technical-field\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.infoskysolutions.com\/blog\/the-basic-concepts-of-using-php-and-its-application-in-the-technical-field\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.infoskysolutions.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"The Basic Concepts of Using PHP and its Application in the Technical Field\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.infoskysolutions.com\/blog\/#website\",\"url\":\"https:\/\/www.infoskysolutions.com\/blog\/\",\"name\":\"Infosky Solutions\",\"description\":\"Website Design Comapany in Kolkata\",\"publisher\":{\"@id\":\"https:\/\/www.infoskysolutions.com\/blog\/#organization\"},\"alternateName\":\"infoskysolutions\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.infoskysolutions.com\/blog\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/www.infoskysolutions.com\/blog\/#organization\",\"name\":\"Infosky Solutions\",\"alternateName\":\"infoskysolutions\",\"url\":\"https:\/\/www.infoskysolutions.com\/blog\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.infoskysolutions.com\/blog\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/www.infoskysolutions.com\/blog\/wp-content\/uploads\/2019\/07\/logo.png\",\"contentUrl\":\"https:\/\/www.infoskysolutions.com\/blog\/wp-content\/uploads\/2019\/07\/logo.png\",\"width\":215,\"height\":55,\"caption\":\"Infosky Solutions\"},\"image\":{\"@id\":\"https:\/\/www.infoskysolutions.com\/blog\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/infoskysolutions\",\"https:\/\/twitter.com\/infoskysolution\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.infoskysolutions.com\/blog\/#\/schema\/person\/95d88f692ab34ab81129ea69894551ce\",\"name\":\"InfoSky Solutions\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.infoskysolutions.com\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/2ddfa0409862b9bc1b90fe30ba08246d?s=96&d=blank&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/2ddfa0409862b9bc1b90fe30ba08246d?s=96&d=blank&r=g\",\"caption\":\"InfoSky Solutions\"},\"description\":\"InfoSky Solutions is a well qualified, experienced website design company in Kolkata, India that is committed to enhancing customer satisfaction. Our company is located in Kolkata and has more than 10+ years of experience in providing thousands of customers with a brilliant website design.\",\"sameAs\":[\"https:\/\/www.infoskysolutions.com\/\"],\"url\":\"https:\/\/www.infoskysolutions.com\/blog\/author\/sumanto\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"The Basic Concepts of Using PHP and its Application in the Technical Field - InfoSky Solutions Blog","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.infoskysolutions.com\/blog\/the-basic-concepts-of-using-php-and-its-application-in-the-technical-field\/","og_locale":"en_US","og_type":"article","og_title":"The Basic Concepts of Using PHP and its Application in the Technical Field - InfoSky Solutions Blog","og_description":"In order to begin writing PHP scripts, you need access to an online server running PHP. Your main options are: Run PHP on your own computer: The easiest thank to try this is to put in an entire package like Continue reading  The Basic Concepts of Using PHP and its Application in the Technical Field&rarr;","og_url":"https:\/\/www.infoskysolutions.com\/blog\/the-basic-concepts-of-using-php-and-its-application-in-the-technical-field\/","og_site_name":"InfoSky Solutions Blog","article_publisher":"https:\/\/www.facebook.com\/infoskysolutions","article_published_time":"2016-05-07T08:11:42+00:00","article_modified_time":"2018-10-25T09:26:40+00:00","author":"InfoSky Solutions","twitter_card":"summary_large_image","twitter_creator":"@infoskysolution","twitter_site":"@infoskysolution","twitter_misc":{"Written by":"InfoSky Solutions","Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.infoskysolutions.com\/blog\/the-basic-concepts-of-using-php-and-its-application-in-the-technical-field\/#article","isPartOf":{"@id":"https:\/\/www.infoskysolutions.com\/blog\/the-basic-concepts-of-using-php-and-its-application-in-the-technical-field\/"},"author":{"name":"InfoSky Solutions","@id":"https:\/\/www.infoskysolutions.com\/blog\/#\/schema\/person\/95d88f692ab34ab81129ea69894551ce"},"headline":"The Basic Concepts of Using PHP and its Application in the Technical Field","datePublished":"2016-05-07T08:11:42+00:00","dateModified":"2018-10-25T09:26:40+00:00","mainEntityOfPage":{"@id":"https:\/\/www.infoskysolutions.com\/blog\/the-basic-concepts-of-using-php-and-its-application-in-the-technical-field\/"},"wordCount":625,"publisher":{"@id":"https:\/\/www.infoskysolutions.com\/blog\/#organization"},"keywords":["web design Kolkata","web design services","website design","website design company in Kolkata","website design services"],"articleSection":["Web Design"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/www.infoskysolutions.com\/blog\/the-basic-concepts-of-using-php-and-its-application-in-the-technical-field\/","url":"https:\/\/www.infoskysolutions.com\/blog\/the-basic-concepts-of-using-php-and-its-application-in-the-technical-field\/","name":"The Basic Concepts of Using PHP and its Application in the Technical Field - InfoSky Solutions Blog","isPartOf":{"@id":"https:\/\/www.infoskysolutions.com\/blog\/#website"},"datePublished":"2016-05-07T08:11:42+00:00","dateModified":"2018-10-25T09:26:40+00:00","breadcrumb":{"@id":"https:\/\/www.infoskysolutions.com\/blog\/the-basic-concepts-of-using-php-and-its-application-in-the-technical-field\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.infoskysolutions.com\/blog\/the-basic-concepts-of-using-php-and-its-application-in-the-technical-field\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.infoskysolutions.com\/blog\/the-basic-concepts-of-using-php-and-its-application-in-the-technical-field\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.infoskysolutions.com\/blog\/"},{"@type":"ListItem","position":2,"name":"The Basic Concepts of Using PHP and its Application in the Technical Field"}]},{"@type":"WebSite","@id":"https:\/\/www.infoskysolutions.com\/blog\/#website","url":"https:\/\/www.infoskysolutions.com\/blog\/","name":"Infosky Solutions","description":"Website Design Comapany in Kolkata","publisher":{"@id":"https:\/\/www.infoskysolutions.com\/blog\/#organization"},"alternateName":"infoskysolutions","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.infoskysolutions.com\/blog\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.infoskysolutions.com\/blog\/#organization","name":"Infosky Solutions","alternateName":"infoskysolutions","url":"https:\/\/www.infoskysolutions.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.infoskysolutions.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/www.infoskysolutions.com\/blog\/wp-content\/uploads\/2019\/07\/logo.png","contentUrl":"https:\/\/www.infoskysolutions.com\/blog\/wp-content\/uploads\/2019\/07\/logo.png","width":215,"height":55,"caption":"Infosky Solutions"},"image":{"@id":"https:\/\/www.infoskysolutions.com\/blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/infoskysolutions","https:\/\/twitter.com\/infoskysolution"]},{"@type":"Person","@id":"https:\/\/www.infoskysolutions.com\/blog\/#\/schema\/person\/95d88f692ab34ab81129ea69894551ce","name":"InfoSky Solutions","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.infoskysolutions.com\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/2ddfa0409862b9bc1b90fe30ba08246d?s=96&d=blank&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/2ddfa0409862b9bc1b90fe30ba08246d?s=96&d=blank&r=g","caption":"InfoSky Solutions"},"description":"InfoSky Solutions is a well qualified, experienced website design company in Kolkata, India that is committed to enhancing customer satisfaction. Our company is located in Kolkata and has more than 10+ years of experience in providing thousands of customers with a brilliant website design.","sameAs":["https:\/\/www.infoskysolutions.com\/"],"url":"https:\/\/www.infoskysolutions.com\/blog\/author\/sumanto\/"}]}},"_links":{"self":[{"href":"https:\/\/www.infoskysolutions.com\/blog\/wp-json\/wp\/v2\/posts\/166"}],"collection":[{"href":"https:\/\/www.infoskysolutions.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.infoskysolutions.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.infoskysolutions.com\/blog\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/www.infoskysolutions.com\/blog\/wp-json\/wp\/v2\/comments?post=166"}],"version-history":[{"count":7,"href":"https:\/\/www.infoskysolutions.com\/blog\/wp-json\/wp\/v2\/posts\/166\/revisions"}],"predecessor-version":[{"id":1780,"href":"https:\/\/www.infoskysolutions.com\/blog\/wp-json\/wp\/v2\/posts\/166\/revisions\/1780"}],"wp:attachment":[{"href":"https:\/\/www.infoskysolutions.com\/blog\/wp-json\/wp\/v2\/media?parent=166"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.infoskysolutions.com\/blog\/wp-json\/wp\/v2\/categories?post=166"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.infoskysolutions.com\/blog\/wp-json\/wp\/v2\/tags?post=166"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}