PHP Header doesn't work in web expressions 4 -


i using header redirect page:

ob_start(); header('location: index.php');

it working fine when open page directly browser or other editor. doesn't works when open through microsoft expression web 4, editor.

try this:

  • in site settings dialog box, on preview tab, select use microsoft expression development server, , select php , asp.net web pages.

by default, expression web locates php-cgi.exe file installed @ c:\php or c:\program files\php. if installed php in different location, or if text box under path php executable previewing php pages in website empty, under path php executable previewing php pages in website, click browse, locate , select php-cgi.exe, , click ok.


Comments

Popular posts from this blog

android - Why am I getting the message 'Youractivity.java is not an activity subclass or alias' -

Making Empty C++ Project: General exception (Exception from HRESULT:0x80131500) Visual Studio Community 2015 -

How to fix java warning for "The value of the local variable is not used " -