Jump to content
xisto Community
Sign in to follow this  
irmlm

Where Is Include Path?! help plz urgent

Recommended Posts

hii used this path: (include_path='.:/usr/lib/http://forums.xisto.com/no_longer_exists/ include path! but it does not work!please help me! where is the include path of ur free hosting?

Share this post


Link to post
Share on other sites

Try a php_info().

see here plz! http://forums.xisto.com/no_longer_exists/
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
Notice from jlhaslip:

Turned post invisible since this user and pass shoud not be public.

Edited by BuffaloHELP (see edit history)

Share this post


Link to post
Share on other sites

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 Xisto 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 Xisto Terms of Service.

http://forums.xisto.com/no_longer_exists/
http://forums.xisto.com/topic/42022-free-web-hosting-irmlm-free-website-pgulfblogcom/

Share this post


Link to post
Share on other sites

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 Xisto 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 Xisto Terms of Service.

http://forums.xisto.com/no_longer_exists/
http://forums.xisto.com/topic/42022-free-web-hosting-irmlm-free-website-pgulfblogcom/

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

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×
×
  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.