Re: php and site previews
Yes, you will need to install a local web server and publish to your local host.
Xara's preview won't process server side scripting.
Re: php and site previews
Thanks for the quick reply sledger. I wonder if Xara can be configured to pass the web page to the local host during a preview, so it feels more or less transparent to the developer (same Xara workflow)?
Following up a step further, if you or anyone else can weigh in:
It appears that my version of Win 7 x64 includes full IIS. After looking at the options in the control panel, there are a multitude of things that can be enabled separately. I have no clue what the minimum config needed to preview php enabled pages is. Any ideas anyone?
Re: php and site previews
After installing IIS I believe you need to download Web Platform for IIS and then download and install PHP.
In any case, Xara's internal preview still won't work as you hope, it's designed for standard HTML and not server side scripts. There's no configuration options for this.
I use PHP scripts occassionally and quite honestly it's fast enough to publish to a temporary folder at the host server where the site will eventually live to test it, which after all is best policy to ensure it is compatible with the host's configuration.