Posted by Jerry Stuckle on 09/29/97 12:01
Sebastian Lisken wrote:
> Hi,
>
>
> So I'm wondering: have other more experienced PHP programmers come across
> the same problem, and is there a 'canonical' solution?
>
> Thanks for reading all this, and for your replies.
>
> Sebastian Lisken
>
>
It's very easy. Make every include absolute. You can find the path to
the server's document root via $_SERVER['DOCUMENT_ROOT']. Reference
every include from there and you'll be in much better shape.
--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attglobal.net
==================
[Back to original message]
|