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

sql - VB.NET Operand type clash: date is incompatible with int error -

SVG stroke-linecap doesn't work for circles in Firefox? -

python - TypeError: Scalar value for argument 'color' is not numeric in openCV -