You are not logged in.

#1 2011-11-17 04:47:37

hume's doona
Member
Registered: 2009-12-11
Posts: 206

php inlude_path help

Hi,

I'm trying to make a custom CMS [based on myBB I guess you'd say] utilising .php include and include_path

ATM, I'm fosussing on getting mediawiki to work without using iframes. But my knowledge of .php is fairly limited. The title of this thread may well be wrong, and those may be the wrong lines of code to use altogether.

But if I work out how include_path works, and include the wiki index script and wiki folder, will that work to... well.. "include" the wiki software?

cheers

[really never used php, more confident in python and to a lesser extent C++]

Offline

#2 2011-11-17 08:48:23

ryuslash
Member
Registered: 2010-10-11
Posts: 58
Website

Re: php inlude_path help

include_path:

Specifies a list of directories where the require(), include(), fopen(), file(), readfile() and file_get_contents() functions look for files.

Might I suggest learning a bit more about PHP?

Offline

#3 2011-11-17 08:50:23

hume's doona
Member
Registered: 2009-12-11
Posts: 206

Re: php inlude_path help

ryuslash wrote:

include_path:

Specifies a list of directories where the require(), include(), fopen(), file(), readfile() and file_get_contents() functions look for files.

Might I suggest learning a bit more about PHP?

lol

thanks

Offline

Board footer

Powered by FluxBB