Categories

Updated: 01/16/2005

getServer Path (function)

a simple function that returns the path to folder in which script subsides. Valuable in producing php programs that will be distributed randomly and require absolute paths. Just call this function and it will return everything up to the current folder. An example use is $serverPath = getServerPath(); $serverPath .= nameOfPageToBeRequested;
©2019 A--9.com