This is a discussion on "Local path." within the PHP Forum section. This forum, and the thread "Local path. are both part of the Program Your Website category.
|
|
|
|
|
![]() |
||
Local path.
|
||
| Notices |
![]() |
|
|
LinkBack | Thread Tools |
|
#1
|
|||
|
|||
|
Local path.
I have been designing website for about a year now. Right now i'm learning Php, and i'm stumped. Here's the question:
When attempting to access my php bible database I get: Sorry, can't find Book "bible.php". http://www.statementoffaith.org/bible.php I believe 7 lines down "Where the script lives on the disk" is wrong. Though this is the path online where the Bible folder is that holds the bible books. Also, I noticed the individual book info inside the Bible folder does not contain file extensions. Is this common? Thanks. //This stuff probably needs changed. ALL OF THESE VALUES SHOULD END IN A '/', EXCEPT IN VERY RARE CIRCUMSTANCES. $config["URI_prefix"] = "http://pawlowskifamily.net/bible/"; //Where the script lives on the web. $config["script_suffix"] = "bible.php/"; //The name of the main script. (It may seem strange that this should end in a '/', but that is indeed the case.) $config["local_prefix"] = "/htdocs/bible/"; //Where the script lives on the disk. $config["bible_midfix"] = "/statementoffaith.org/bible/"; //The directory that the bible data is in. ($config["local_prefix"] . $config["bible_midfix"]) $config["themes_midfix"] = "themes/"; //The directory that the bible data is in. ($config["local_prefix"] . $config["bible_midfix"]) |
|
|
|
#2
|
|||
|
|||
|
Re: Local path.
Maybe you could try this:
Last Blog Entry: 10 Reasons Why My Laptop Is Better Than Your Girlfriend (Dec 15th, 2007)
|
|
#3
|
|||
|
|||
|
Re: Local path.
i've tried that. Again, the search page shows "Sorry, can't find Book "bible.php." When I click on a book button, I get this message: "No input file specified." If my paths are all correct, is it possible that the files (bible books) not having extensions be causing the problem. Or is this how PHP works?
Just to let you know the "pawlowskifamily" website should be replaced with statementoffaith.org - my bad. |
|
#4
|
|||
|
|||
|
Re: Local path.
So it works now?
Last Blog Entry: 10 Reasons Why My Laptop Is Better Than Your Girlfriend (Dec 15th, 2007)
|
![]() |
| Tags |
| bible, database, mysql, php |
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| php.ini include path question | bonnit | PHP Forum | 0 | May 10th, 2008 14:43 |
| Motion path in flash? | Zonglars | Flash & Multimedia Forum | 7 | Jul 26th, 2007 04:19 |
| Vegetable Term for Motion Path | bjade276 | Starting Out | 8 | Apr 15th, 2007 13:06 |
| Deleting parts of a path in Illustrator | davva | Graphics and 3D | 2 | Sep 8th, 2006 13:44 |
| Access port and Path from IIS | humair | Classic ASP | 0 | Apr 28th, 2004 06:10 |