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 1 of 2 12 LastLast
Results 1 to 10 of 16
  1. #1
    Join Date
    Jul 2005
    Location
    -
    Posts
    2,995
    Tokens
    0

    Latest Awards:

    Default wats rong with this? +rep

    PHP Code:
    setcookie("id"$user['id'],time()+(60*60*24*5), "/"""); 
    setcookie("pass"$user['password'],time()+(60*60*24*5), "/"""); 
    It keeps coming up with...


    Edited by Lµke (Forum Moderator): Thread Moved from Website Designing. Please post in the correct section next time, Thanks .
    Last edited by Lµke; 03-05-2007 at 05:20 PM.

  2. #2
    Join Date
    Jul 2006
    Location
    Athens
    Posts
    842
    Tokens
    0

    Default

    Your trying to set something after the head tags.


  3. #3
    Join Date
    Jul 2005
    Location
    -
    Posts
    2,995
    Tokens
    0

    Latest Awards:

    Default

    hmm? wat <Head> or...? Lmao.. i was ok at coding until cape across this :| i was like *** noob php= me :|

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

    Latest Awards:

    Default

    Use sessions instead = Faster = Easier = Safer

  5. #5
    Join Date
    Dec 2006
    Location
    Swindon
    Posts
    3,299
    Tokens
    215
    Habbo
    dunko

    Latest Awards:

    Default

    You need to put that at the top of the page ontop of everything else (the php script, your not allowed html above it if you are setting cookies)

  6. #6
    Join Date
    Jul 2006
    Location
    Athens
    Posts
    842
    Tokens
    0

    Default

    Quote Originally Posted by Blob View Post
    You need to put that at the top of the page ontop of everything else (the php script, your not allowed html above it if you are setting cookies)
    Thats basicly what i said,

    Off Topic: You gone back to your old name Blob, Yey!


  7. #7
    Join Date
    Jul 2005
    Location
    -
    Posts
    2,995
    Tokens
    0

    Latest Awards:

    Default

    so blob, your saying like this for example your NOT allowed;

    <head><title>Blah</title></head><html><font face="verdana" size="1"> bla bla </font></html>
    <?
    echo("hello world");
    ?>

    Like that so wud it be?
    <?
    echo("hello world");
    ?>
    <head><title>Blah</title></head><html><font face="verdana" size="1"> bla bla </font></html>

    for example, echo being the cookies bit :p

    Use sessions instead = Faster = Easier = Safer
    YEH SHUP K THATS NOT TEH QUESTIon and i broke my shift key "/
    Last edited by Jamie.; 03-05-2007 at 05:53 PM.

  8. #8
    Join Date
    Jul 2006
    Location
    Athens
    Posts
    842
    Tokens
    0

    Default

    Yes thats right.


  9. #9
    Join Date
    Jul 2005
    Location
    -
    Posts
    2,995
    Tokens
    0

    Latest Awards:

    Default

    lemme try

    look for edit...... n i say if works or not

    EDIT: Wow cheers, ill bare this in mind next time thanks blob omgz ryan umm and reina crap keeper anywho
    Last edited by Jamie.; 03-05-2007 at 05:59 PM.

  10. #10
    Join Date
    Jul 2006
    Location
    Athens
    Posts
    842
    Tokens
    0

    Default

    Quote Originally Posted by Jamie. View Post
    lemme try

    look for edit...... n i say if works or not

    EDIT: Wow cheers, ill bare this in mind next time thanks blob omgz ryan umm and reina crap keeper anywho
    Your Obviously A Chelsea Fan


Page 1 of 2 12 LastLast

Posting Permissions

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