Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

PHP Forum


You are currently viewing our PHP Forum as a guest. Please register to participate.
Login



Freelance Jobs

Reply
PHP files in another folder
Old 02-17-2008, 09:57 PM PHP files in another folder
xkaosx's Avatar
Experienced Talker

Posts: 31
Name: Junior
Location: East LA
Trades: 0
Okay so I had all my php files in the root of my site and it worked the php files showed and no problems.

So i created a new folder called php and moved all php files in there then put this in my index.php

<?
include ("/php/navheader.php") ;
include("/php/latestreviews.php");
include("/php/content.php");
include("/php/sidebar.php");
include("/php/footer.php"); ?>

And if you visit my website its not working??

What do i need to do??
__________________

Please login or register to view this content. Registration is FREE

Great new Bux site!
xkaosx is offline
Reply With Quote
View Public Profile Visit xkaosx's homepage!
 
 
Register now for full access!
Old 02-17-2008, 10:12 PM Re: PHP files in another folder
Ultra Talker

Posts: 483
Trades: 0
Try removing the first forward slash from each of them... that is causing PHP to read the files from the root of the filesystem.
__________________

Please login or register to view this content. Registration is FREE
TwistMyArm is offline
Reply With Quote
View Public Profile
 
Old 02-17-2008, 10:16 PM Re: PHP files in another folder
xkaosx's Avatar
Experienced Talker

Posts: 31
Name: Junior
Location: East LA
Trades: 0
woot it worked! thanks man!
__________________

Please login or register to view this content. Registration is FREE

Great new Bux site!
xkaosx is offline
Reply With Quote
View Public Profile Visit xkaosx's homepage!
 
Reply     « Reply to PHP files in another folder
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.80224 seconds with 12 queries