{"id":12004,"date":"2022-04-14T17:38:12","date_gmt":"2022-04-14T15:38:12","guid":{"rendered":"https:\/\/www.beseit.net\/?p=12004"},"modified":"2024-08-11T21:52:49","modified_gmt":"2024-08-11T19:52:49","slug":"sublime-text-3-php-mostrar-al-navegador-lescript","status":"publish","type":"post","link":"https:\/\/www.beseit.net\/?p=12004","title":{"rendered":"Sublime text 3. PHP Mostrar l&#8217;escript al navegador"},"content":{"rendered":"<p><span style=\"font-size: 16pt;\">Si volem provar les nostres p\u00e0gines en un navegador per defecte i en una URL determinada Haurem d&#8217;instal\u00b7lar primer el plugin: <strong>SideBarEnhancements.<br \/>\n<\/strong><\/span><\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.beseit.net\/wp-content\/uploads\/2022\/04\/041422_1538_Sublimetext1.png\" alt=\"\" \/><span style=\"font-size: 16pt;\"><strong><br \/>\n<\/strong><\/span><\/p>\n<p><span style=\"font-size: 16pt;\">En em meu cas<br \/>\n<\/span><\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.beseit.net\/wp-content\/uploads\/2022\/04\/041422_1538_Sublimetext2.png\" alt=\"\" \/><br \/>\n&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;SyntaxHighlighter-pre lang=&#8221;html&#8221;&gt;&#8212;&#8212;-<\/p>\n<pre lang=\"html\">{\n\"S:\/0-php\/\": {\n\"url_production\":\"http:\/213.4.33.41\/0-php\/\"\n}\n}\n----------------------------------------------------------------\n{ \"S:\/polidic\/\": {\n \"url_production\":\"http:\/polidic.cat\/\" \n}\n}\n==========================Syn_sec=====================================\n{ \"Q:\/beseit\/\": {\n\"url_production\":\"http:\/192.168.1.49\/beseit\/\" \n}\n}\n==========================local=====================================\n{\n\"c:\/appserv\/www\/polidic\/\": {\n\"url_production\":\"http:\/localhost\/polidic\/\"\n}\n}\n\n-------------------------\n\n{\n\"c:\/appserv\/www\/enlla\u00e7os\/\": {\n\"url_production\":\"http:\/\/localhost\/enlla\u00e7os\/\"\n} \n}\n<\/pre>\n<pre lang=\"html\">{\n\"default_browser\":\"\" ,\n\"portable_browser\": \"C:\/Program Files\/Mozilla Firefox\/firefox.exe\"\n}\n<\/pre>\n<hr \/>\n<p>Configurar llan\u00e7ament de script: preferences\/key binding\/uswer<\/p>\n<pre lang=\"html\">[\n{\"keys\": [ \"ctrl+.\"], \"command\": \"toggle_side_bar\" },\n{\"keys\": [ \"ctrl+,\"], \"command\": \"reindent\" },\n{ \"keys\": [\"shift+f6\"],\n\"command\": \"side_bar_open_in_browser\" ,\n\"args\":{\"paths\":[], \"type\":\"production\", \"browser\":\"\"}\n}\n]\n<\/pre>\n<p><img decoding=\"async\" src=\"https:\/\/www.beseit.net\/wp-content\/uploads\/2022\/04\/041422_1538_Sublimetext3.png\" alt=\"\" \/><span style=\"font-size: 16pt;\"> Amb <span style=\"color: red;\"><strong>shit F6 <\/strong><\/span>s&#8217;obra el navegador amb l&#8217;escript.<br \/>\n<\/span><\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.beseit.net\/wp-content\/uploads\/2022\/04\/041422_1538_Sublimetext4.png\" alt=\"\" \/><span style=\"font-size: 16pt;\"><br \/>\n<\/span><br \/>\nSi volem mostrar l&#8217;escript en el servidor localhost Appserv<\/p>\n<p><a href=\"https:\/\/www.beseit.net\/wp-content\/uploads\/2022\/04\/local.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-12240\" src=\"https:\/\/www.beseit.net\/wp-content\/uploads\/2022\/04\/local.png\" alt=\"\" width=\"567\" height=\"192\" srcset=\"https:\/\/www.beseit.net\/wp-content\/uploads\/2022\/04\/local.png 567w, https:\/\/www.beseit.net\/wp-content\/uploads\/2022\/04\/local-300x102.png 300w, https:\/\/www.beseit.net\/wp-content\/uploads\/2022\/04\/local-500x169.png 500w\" sizes=\"auto, (max-width: 567px) 100vw, 567px\" \/><\/a><\/p>\n<p><span style=\"font-size: 16pt;\"><strong>Configuraci\u00f3 de Navegador per defecte a Sublim Text 3<br \/>\n<\/strong><\/span><\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.beseit.net\/wp-content\/uploads\/2022\/04\/041422_1538_Sublimetext5.png\" alt=\"\" \/><\/p>\n<p><span style=\"font-size: 16pt;\">\u00a0<\/span><\/p>\n<pre lang=\"html\">{\n\"default_browser\":\"\" ,\n\"portable_browser\": \"C:\/Program Files\/Mozilla Firefox\/firefox.exe\"\n}\n<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>Si volem provar les nostres p\u00e0gines en un navegador per defecte i en una URL determinada Haurem d&#8217;instal\u00b7lar primer el plugin: SideBarEnhancements. En em meu cas &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;SyntaxHighlighter-pre lang=&#8221;html&#8221;&gt;&#8212;&#8212;- { &#8220;S:\/0-php\/&#8221;: { &#8220;url_production&#8221;:&#8221;http:\/213.4.33.41\/0-php\/&#8221; } } &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;- { &#8220;S:\/polidic\/&#8221;: { &#8220;url_production&#8221;:&#8221;http:\/polidic.cat\/&#8221; } &hellip; <a href=\"https:\/\/www.beseit.net\/?p=12004\">Continua llegint <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[138],"tags":[],"class_list":["post-12004","post","type-post","status-publish","format-standard","hentry","category-sublime"],"_links":{"self":[{"href":"https:\/\/www.beseit.net\/index.php?rest_route=\/wp\/v2\/posts\/12004","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.beseit.net\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.beseit.net\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.beseit.net\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.beseit.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=12004"}],"version-history":[{"count":20,"href":"https:\/\/www.beseit.net\/index.php?rest_route=\/wp\/v2\/posts\/12004\/revisions"}],"predecessor-version":[{"id":14909,"href":"https:\/\/www.beseit.net\/index.php?rest_route=\/wp\/v2\/posts\/12004\/revisions\/14909"}],"wp:attachment":[{"href":"https:\/\/www.beseit.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=12004"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.beseit.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=12004"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.beseit.net\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=12004"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}