Please help brother

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • something else
    replied
    PHP Code:
    include_once('foot.php'); 
    

    Leave a comment:


  • Ghost
    replied
    Originally posted by WapAdda View Post
    Brother i use
    Code:
    <!--#include file="foot.php" -->
    also
    Code:
    <!--#include virtual="foot.php" -->
    im don't sure what's my problem, b.coz same code same site some days ago working so good. But now facing that problem. Please help my brother.
    my site
    i have one idea, if i change .shtml page to .php i think that problem solved. Otherwise, what i can do?
    well it kinda depends first of all where the actually foot.php and other include file is based.

    here is a few examples of how to locate the file using different methods.

    such as
    Code:
    <!--#include file="include/foot.php" -->
    this will get the file from 1 folder up of the file cureently in use.

    while
    Code:
    <!--#include file="../include/foot.php" -->
    would go down 1 folder (usually back to public_html folder) then back up to new folder specified.


    Code:
    <!--#include file="foot.php" -->
    this only finds the file "if" it is in the same folder as file being used to call the include.

    so basically its just about pointing the include to the "correct" location of the file you want included.
    then as long as the code is valid in the include it should display correctly.

    more examples here: Example Server Side Include

    Leave a comment:


  • WapAdda
    replied
    Brother i use
    Code:
    <!--#include file="foot.php" -->
    also
    Code:
    <!--#include virtual="foot.php" -->
    im don't sure what's my problem, b.coz same code same site some days ago working so good. But now facing that problem. Please help my brother.
    my site
    i have one idea, if i change .shtml page to .php i think that problem solved. Otherwise, what i can do?

    Leave a comment:


  • Ghost
    replied
    !!!Seriously!!!

    since the code you want to be fixed is either invisible or is the same color as the background here.

    you could fix it with
    Code:
    
    

    my point here is, if you want help, then show some sort of code for ppl to look at so they can "SEE" the problem.
    or you'll get exactly whats inside that code box "nothing" in return.

    Leave a comment:


  • WapAdda
    started a topic Please help brother

    Please help brother

    Hello,
    im using .shtml on my index.
    Im facing a problem, where i include file. That problem show [an error occurred while processing this directive] im don't sure how to solved this problem. So plz anybody help me as soon, as possible.
    Last edited by WapAdda; 07.05.12, 06:49.
Working...
X