stefd
02-25-2001, 10:03 AM
Hi,
I am just beginning to transfer my files from another host to HostRocket.
In all my pages, I include a php file, but now of course the path has to be changed in all the files to make everything work again.
Is there a way to prevent that and make my files more portable from one host to another?
I thought I could rely on DOCUMENT_ROOT to at least get a base path, but here on hostrocket it contains "/usr/local/apache/htdocs/"... (on my previous host, it pointed to my personal home directory).
I would be very interested on hearing from experienced people about stategies, ideas and tips about that problem.
Thanks!
--
Stephane
I am just beginning to transfer my files from another host to HostRocket.
In all my pages, I include a php file, but now of course the path has to be changed in all the files to make everything work again.
Is there a way to prevent that and make my files more portable from one host to another?
I thought I could rely on DOCUMENT_ROOT to at least get a base path, but here on hostrocket it contains "/usr/local/apache/htdocs/"... (on my previous host, it pointed to my personal home directory).
I would be very interested on hearing from experienced people about stategies, ideas and tips about that problem.
Thanks!
--
Stephane