Discover Habbo's history
Treat yourself with a Secret Santa gift.... of a random Wiki page for you to start exploring Habbo's history!
Happy holidays!
Celebrate with us at Habbox on the hotel, on our Forum and right here!
Join Habbox!
One of us! One of us! Click here to see the roles you could take as part of the Habbox community!


Page 2 of 2 FirstFirst 12
Results 11 to 17 of 17
  1. #11
    Join Date
    Nov 2006
    Location
    Doncaster, UK
    Posts
    1,700
    Tokens
    0

    Latest Awards:

    Default

    Thanks a hellova lot dan.

    Because I suck at PHP:
    Parse error: syntax error, unexpected ''' in /home/xvisor/public_html/index.php on line 234
    wth?

    Off-topic: Sure.
    Last edited by tekni; 26-11-2006 at 04:55 PM.
    unitedstates,canada,mexico,panama,haiti,jamaica,pe ru,republicdominian,cuba,caribbean,greenland and el salvadour too.
    puertorica,colombia,venezuela,honduras,guyana and still, guatamala,bolivia then argentina and ecuador,chile,brazil.
    costarica,belize,nicaragua,bermuda,bahamas,tobago, sanjuan,paraguary,uruguay,suriname,frenchguiana,ba rbados and guan.
    norway and sweden and iceland and finland and germany now one piece, switzerland,austrira,czechoslovakia,italy,turkey and greece.



  2. #12
    Join Date
    Aug 2004
    Location
    UK
    Posts
    11,283
    Tokens
    2,031

    Latest Awards:

    Default

    Well heres a quick varient on the code i would usealy use

    PHP Code:
    //Get varible from url
    $p $HTTP_GET_VARS['p'];
    //Set page dir and defult
    $page_dir "Pages";
    $defult_page "home"
    //if $p aint set, we include home page
    if(!$p){ include($page_dir."/".$defult_page.".php"); }
    else
    { if(
    file_exists($page_dir."/".$p.".php")){ include($page_dir."/".$p.".php");} // if the file exists in the directory, we know its real and allowed, so we inclucde it.
    else{ include($page_dir."/".$defult_page.".php");} // if its not, its ether a wrong dir or bad hacking attempt, so we include the home page again 

  3. #13
    Join Date
    Nov 2006
    Location
    Doncaster, UK
    Posts
    1,700
    Tokens
    0

    Latest Awards:

    Default

    Am I bad luck or something:

    Quote Originally Posted by error
    Parse error: syntax error, unexpected T_VARIABLE in /home/xvisor/public_html/index.php on line 228
    Quote Originally Posted by line 228
    $p = $HTTP_GET_VARS['p'];
    Last edited by tekni; 26-11-2006 at 05:02 PM.
    unitedstates,canada,mexico,panama,haiti,jamaica,pe ru,republicdominian,cuba,caribbean,greenland and el salvadour too.
    puertorica,colombia,venezuela,honduras,guyana and still, guatamala,bolivia then argentina and ecuador,chile,brazil.
    costarica,belize,nicaragua,bermuda,bahamas,tobago, sanjuan,paraguary,uruguay,suriname,frenchguiana,ba rbados and guan.
    norway and sweden and iceland and finland and germany now one piece, switzerland,austrira,czechoslovakia,italy,turkey and greece.



  4. #14
    Join Date
    Aug 2004
    Location
    UK
    Posts
    11,283
    Tokens
    2,031

    Latest Awards:

    Default

    The problem has happened before the line of code in question, most likly in your own code you have forgotten to add a ; or have missed a }

  5. #15
    Join Date
    Nov 2006
    Location
    Doncaster, UK
    Posts
    1,700
    Tokens
    0

    Latest Awards:

    Default

    I'm forced to use iframes because I suck at PHP.
    unitedstates,canada,mexico,panama,haiti,jamaica,pe ru,republicdominian,cuba,caribbean,greenland and el salvadour too.
    puertorica,colombia,venezuela,honduras,guyana and still, guatamala,bolivia then argentina and ecuador,chile,brazil.
    costarica,belize,nicaragua,bermuda,bahamas,tobago, sanjuan,paraguary,uruguay,suriname,frenchguiana,ba rbados and guan.
    norway and sweden and iceland and finland and germany now one piece, switzerland,austrira,czechoslovakia,italy,turkey and greece.



  6. #16
    Join Date
    Oct 2006
    Location
    Nuneaton
    Posts
    1,354
    Tokens
    0

    Latest Awards:

    Default

    LOL adam Bless. php will work for u one day...
    FITTY.
    MySpace.




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

    Latest Awards:

    Default

    Unlucky
    Find other coding stuffs.

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
  •