| | |||||
| ||||||||
| Programming PHP, Perl, Ruby on Rails, AJAX, HTML, XHTML, CSS, JavaScript, MySQL and any other coding topics. |
![]() |
| | LinkBack | Thread Tools |
| | THREAD STARTER #1 (permalink) |
| NamePros Regular Join Date: Oct 2004 Location: W. Hartford, CT
Posts: 361
![]() ![]() ![]() | changing directory I am trying to write a script that needs to find info in another directory of the server i.e. http://www.here.com/this/mainfile.php needs to find files in http://www.here.com/other/findthis.inc anyone know what i should put i have tryed just writing out the address but it cant find it. should I CHMOD the .inc file?
__________________ BlueSoft Website Solutions - Connecticut Web Development - Web Hosting - Connecticut Real Estate Portal |
| |
| | #2 (permalink) |
| NamePros Regular Join Date: Feb 2004 Location: Student @ UConn
Posts: 411
![]() ![]() | Well, are you going to include the file? You can use the full path, like /home/username/public_html/other/findthis.inc or do something like include('../other/findthis.inc');
__________________ Joe |
| |
| | THREAD STARTER #3 (permalink) |
| NamePros Regular Join Date: Oct 2004 Location: W. Hartford, CT
Posts: 361
![]() ![]() ![]() | Well I am including a php file that then includes its own files and finds if a user is logged in or not. If not then it displays a login form. The file works fine on its own and shows the login form when logged out and text if logged in. But when I include it into the new page it always displays the log in form even when logged in. Maybe I asked the worng question before. Can I pm you all the code I cant seem to figure out the problem?
__________________ BlueSoft Website Solutions - Connecticut Web Development - Web Hosting - Connecticut Real Estate Portal |
| |
| | THREAD STARTER #6 (permalink) |
| NamePros Regular Join Date: Oct 2004 Location: W. Hartford, CT
Posts: 361
![]() ![]() ![]() | Ok well here is the first page that gets called PHP Code: And For the page that calls it PHP Code:
__________________ BlueSoft Website Solutions - Connecticut Web Development - Web Hosting - Connecticut Real Estate Portal |
| |
| | #7 (permalink) |
| NamePros Regular Join Date: Feb 2004 Location: Student @ UConn
Posts: 411
![]() ![]() | So you want to replace that last line with something like this?: PHP Code:
__________________ Joe |
| |
| | THREAD STARTER #8 (permalink) |
| NamePros Regular Join Date: Oct 2004 Location: W. Hartford, CT
Posts: 361
![]() ![]() ![]() | I want to change $phpbb_root_path so that I can move portal.php into a different directory .../newATW/ to be exact.
__________________ BlueSoft Website Solutions - Connecticut Web Development - Web Hosting - Connecticut Real Estate Portal |
| |
| | #9 (permalink) |
| Eating Pie Join Date: Nov 2004 Location: Canada
Posts: 2,272
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() | Where it says PHP Code: If you want to put it in the directory newATW (/newATW) and have PHPBB in the root directory (/) Change it to PHP Code: iNod.
__________________ I feel old. |
| |
| | THREAD STARTER #10 (permalink) |
| NamePros Regular Join Date: Oct 2004 Location: W. Hartford, CT
Posts: 361
![]() ![]() ![]() | Yea I know all that but the forum is in /forums/ Its right here http://www.annoytheworld.com/forums/portal.php
__________________ BlueSoft Website Solutions - Connecticut Web Development - Web Hosting - Connecticut Real Estate Portal |
| |
| | #11 (permalink) |
| Eating Pie Join Date: Nov 2004 Location: Canada
Posts: 2,272
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() | So you want to move portal.php to http://www.annoytheworld.com/newATW/portal.php Forums are at http://www.annoytheworld.com/forums/ Correct? iNod
__________________ I feel old. |
| |
| | THREAD STARTER #12 (permalink) |
| NamePros Regular Join Date: Oct 2004 Location: W. Hartford, CT
Posts: 361
![]() ![]() ![]() | exactly
__________________ BlueSoft Website Solutions - Connecticut Web Development - Web Hosting - Connecticut Real Estate Portal |
| |
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Greatest Image Gallery Tutorial Ever | Wybe | Webmaster Tutorials | 5 | 12-20-2005 11:51 AM |
| FREE Web Directory Script * Hot Links Sql ! | Ferman | Domains For Sale - Make Offer | 3 | 12-05-2005 12:57 AM |
| Directory Hand-Submission service. | kektex | For Sale / Advertising Board | 2 | 06-15-2005 03:01 PM |
| public_html | redhippo | Web Design Discussion | 8 | 02-27-2005 01:47 PM |
| 2 Huge Name Forsale | Vegas Entertainment | Domains For Sale - Make Offer | 9 | 09-21-2004 03:37 PM |