A key issue here is you haven't even explained what you mean by "BBEdit preview"
in your context, or I haven't understood it.
Normally a "BBEdit preview" is when you are editing a file with what is intended
to be human-readable documentation in some kind of markup language, such as
Markdown or POD or HTML, and you use BBEdit's "Preview" function to see how that
renders.
Whereas, if you want to run a program such as PHP which happens to output a web
page, and you want to see that web page in a browser, then that is not what
"Preview" is for, and instead that is what "Run" is for.
Can you clarify, what kind of thing are you making and what do you expect the
result to be. Please give a simple example file.
Are you making a PHP program and want to display its result. Or is the thing
you want to "Preview" actually not a PHP program but you were thinking to use
PHP to solve your problem to "Preview" some other kind of thing.
Please give an example file.
-- Darren Duncan
On 2024-03-11 1:15 a.m., Omar KN wrote:
The sole purpose for having php is to be able to view the BBEdit preview in the
browser.
--
This is the BBEdit Talk public discussion group. If you have a feature request or need
technical support, please email "[email protected]" rather than posting here.
Follow @bbedit on Twitter: <https://twitter.com/bbedit>
---
You received this message because you are subscribed to the Google Groups "BBEdit Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/bbedit/e298f326-90a5-4b9e-9740-8616618d9eaa%40darrenduncan.net.