...

View Full Version : file acess problem



coolumanga
02-22-2012, 03:30 PM
hi i have file dbconnection.php file inside the include folder

Main Folder is pro

inside the pro ther are two folders include and custom

Inside include folder - dbconnection.php

Inside the custom flder - basicrpt.php

i going to view 127.0.0.1/custom/basicrpt.php link

now i want to access dbconnection.php via
include("../include/dbcommon.php");

when i use this code i will get error...

please solve this problemmmmmmmmm

Rowsdower!
02-22-2012, 03:46 PM
hi i have file dbconnection.php file inside the include folder

Main Folder is pro

inside the pro ther are two folders include and custom

Inside include folder - dbconnection.php

Inside the custom flder - basicrpt.php

i going to view 127.0.0.1/custom/basicrpt.php link

now i want to access dbconnection.php via
include("../include/dbcommon.php");

when i use this code i will get error...

please solve this problemmmmmmmmm

Unless you have forgotten to mention it, or unless the highlighted part is a typo in this thread but is correctly written in your script... There is no such file as "dbcommon.php" - this should be "dbconnection.php"



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum