Can anyone help? What can be the problem? This include statement won't work:
include 'http://'. $SERVER['HTTP_HOST']. dirname($SERVER['PHP_SELF']) . '/doc.php';
The relative path works the most of the time: include 'doc.php'; But sometime this does not work either. It is just ignored, like if it's not there. But if I add a syntax error it complains. I'm a bit confused. Can someone help?
Running Apache 2 on WinXP Pro with php 4.3.2.
Johnny