In PHP 5.2.8 with IIS 7, the $_SERVER array is lacking REQUEST_URI. Please update your code as follows currently: $url = str_replace("&action=purge", "", $_SERVER['REQUEST_URI']); better: $url = str_replace("&action=purge", "", $_SERVER['HTTP_REFERER']);
GoogleCodeExporter opened this issue · 0 comments
GoogleCodeExporter commented
Wiki Version: 1.12
Calendar Version: 3.8.4
Problem:
In PHP 5.2.8 with IIS 7, the $_SERVER array is lacking REQUEST_URI.
Please update your code as follows
currently:
$url = str_replace("&action=purge", "", $_SERVER['REQUEST_URI']);
better:
$url = str_replace("&action=purge", "", $_SERVER['HTTP_REFERER']);
Original issue reported on code.google.com by bla...@gmail.com
on 29 Jun 2012 at 3:29