android - Where to place php files used to connect to a database in a real web server and not WAMP -
i followed this tutorial , describes how connect database using android app.
i need create folder structure similar 1 below:
my question in real server should proposed files placed?
i have path of home directory/my domain/....(folders)... place structure inside or outside domain folder.., , if outside how going access them if use following?
require_once 'outsidefolder/include/config.php';
shouldn't blocked permissions?
my question in real server should place proposed files?
you must place file.php in www folder.
for example, if have wamp server installed, must place files (e.g. file.php, etc) in path c:\{wamppathinstalled}\www\mywebsite, {wamppathinstalled} path wamp installed on c drive (or if drive, use drive letter instead).
you can access scripts running http://localhost/mywebsite/myfile.php in browser.
tell me real server (iis or other) & can indicate best place in case.
if use plesk, response must in this link.
Comments
Post a Comment