Results 1 to 5 of 5

Thread: HELP PLZ!

  1. #1
    Join Date
    Nov 2006
    Location
    Boro
    Posts
    841
    Tokens
    1,650

    Latest Awards:

    Exclamation HELP PLZ!

    right, i have this problem

    ive made this ban script right and im having this problem.

    my ban.php is in a directory such as

    1/2/3/4/5/6/7/8/9/ban.php


    and if i put this include on my homepage

    <?php
    include("ban.php");
    ?>

    it only reads the same directory as the files in. and when i try to put in the full url such as

    <?php
    include("http://www.bonxy.co.uk/1/2/3/4/5/6/7/8/9/ban.php");
    ?>
    it comes up with loads of error lines. anyone know how i can get around this problem ????


    +REP TO HELPERS!!!!!!



    xxxxxx

    Moved by Hitman (Forum Super Moderator) from Designing & Development: Please post in the correct forum next time, thanks.
    Last edited by Hitman; 11-05-2008 at 11:03 AM.
    *hi*


    Edited by Bonxy



  2. #2
    NEW-START Guest

    Default

    PHP Code:
    <?php

        
    include("/home/USERNAME/public_html/1/2/3/4/5/6/7/8/9/ban.php");

    ?>
    Do you mean like that? :S

  3. #3
    Join Date
    Nov 2006
    Location
    Boro
    Posts
    841
    Tokens
    1,650

    Latest Awards:

    Default

    correct NEW START
    *hi*


    Edited by Bonxy



  4. #4
    Join Date
    Aug 2006
    Location
    Manchester, UK
    Posts
    2,016
    Tokens
    141
    Habbo
    florx

    Latest Awards:

    Default

    O M GOSH. Scott actually got some PHP right

    Only kiddin, you aren't that bad.

  5. #5
    Join Date
    Jun 2005
    Posts
    4,795
    Tokens
    0

    Latest Awards:

    Default

    Use a relative path.

Posting Permissions

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