Page 2 of 2 FirstFirst 12
Results 11 to 18 of 18
  1. #11
    Join Date
    Mar 2006
    Location
    Scotland
    Posts
    1,012
    Tokens
    175

    Latest Awards:

    Default

    Myke.

    PHP Code:

    <?include "pageurl.php"?>
    If you try to do that make sure the page extension is .php


    You don't like me
    Chances are I don't like you.

  2. #12
    Join Date
    May 2005
    Location
    united kingdom
    Posts
    8,084
    Tokens
    595

    Latest Awards:

    Default

    THanks Richard =)) How can I target it?

    drink up this bottle of yeah
    and P A I N T your body on me


  3. #13
    Join Date
    Dec 2006
    Posts
    50
    Tokens
    0

    Default

    try this it's like iframe I don't know whether it works

    HTML Code:
    target="name.php"
    Quote Originally Posted by SyrupyMonkey View Post
    THanks Richard =)) How can I target it?
    When RNelson is banned I use this account!

  4. #14
    Join Date
    Mar 2006
    Location
    Scotland
    Posts
    1,012
    Tokens
    175

    Latest Awards:

    Default

    Dude.

    The fileurl.php bit is the target.


    You don't like me
    Chances are I don't like you.

  5. #15
    ScottDiamond Guest

    Default

    Quote Originally Posted by RichardKnox View Post
    Myke.

    PHP Code:
     
    <?include "pageurl.php"?>
    If you try to do that make sure the page extension is .php
    Is it not:

    PHP Code:
    <?
    include("file.php");
    ?>
    ?
    Last edited by ScottDiamond; 09-01-2007 at 05:17 PM.

  6. #16
    Join Date
    Mar 2006
    Location
    Scotland
    Posts
    1,012
    Tokens
    175

    Latest Awards:

    Default

    It doesnt matter?

    Same as:

    PHP Code:
    echo ("whatever");  

    and

    echo 
    "whatever"


    You don't like me
    Chances are I don't like you.

  7. #17
    JoeComins Guest

    Default

    PHP Include code to place in your content:

    <?php
    $val = $_GET['id'];
    $val .= ".php";
    $dirty = array("..");
    $clean = array("");
    $val = str_replace($dirty, $clean, $val);

    if (isset($_GET['id'])) {
    if (file_exists($val)) {
    include "$val";
    }
    else {
    include "404.php";
    }
    }
    else {
    include "home.php";
    }

    // Include this script in your content area
    // Run ?id=pagename (without .php) to view a page
    ?>
    To include a page, you put the link:
    index.php?id=home
    DO NOT INCLUDE the file entension. PHP FILES ONLY

  8. #18
    ScottDiamond Guest

    Default

    yeah

Page 2 of 2 FirstFirst 12

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •