Re: Seeking help with relative and absolute paths [message #180859 is a reply to message #180824] |
Fri, 22 March 2013 04:24 |
The Frog
Messages: 6 Registered: March 2013
Karma:
|
Junior Member |
|
|
Thankyou very much for the replies. I appreciate the help. I have a follow-up question then regarding constants and setting them. If I define a constant say in the sites landing page (eg/index.php) will that constant then remain available for any scripts on pages that follow without having to 'require' them?
The reason I ask is one of ignorance on my part. Having consulted the php manual on constants I am unable to make a clear determination on their usage and scope. It would seem in my experimentation and learning that a constant does not in fact remain but in fact needs to be re-defined in each unique page change on the users part. While this can be accommodated in the scripts and pages that I write I am wondering if there is a better way? Define once and use many places?
Cheers
The Frog
|
|
|