On 9 feb 2010, at 22:07, Robert A. Rosenberg wrote: > At 22:59 -0800 on 02/08/2010, jaladuvar wrote about Re: Settings for > previewing php in BBEdit: > >> Yes, it works fine both in BBedit Local Preview and in the browsers, >> but the preview requires that the file has been saved into it, which >> takes away the interest of the BBedit Local preview, which I like to >> use when writing up html code and would like to be able to use for php >> code as well of course... > > Using BBEdit to view HTML you are editing, can work since there is a built-in > HTML interpreter. PHP needs a Browser (and a running Server with PHP > support). Thus BBEdit can not handle it on its own.
If you run a server on your mac, BBedit will happily run the php files through the server and show the results. This requires some setup, but this is trivial enough: Preferences, HTML Web Sites. 'Add' or 'Change'. Fill out form. Make sure 'Use local preview server' is checked. Maarten -- You received this message because you are subscribed to the "BBEdit Talk" discussion group on Google Groups. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/bbedit?hl=en If you have a feature request or would like to report a problem, please email "[email protected]" rather than posting to the group.
