A GUI to open PHP/HTML/JS files in browser on http://localhost or file:/// scheme. Suitable for XAMPP/MAMP. Show
You can open any type of file in browser, not only html file with just one click! Supported browsers: UsageYou can open current file in browser using following methods:
Shortcuts
Extension SettingsThis extension contributes the following settings:
customUrlToOpen configuration:Custom url to open in browser (eg. You can use variables substitutions see https://code.visualstudio.com/docs/editor/variables-reference
Known IssuesNone Release NotesSee changelog below [2.2.0] - 2022-07-12
[2.1.0] - 2022-07-12
[2.0.0] - 2020-09-14
[1.8.0] - 2018-12-31
[1.7.4] - 2018-12-19
[1.7.3] - 2018-12-19
[1.7.0] - 2018-12-19
[1.6.0] - 2018-12-19
[1.5.0] - 2018-12-19
[1.4.0] - 2018-12-18
[1.3.0] - 2018-12-18
[1.2.1] - 2018-12-18
[1.0.0] - 2018-12-18
Enjoy! Can I view PHP code in browser?Web developers and others who are knowledgeable about web pages know you can use a browser to view the HTML source code of a website. However, if the website contains PHP code, that code is not visible, because all the PHP code is executed on the server before the website is sent to a browser.
How do I test if PHP is working?Make sure the Web server is running, open a browser and type http://SERVER-IP/phptest.php. You should then see a screen showing detailed information about the PHP version you are using and installed modules.
Can I test PHP without a web server?You can make a PHP script to run it without any server or browser. You only need the PHP parser to use it this way. This type of usage is ideal for scripts regularly executed using cron (on *nix or Linux) or Task Scheduler (on Windows). These scripts can also be used for simple text processing tasks.
How do I run a PHP script in Chrome?Step by step instructions:. Download and install XAMPP – The installation is quite simple and straightforward. ... . Starting XAMPP – Once installed, you need to open the XAMPP Control Panel. ... . Create your PHP page. ... . Place the PHP file on the server. ... . Find the path to your PHP page in your Chrome browser.. |