Jump to content

[SOLVED] I Need a help


rasheed771982

Recommended Posts

I downloaded a file from a site

this file include the following code:

require_once('/www/config_files/bal.inc.php');

as I know when i use (Require) that means i call a page in www.domain.xx/www/config_files/bal.inc.php

but the code wont work because there is no such file in my pc

what ('/www/config_files/bal.inc.php') refers to?

Link to comment
https://forums.phpfreaks.com/topic/111521-solved-i-need-a-help/
Share on other sites

This path is the path on the file system, not the website URL.

 

So in the root of the hard drive partition ( / ) there is folder called www

In the folder www there is a folder called config_files

In the folder config_files there will be a file called bal.inc.php

 

I suspect you should have got this bal.inc.php with the file you downloaded as I expect it to be specific to that.

 

Shell

Link to comment
https://forums.phpfreaks.com/topic/111521-solved-i-need-a-help/#findComment-572391
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.