sprite
03-18-2004, 01:51 PM
hi!
new guy here :)
i'm working with PHP on IIS for the first time (they're all about micro$oft here) and i can't get my includes to work without puttin in hard links, e.g. "c:\web sites\blah\includes\".
Question is: how can i use virtual paths to link to my includes?
the webserver is set up like this:
server root is -> c:\inetpub\wwwroot
php installed here -> c:\PHP
websites mapped virtually from here -> c:\web sites\sitename
i've tried changing the doc_root in php.ini many different ways but php stops working if i put anything in there. let me know if you need any more info!
thanks for your help,
sprite!
new guy here :)
i'm working with PHP on IIS for the first time (they're all about micro$oft here) and i can't get my includes to work without puttin in hard links, e.g. "c:\web sites\blah\includes\".
Question is: how can i use virtual paths to link to my includes?
the webserver is set up like this:
server root is -> c:\inetpub\wwwroot
php installed here -> c:\PHP
websites mapped virtually from here -> c:\web sites\sitename
i've tried changing the doc_root in php.ini many different ways but php stops working if i put anything in there. let me know if you need any more info!
thanks for your help,
sprite!