Local path.

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.


 Subscribe in a reader

Go Back   Webforumz.com > Main Forums > Program Your Website > PHP Forum

Notices




Reply
 
LinkBack Thread Tools
  #1  
Old Aug 14th, 2007, 00:58
New Member
Join Date: Aug 2007
Location: Southern California
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
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"])
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote

  #2  
Old Aug 14th, 2007, 08:02
Highly Reputable Member
Join Date: Apr 2007
Location: Willich, Germany
Age: 20
Posts: 593
Blog Entries: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Local path.

Maybe you could try this:
PHP: Select all

$config["URI_prefix"] = "http://www.pawlowskifamily.net/bible/"//Where the script lives on the web. 

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #3  
Old Aug 14th, 2007, 14:54
New Member
Join Date: Aug 2007
Location: Southern California
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
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.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #4  
Old Aug 14th, 2007, 15:03
Highly Reputable Member
Join Date: Apr 2007
Location: Willich, Germany
Age: 20
Posts: 593
Blog Entries: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Local path.

So it works now?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Reply

Tags
bible, database, mysql, php

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

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


All times are GMT. The time now is 21:34.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0 RC8
© 2003-2008 Webforumz.com : All Rights Reserved

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42