|
-
Jul 25th, 2003, 11:25 AM
#1
Thread Starter
Addicted Member
newbie question regarding "include"
What is the difference between include and include_once?
The reason I ask is I have downloaded a script to be used with phpbb.. at the beginning it calls some of the messageboard config files to get some of the database info and put it into variables. The script originally says "include_once" for these files, but it doesn't pull the information into the variables. If I change those to "include"s it DOES see the information and fills in the variables. Later in the script, the query to the database still doesn't work, even though it is seeing the variables.
I'm just wondering how these two different inclues work and maybe find out the bigger picture of why I can't get this thing to work
-
Jul 26th, 2003, 10:53 PM
#2
Addicted Member
Have you read this yet?
It might explain a few things:
http://ca.php.net/manual/en/function.include-once.php
Gary W Web Developer & Designer
Visual Basic 6
-
Jul 27th, 2003, 03:01 PM
#3
Stuck in the 80s
Sounds to me like somebody just wrote a really poor script. Are you sure the script is compatible with your version of phpbb? And if so, did you try contacting the author of the script?
He could probably provide you with more help than we can, unless you give us the code, we download phpbb, and try to set everything up.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|