|
|
|
|
![]() ![]() |
Oct 11 2006, 03:10 PM
Post
#1
|
|
|
Newbie [Level 2] ![]() ![]() Group: Members Posts: 26 Joined: 6-October 06 Member No.: 31,149 |
hi
i used this path: (include_path='.:/usr/lib/php:/usr/local/lib/php' as include path! but it does not work! please help me! where is the include path of ur free hosting? |
|
|
|
Oct 11 2006, 04:55 PM
Post
#2
|
|
|
A computer once beat me at chess, but it was no match for me at kick boxing. ![]() Group: [MODERATOR] Posts: 3,882 Joined: 24-July 05 From: In Trouble Again... still? Member No.: 9,787 ![]() |
Try a php_info().
|
|
|
|
Oct 11 2006, 06:01 PM
Post
#3
|
|
|
Newbie [Level 2] ![]() ![]() Group: Members Posts: 26 Joined: 6-October 06 Member No.: 31,149 |
Try a php_info(). see here plz! www.pgulfblog.com/admin user:<<removed>> pass:<<removed>> i gave 777 permission to admin_hesders.php. and 776 to lang_persian.php . but there is an error still! there was not these errors on my last host! i would be happy if you help me thanks This post has been edited by BuffaloHELP: Oct 12 2006, 06:52 AM |
|
|
|
Oct 11 2006, 08:56 PM
Post
#4
|
|
|
A computer once beat me at chess, but it was no match for me at kick boxing. ![]() Group: [MODERATOR] Posts: 3,882 Joined: 24-July 05 From: In Trouble Again... still? Member No.: 9,787 ![]() |
I turned the last post invisible since the user-name and password is not something which should be made "visible" on the net.
I don't think the problem is with the php "include_path" as your original post suggests. That path is for php to find the libraries for its functions, etcetera. I believe the current problem has to do with being able to find the correct "include" file and the "path" to the file is incorrect according to the error messages I received when I tried the link you provided. Without knowing the directory structure of your site and the specifics of the code which is calling the include function, the only thing to suggest is to remove whatever is in front of the 'filename.php' and change it to something like: "include('filename.php')" which means the 'included' file will be in the same directory. or "include('./filename.php')" which means the 'included' file will be in the server root. or "include('../filename.php')" which means the 'included' file will be in the directory above it. or maybe : "include('../includes/filename.php')" which means the 'included' file will be in the directory above it and forward to the 'includes' directory. Short version of this reply: Please post some code and the directory structure because without those, we can only guess. *edit* And of major concern to you should be the requirement that the sites hosted on the Trap17 server must be available in English. It appears that the index page for your site is in other than English and that violates the Terms of Service, at least to the best of my knowledge. This requirement is very clearly stated in the Trap17 Terms of Service. http://www.pgulfblog.com/home.php http://www.trap17.com/forums/index.php?sho...mp;#entry287016 |
|
|
|
Oct 12 2006, 06:29 AM
Post
#5
|
|
|
Newbie [Level 2] ![]() ![]() Group: Members Posts: 26 Joined: 6-October 06 Member No.: 31,149 |
I turned the last post invisible since the user-name and password is not something which should be made "visible" on the net. I don't think the problem is with the php "include_path" as your original post suggests. That path is for php to find the libraries for its functions, etcetera. I believe the current problem has to do with being able to find the correct "include" file and the "path" to the file is incorrect according to the error messages I received when I tried the link you provided. Without knowing the directory structure of your site and the specifics of the code which is calling the include function, the only thing to suggest is to remove whatever is in front of the 'filename.php' and change it to something like: "include('filename.php')" which means the 'included' file will be in the same directory. or "include('./filename.php')" which means the 'included' file will be in the server root. or "include('../filename.php')" which means the 'included' file will be in the directory above it. or maybe : "include('../includes/filename.php')" which means the 'included' file will be in the directory above it and forward to the 'includes' directory. Short version of this reply: Please post some code and the directory structure because without those, we can only guess. *edit* And of major concern to you should be the requirement that the sites hosted on the Trap17 server must be available in English. It appears that the index page for your site is in other than English and that violates the Terms of Service, at least to the best of my knowledge. This requirement is very clearly stated in the Trap17 Terms of Service. http://www.pgulfblog.com/home.php http://www.trap17.com/forums/index.php?sho...mp;#entry287016 thanks for your help! and avbout index page,thtas just a test and my website is not ready yet! by the way thanks for your help |
|
|
|
Oct 12 2006, 06:40 AM
Post
#6
|
|
|
A computer once beat me at chess, but it was no match for me at kick boxing. ![]() Group: [MODERATOR] Posts: 3,882 Joined: 24-July 05 From: In Trouble Again... still? Member No.: 9,787 ![]() |
You are welcome and I hope you understand the difference now between the php "include_path" function and the path for an "included" file.
It can be confusing, sometimes. |
|
|
|
![]() ![]() |
Similar Topics
|
Lo-Fi Version | Time is now: 27th July 2008 - 01:19 AM |