php error

2012-08-14
2013-04-17
  • Pete hoffswell
    Pete hoffswell
    2012-08-14

    Hi -

    I had lots of trouble with my php/apache versions or something, parsing some of the code for this app - Particularly, a php call looking like "href="<?$_SERVER".

    I changed this to "href="<?php $_SERVER" and succeeded ini getting numerous broken links fixed.

    <a class="vertmenu" href="<?php $_SERVER["PHP_SELF"]?>?pageId=help">Help</a>
    

    And, critical was in syslog-ng.php:

    <form action="<?php $_SERVER['PHP_SELF']?>" method="GET" name="results" target="_blank">