how to include files in php with windows web server absolute path
RegisterLogin
how to include files in php with windows web server absolute path
Post Description: how to include files in php with windows web server absolute path
Tags: how, to, include, files, in, php, with, windows, web, server, absolute, path
This Post Was Posted On Feb 29, 2008 By web hosting #1026
Post Description: how to include files in php with windows web server absolute path
Tags: how, to, include, files, in, php, with, windows, web, server, absolute, path
This Post Was Posted On Feb 29, 2008 By web hosting #1026
how to include files in php with windows web server absolute path by web hosting
for example if i want to include a file called functions.php in my includes/ directory all i have to do is give the absolute path like this:
include('/var/www/html/includes/functions.php');
but how about if i have microsoft windows and i have apache installed on it
i thought i could just do it with:
include('C:/Inetpub/wwwroot/includes/functions.php');
well, that just doesn't work
the correct way to do it is this:
include("C:\\Inetpub\\wwwroot\\includes\\functions.php");
Leave Your Comments
Related Pages: [Add Your Website]
Post New Topic
©2011 Webune Forums - Tue Dec 20, 2011 6:38 am
Powered by: Webune Forums V3
Powered by: Webune Forums V3