Previewing PHP pages
In order to be able to preview PHP pages, you must configure your Rapid CSS editor to work with your web server.
Configuring Rapid CSS to work with a web server
Server side scripts such as PHP or ASP need to be executed on web server, before correct preview can be generated. Rapid CSS provides a feature called mappings, which passes scripts through web server before previewing them.
Mappings allow to map your local file system or FTP folders to web addresses. For example, you can map c:\wwwroot to http://localhost/
To add, edit or remove mapping:
- On the Options menu, click Preferences.
- In Preferences window, click Preview folder.
- Click Mappings.
- Click Add, Delete or Edit, to add, delete or edit a mapping.
You can preview PHP pages directly in Rapid CSS or open them in a selected Web browser.
Previewing PHP pages
Preview without leaving Rapid CSS
To quickly preview PHP page without leaving editing environment, click Preview tab at the bottom of the document window.
To preview PHP document in a Web browser
- On the Tools menu, point to Preview In.
- On the Preview In submenu, click the Web browser you wish to use.
Note
- You need to have web server with PHP support installed on your computer to preview PHP scripts locally without uploading them to web.