{"id":1178,"date":"2020-11-19T18:34:13","date_gmt":"2020-11-19T23:34:13","guid":{"rendered":"https:\/\/truxgoservers.com\/blog\/?p=1178"},"modified":"2020-11-20T14:31:41","modified_gmt":"2020-11-20T19:31:41","slug":"in-which-fields-are-php-scripts-mainly-used","status":"publish","type":"post","link":"https:\/\/truxgoservers.com\/blog\/in-which-fields-are-php-scripts-mainly-used\/","title":{"rendered":"In which fields are PHP scripts mainly used?"},"content":{"rendered":"\n<p>The main fields of PHP scripts apart of course from being focused on server-side scripting, so you can do anything that another CGI program can do, such as collecting data from forms, generating pages with dynamic content, or submitting and receive cookies. Although PHP can do much more.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">The main fields where PHP scripts are used<\/h2>\n\n\n\n<p><strong><em>\u25b8Server-side scripts<\/em><\/strong> <\/p>\n\n\n\n<p>This is the most traditional field and the main focus. Three things are necessary for this to work: the PHP parser (CGI module or server), a web server, and a web browser. You need to run the server with a connected PHP installation. The result of the PHP program can be accessed with a browser, viewing the PHP page through the server. All of this can be run on your machine if you are experienced with PHP programming. See the section on installation instructions for more information.<\/p>\n\n\n\n<p><strong><em>\u25b8Scripts from the command line<\/em><\/strong> <\/p>\n\n\n\n<p>You can create a PHP script and run it without the need for a server or browser. You only need the PHP parser to use it in this way. This type of usage is ideal for scripts that are run regularly using cron (on * nix or Linux) or the Task Scheduler (on Windows). These scripts can also be used for simple word processing tasks. See the section Using PHP on the command line for more information.<\/p>\n\n\n\n<p><strong><em>\u25b8Write desktop applications<\/em><\/strong><\/p>\n\n\n\n<p>PHP is probably not the most appropriate language for creating desktop applications with a graphical user interface, but if you know PHP well, and you would like to use some advanced features of PHP in client-side applications, you can use PHP-GTK to write such programs. It is also possible in this way to write platform-independent applications. PHP-GTK is a PHP extension, not available in the main distribution. If you are interested in PHP-GTK, you can visit your own \u00bbwebsite.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>The main fields of PHP scripts apart of course from being focused on server-side scripting, so you can do anything that another CGI program can do, such as collecting data from forms, generating pages with dynamic content, or submitting and receive cookies. Although PHP can do much more. The main fields where PHP scripts are [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":1179,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[7,1],"tags":[152,33],"class_list":["post-1178","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-php","category-tutorial","tag-php","tag-tutorial"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.5 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>In which fields are PHP scripts mainly used? - Truxgo Server Blog<\/title>\n<meta name=\"description\" content=\"PHP a fairly sophisticated language and which we see which are its main fields that dominates these forms of Scripts programming.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/truxgoservers.com\/blog\/in-which-fields-are-php-scripts-mainly-used\/\" \/>\n<meta property=\"og:locale\" content=\"es_MX\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"In which fields are PHP scripts mainly used? - Truxgo Server Blog\" \/>\n<meta property=\"og:description\" content=\"PHP a fairly sophisticated language and which we see which are its main fields that dominates these forms of Scripts programming.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/truxgoservers.com\/blog\/in-which-fields-are-php-scripts-mainly-used\/\" \/>\n<meta property=\"og:site_name\" content=\"Truxgo Server Blog\" \/>\n<meta property=\"article:published_time\" content=\"2020-11-19T23:34:13+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2020-11-20T19:31:41+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/truxgoservers.com\/blog\/wp-content\/uploads\/2020\/11\/PHP.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"1800\" \/>\n\t<meta property=\"og:image:height\" content=\"1200\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"Truxgo\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Escrito por\" \/>\n\t<meta name=\"twitter:data1\" content=\"Truxgo\" \/>\n\t<meta name=\"twitter:label2\" content=\"Tiempo de lectura\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 minutos\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/truxgoservers.com\\\/blog\\\/in-which-fields-are-php-scripts-mainly-used\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/truxgoservers.com\\\/blog\\\/in-which-fields-are-php-scripts-mainly-used\\\/\"},\"author\":{\"name\":\"Truxgo\",\"@id\":\"https:\\\/\\\/truxgoservers.com\\\/blog\\\/#\\\/schema\\\/person\\\/8b409c26449db6aa09724b45331e333e\"},\"headline\":\"In which fields are PHP scripts mainly used?\",\"datePublished\":\"2020-11-19T23:34:13+00:00\",\"dateModified\":\"2020-11-20T19:31:41+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/truxgoservers.com\\\/blog\\\/in-which-fields-are-php-scripts-mainly-used\\\/\"},\"wordCount\":316,\"commentCount\":1,\"publisher\":{\"@id\":\"https:\\\/\\\/truxgoservers.com\\\/blog\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/truxgoservers.com\\\/blog\\\/in-which-fields-are-php-scripts-mainly-used\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/truxgoservers.com\\\/blog\\\/wp-content\\\/uploads\\\/2020\\\/11\\\/PHP.jpg\",\"keywords\":[\"PHP\",\"Tutorial\"],\"articleSection\":[\"PHP\",\"Tutorial\"],\"inLanguage\":\"es\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/truxgoservers.com\\\/blog\\\/in-which-fields-are-php-scripts-mainly-used\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/truxgoservers.com\\\/blog\\\/in-which-fields-are-php-scripts-mainly-used\\\/\",\"url\":\"https:\\\/\\\/truxgoservers.com\\\/blog\\\/in-which-fields-are-php-scripts-mainly-used\\\/\",\"name\":\"In which fields are PHP scripts mainly used? - Truxgo Server Blog\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/truxgoservers.com\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/truxgoservers.com\\\/blog\\\/in-which-fields-are-php-scripts-mainly-used\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/truxgoservers.com\\\/blog\\\/in-which-fields-are-php-scripts-mainly-used\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/truxgoservers.com\\\/blog\\\/wp-content\\\/uploads\\\/2020\\\/11\\\/PHP.jpg\",\"datePublished\":\"2020-11-19T23:34:13+00:00\",\"dateModified\":\"2020-11-20T19:31:41+00:00\",\"description\":\"PHP a fairly sophisticated language and which we see which are its main fields that dominates these forms of Scripts programming.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/truxgoservers.com\\\/blog\\\/in-which-fields-are-php-scripts-mainly-used\\\/#breadcrumb\"},\"inLanguage\":\"es\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/truxgoservers.com\\\/blog\\\/in-which-fields-are-php-scripts-mainly-used\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"es\",\"@id\":\"https:\\\/\\\/truxgoservers.com\\\/blog\\\/in-which-fields-are-php-scripts-mainly-used\\\/#primaryimage\",\"url\":\"https:\\\/\\\/truxgoservers.com\\\/blog\\\/wp-content\\\/uploads\\\/2020\\\/11\\\/PHP.jpg\",\"contentUrl\":\"https:\\\/\\\/truxgoservers.com\\\/blog\\\/wp-content\\\/uploads\\\/2020\\\/11\\\/PHP.jpg\",\"width\":1800,\"height\":1200},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/truxgoservers.com\\\/blog\\\/in-which-fields-are-php-scripts-mainly-used\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/truxgoservers.com\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"In which fields are PHP scripts mainly used?\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/truxgoservers.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/truxgoservers.com\\\/blog\\\/\",\"name\":\"Truxgo Server Blog\",\"description\":\"Cloud Server and Hosting Tutorials.\",\"publisher\":{\"@id\":\"https:\\\/\\\/truxgoservers.com\\\/blog\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/truxgoservers.com\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"es\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/truxgoservers.com\\\/blog\\\/#organization\",\"name\":\"Truxgo Server Blog\",\"url\":\"https:\\\/\\\/truxgoservers.com\\\/blog\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"es\",\"@id\":\"https:\\\/\\\/truxgoservers.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/truxgoservers.com\\\/blog\\\/wp-content\\\/uploads\\\/2020\\\/08\\\/cropped-truxgo-logo-blanco.png\",\"contentUrl\":\"https:\\\/\\\/truxgoservers.com\\\/blog\\\/wp-content\\\/uploads\\\/2020\\\/08\\\/cropped-truxgo-logo-blanco.png\",\"width\":1250,\"height\":278,\"caption\":\"Truxgo Server Blog\"},\"image\":{\"@id\":\"https:\\\/\\\/truxgoservers.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\"}},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/truxgoservers.com\\\/blog\\\/#\\\/schema\\\/person\\\/8b409c26449db6aa09724b45331e333e\",\"name\":\"Truxgo\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"es\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/52691a61c58e68677ed4860007c1bb03b14eabe7350747ab3fad3e17825b4b96?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/52691a61c58e68677ed4860007c1bb03b14eabe7350747ab3fad3e17825b4b96?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/52691a61c58e68677ed4860007c1bb03b14eabe7350747ab3fad3e17825b4b96?s=96&d=mm&r=g\",\"caption\":\"Truxgo\"},\"sameAs\":[\"https:\\\/\\\/truxgoservers.com\\\/blog\"],\"url\":\"https:\\\/\\\/truxgoservers.com\\\/blog\\\/author\\\/truxgo\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"In which fields are PHP scripts mainly used? - Truxgo Server Blog","description":"PHP a fairly sophisticated language and which we see which are its main fields that dominates these forms of Scripts programming.","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:\/\/truxgoservers.com\/blog\/in-which-fields-are-php-scripts-mainly-used\/","og_locale":"es_MX","og_type":"article","og_title":"In which fields are PHP scripts mainly used? - Truxgo Server Blog","og_description":"PHP a fairly sophisticated language and which we see which are its main fields that dominates these forms of Scripts programming.","og_url":"https:\/\/truxgoservers.com\/blog\/in-which-fields-are-php-scripts-mainly-used\/","og_site_name":"Truxgo Server Blog","article_published_time":"2020-11-19T23:34:13+00:00","article_modified_time":"2020-11-20T19:31:41+00:00","og_image":[{"width":1800,"height":1200,"url":"https:\/\/truxgoservers.com\/blog\/wp-content\/uploads\/2020\/11\/PHP.jpg","type":"image\/jpeg"}],"author":"Truxgo","twitter_card":"summary_large_image","twitter_misc":{"Escrito por":"Truxgo","Tiempo de lectura":"2 minutos"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/truxgoservers.com\/blog\/in-which-fields-are-php-scripts-mainly-used\/#article","isPartOf":{"@id":"https:\/\/truxgoservers.com\/blog\/in-which-fields-are-php-scripts-mainly-used\/"},"author":{"name":"Truxgo","@id":"https:\/\/truxgoservers.com\/blog\/#\/schema\/person\/8b409c26449db6aa09724b45331e333e"},"headline":"In which fields are PHP scripts mainly used?","datePublished":"2020-11-19T23:34:13+00:00","dateModified":"2020-11-20T19:31:41+00:00","mainEntityOfPage":{"@id":"https:\/\/truxgoservers.com\/blog\/in-which-fields-are-php-scripts-mainly-used\/"},"wordCount":316,"commentCount":1,"publisher":{"@id":"https:\/\/truxgoservers.com\/blog\/#organization"},"image":{"@id":"https:\/\/truxgoservers.com\/blog\/in-which-fields-are-php-scripts-mainly-used\/#primaryimage"},"thumbnailUrl":"https:\/\/truxgoservers.com\/blog\/wp-content\/uploads\/2020\/11\/PHP.jpg","keywords":["PHP","Tutorial"],"articleSection":["PHP","Tutorial"],"inLanguage":"es","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/truxgoservers.com\/blog\/in-which-fields-are-php-scripts-mainly-used\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/truxgoservers.com\/blog\/in-which-fields-are-php-scripts-mainly-used\/","url":"https:\/\/truxgoservers.com\/blog\/in-which-fields-are-php-scripts-mainly-used\/","name":"In which fields are PHP scripts mainly used? - Truxgo Server Blog","isPartOf":{"@id":"https:\/\/truxgoservers.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/truxgoservers.com\/blog\/in-which-fields-are-php-scripts-mainly-used\/#primaryimage"},"image":{"@id":"https:\/\/truxgoservers.com\/blog\/in-which-fields-are-php-scripts-mainly-used\/#primaryimage"},"thumbnailUrl":"https:\/\/truxgoservers.com\/blog\/wp-content\/uploads\/2020\/11\/PHP.jpg","datePublished":"2020-11-19T23:34:13+00:00","dateModified":"2020-11-20T19:31:41+00:00","description":"PHP a fairly sophisticated language and which we see which are its main fields that dominates these forms of Scripts programming.","breadcrumb":{"@id":"https:\/\/truxgoservers.com\/blog\/in-which-fields-are-php-scripts-mainly-used\/#breadcrumb"},"inLanguage":"es","potentialAction":[{"@type":"ReadAction","target":["https:\/\/truxgoservers.com\/blog\/in-which-fields-are-php-scripts-mainly-used\/"]}]},{"@type":"ImageObject","inLanguage":"es","@id":"https:\/\/truxgoservers.com\/blog\/in-which-fields-are-php-scripts-mainly-used\/#primaryimage","url":"https:\/\/truxgoservers.com\/blog\/wp-content\/uploads\/2020\/11\/PHP.jpg","contentUrl":"https:\/\/truxgoservers.com\/blog\/wp-content\/uploads\/2020\/11\/PHP.jpg","width":1800,"height":1200},{"@type":"BreadcrumbList","@id":"https:\/\/truxgoservers.com\/blog\/in-which-fields-are-php-scripts-mainly-used\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/truxgoservers.com\/blog\/"},{"@type":"ListItem","position":2,"name":"In which fields are PHP scripts mainly used?"}]},{"@type":"WebSite","@id":"https:\/\/truxgoservers.com\/blog\/#website","url":"https:\/\/truxgoservers.com\/blog\/","name":"Truxgo Server Blog","description":"Cloud Server and Hosting Tutorials.","publisher":{"@id":"https:\/\/truxgoservers.com\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/truxgoservers.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"es"},{"@type":"Organization","@id":"https:\/\/truxgoservers.com\/blog\/#organization","name":"Truxgo Server Blog","url":"https:\/\/truxgoservers.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"es","@id":"https:\/\/truxgoservers.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/truxgoservers.com\/blog\/wp-content\/uploads\/2020\/08\/cropped-truxgo-logo-blanco.png","contentUrl":"https:\/\/truxgoservers.com\/blog\/wp-content\/uploads\/2020\/08\/cropped-truxgo-logo-blanco.png","width":1250,"height":278,"caption":"Truxgo Server Blog"},"image":{"@id":"https:\/\/truxgoservers.com\/blog\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"https:\/\/truxgoservers.com\/blog\/#\/schema\/person\/8b409c26449db6aa09724b45331e333e","name":"Truxgo","image":{"@type":"ImageObject","inLanguage":"es","@id":"https:\/\/secure.gravatar.com\/avatar\/52691a61c58e68677ed4860007c1bb03b14eabe7350747ab3fad3e17825b4b96?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/52691a61c58e68677ed4860007c1bb03b14eabe7350747ab3fad3e17825b4b96?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/52691a61c58e68677ed4860007c1bb03b14eabe7350747ab3fad3e17825b4b96?s=96&d=mm&r=g","caption":"Truxgo"},"sameAs":["https:\/\/truxgoservers.com\/blog"],"url":"https:\/\/truxgoservers.com\/blog\/author\/truxgo\/"}]}},"_links":{"self":[{"href":"https:\/\/truxgoservers.com\/blog\/wp-json\/wp\/v2\/posts\/1178","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/truxgoservers.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/truxgoservers.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/truxgoservers.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/truxgoservers.com\/blog\/wp-json\/wp\/v2\/comments?post=1178"}],"version-history":[{"count":2,"href":"https:\/\/truxgoservers.com\/blog\/wp-json\/wp\/v2\/posts\/1178\/revisions"}],"predecessor-version":[{"id":1181,"href":"https:\/\/truxgoservers.com\/blog\/wp-json\/wp\/v2\/posts\/1178\/revisions\/1181"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/truxgoservers.com\/blog\/wp-json\/wp\/v2\/media\/1179"}],"wp:attachment":[{"href":"https:\/\/truxgoservers.com\/blog\/wp-json\/wp\/v2\/media?parent=1178"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/truxgoservers.com\/blog\/wp-json\/wp\/v2\/categories?post=1178"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/truxgoservers.com\/blog\/wp-json\/wp\/v2\/tags?post=1178"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}