Jul 7, 2008

Where Is Include Path?! - help plz urgent

Free Web Hosting, No Ads > General > Hosted Members Area

free web hosting

Where Is Include Path?! - help plz urgent

irmlm
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?

Reply

jlhaslip
Try a php_info().

Reply

irmlm
QUOTE(jlhaslip @ Oct 11 2006, 04:55 PM) *

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
Notice from jlhaslip:

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

Reply

jlhaslip
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

 

 

 


Reply

irmlm
QUOTE(jlhaslip @ Oct 11 2006, 08:56 PM) *

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

Reply

jlhaslip
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.

Reply



Got an Opinion! Express your Views! (no registration):-
Add your Reply/ Opinion/ Views/ Comments/ Suggestion/ Questions/ Queries etc.
Posts with decent grammar & English will be accepted and please refrain from profanities.
For asking a Question, We recommend you to sign-up (for free) so that you can track the topic easily.

Nature of your Post*: Opinion/ Reply/ Comments
Question/Query
Feedback to us.
       
Name   Email
Title/Question*

(Maximum characters: 10,000)
You have characters left.
Confirm Code:

Similar Topics

Keywords : plz urgent

  1. Problem With My Email : [urgent] - Can't send or receive email. (1)
  2. Sub Domain Problem : Urgent - Cannot access my sub domains (10)
    Hi, I am having some serious problems with my sub domains. I registered a site with trap17 named
    http://zoebelkin.co.cc . Then I made 2 sub domains for the site. One is for the forums section
    and the other is for the gallery section. 1> forums.zoebelkin.co.cc 2> gallery.zoebelkin.co.cc
    Whenever I type these in the browser adress bar the browser gives an output that it cannot find the
    web sites. But they are complete and should show something. Also using www. in front of the sub
    domains didn't help. Is www. needed in front of the sub domains. Could you just...
  3. Alert! Notice To Hosting Members! Urgent! - (26)
    For some time I have been noticing too many patterns in problems with hosting accounts and their
    passwords. We have a topic that started here:
    http://www.trap17.com/forums/index.php?showtopic=51508 As I manage to regain the control to these
    accounts I began to notice some odd incidences. Namely, I have been noticing that the last IP to
    enter these hosting accounts had similar origin location. The origination is from Vietnam. And
    account effected are passwords with simple and dictionary related passwords. I will be dealing with
    the culprit. In the mean time, dear host...
  4. Default Email Problem In My Cpanel - I need urgent help (2)
    I previously registered my domain name in trap17 as symcom-ng.uni.cc but, for some reason, I decided
    to change it to micron-web.uni.cc Now, I had this email: odomike@symcom-ng.uni.cc as my default
    email addy while I was using the previous domain name but I decided to change my default to
    odomike@micron-web.uni.cc I don't know why odomike@symcom-ng.uni.cc is still showing in the
    sender's address whenever I send an email to anyone. I sent a test email to my Yahoo! email
    addy and what I saw there is odomike@symcom-ng.uni.cc Please help me. how do I change thi...
  5. How To Crate Mysql Database? - urgent help (7)
    Hi everyone!
    I'm trying to make in my site a page system that allows me to create users
    account (with a foto for every user)...
    I'm doing that in PHP, I learned all I have to
    know about PHP and MY SQL. I know how to make new array and querries in the data base, only 1 think
    is messing: ...
  6. Need Help, I Created A New Subdomain Called Azeem - urgent (5)
    I created a new subdomain called azeem http://www.azeem.mbd5882.trap17.com/ I also created a ftp
    account with: Username: azeem Pass: at the bottem it said login @ ftp://ftp.mbd5882.trap17.com/
    But it didnt work, I also tried, ftp://ftp.azeem.mbd5882.trap17.com/
    ftp://ftp.mbd5882.trap17.com/www/azeem/ None of thease work, Does anyone know how to create ftp
    access to it? Thanks, FFC Webmaster, Asad Haider....
  7. Help Urgent - (4)
    I've applied to Universities now and in ym statement i ahve added the url to my portfolio on
    trap, but ITS DOWN?? My Profile in the Cpanel and Username are both goosestaf. PLEASE can admin
    activate my accout, its possibly RUINING my Chances of getting into a UNIversity i want /sad.gif'
    border='0' style='vertical-align:middle' alt='sad.gif' /> Even if you just activate it for a
    couple of months then sort out what ever is wrong, Just Please activate it.
    PLEASE!!!!!!!!!!!!...
  8. Urgent Help Needed - (3)
    OK basicly I made an IBP board and created a new group and joined that group. This subsequently(sp)
    moved me out of root admin group BUT it won't let me move back into root admin group. So basicly
    the question is how can I get back into the root admin group. Thanky Laterz Matty...
  9. Urgent- Phpmyadmin Error - (2)
    Hi, all of a sudden when clicking on phpmyadmin in cpanel it says access denied. It seems to have
    had an effect all over my website as well....



Looking for include, path, plz, urgent

Searching Video's for include, path, plz, urgent
advertisement



Where Is Include Path?! - help plz urgent



 

 

 

 

ADD REPLY / Got an Opinion! Remove these ADs! RAPID SEARCH! Free Web Hosting [X]
Express your Opinions, Thoughts or Contribute more info. to help others.
Ask your Doubts & Queries to get answers, So that "Together We can help others!"
Register FREE for AD-FREE forum, Create your own topics, Ask Questions, track topics, setup subscriptions & notifications and Get a Free Website w/ Email and FTP.
500MB Space *No Ads*, CPanel, FTP, PHP, MySQL, EMails - 100% FREE