Posted by Dan on 11/10/05 16:23
> It is something simple. The problem is in the way you include your header
> file. You did it by providing URL, not path to the file. This way the
> header file got interpreted (executed) in separate HTTP request (so
> no variable value was there) and the interpretation result (pure
> HTML) got included into the index file. You should use local path (in terms
> of PHP server local path) when including files. In this case (when included
> file is in the same folder as the scirpt including it) you can simply
> give included file name without any path information:
Ah - that works now! :o) Thanks for your help. Greatly appreciated!
Regards,
Dan.
[Back to original message]
|