We are excited to announce that the IIS.NET Forums are moving to the new Microsoft Q&A experience. Learn more >

View Complete Thread
  • PHP link functions problem

    Jul 21, 2013 10:59 PM|vladnech|LINK

    Hi guys

    I am trying the get the WordPress site running on IIS 7.5. For some reason, the code:

    <link rel="stylesheet" href="<?=get_stylesheet_directory_uri();?>/assets/prettyPhoto/css/prettyPhoto.css"


    <img src="<?=get_field('site_logo', 'options'); ?>" alt="<?php bloginfo('name'); ?>" />

    does not work. The browser shows, for example:

    http://<site name>/%3C?=get_field(%27site_logo%27,%20%27options%27);%20?%3E - 404 not found. Looks like the PHP handler does not process the inline functions in PHP. 

    The functions, where PHP is specified, are working '<?php function1() ?>'

    What could be the reason of that? 

    P.S. I am not PHP developer - we are just got the request from client to host their site. 

    Thanks for your help.