Thanks to all who responded. I have concluded that - if directory structure is fixed then we shall use relative path, so that we can copy the code as it is to different server without changing anything.
But if we are not sure about the path on server - from where the files are going to be fetched for reading - then better use actual path. We can even keep the path in some include file and just change that path so only one file gets changed. Manisha -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php