RE: [PHP] mappath and unmappath function

2004-03-16 Thread Jay Blanchard
[snip] does someone knows a function to map a server path to a fs path, and a function that does the inverse? i mean, if you have /var/www/html/script and applies function unmappath, it returns /script and if apply mappath to /script it returns /var/www/html/script. somebody has something like this

[PHP] mappath and unmappath function

2004-03-16 Thread Luis Mirabal
does someone knows a function to map a server path to a fs path, and a function that does the inverse? i mean, if you have /var/www/html/script and applies function unmappath, it returns /script and if apply mappath to /script it returns /var/www/html/script. somebody has something like this? than