Welcome to WebmasterWorld Guest from 126.96.36.199
Warning: main(./extension.inc): failed to open stream: No such file or directory in D:\Apache\Apache2\htdocs\test\index.php on line 25
But how do i change the way D:\Apache\Apache2\htdocs\ is displayed into "www.mysite.com" or something else. Just so ppl dont see entire place where the server runs on my hd.
I don't think you can change that, unless you modify your copy of php on the server. That is not a URL, it is a local filepath. It is also not included in a redirect response. Therefore, standard methods of URL rewriting cannot be used.
You may be able to turn *all* error messages off with some php option settings - but I'm not sure, and that is a php-forum question. :)
Of course, the easy answer may be to thoroughly debug your scripts, so that users never get an error. ;)