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' -

python - How do I create a list index that loops through integers in another list -

c# - “System.Security.Cryptography.CryptographicException: Keyset does not exist” when reading private key from remote machine -