Results 1 to 8 of 8
  1. #1
    Join Date
    May 2005
    Location
    /etc/passwd
    Posts
    19,110
    Tokens
    1,139

    Latest Awards:

    Default Hiding things ;)

    Heya,

    I have a peice of code that shows text and a check box, I want the code in there but i dont want the output to show.

    How do i hide the output of a code so that it still works in the background without the user knowing?

    Thanks
    Tom
    Quote Originally Posted by Chippiewill View Post
    e-rebel forum moderator
    :8

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

    Latest Awards:

    Default

    o.0 im lost? What do you mean by output? Why output anything at all if you dont want it noticed?

  3. #3
    Join Date
    Nov 2006
    Location
    Leeds, Yorkshire
    Posts
    992
    Tokens
    0

    Default

    I'm lost :S


  4. #4
    Join Date
    Mar 2006
    Location
    C:\\Program Files
    Posts
    2,592
    Tokens
    0

    Latest Awards:

    Default

    Maybe show the code?


  5. #5
    Join Date
    Nov 2006
    Posts
    1,939
    Tokens
    0

    Latest Awards:

    Default

    Ehhhhh... *Confuse* lool

  6. #6
    Join Date
    May 2005
    Location
    /etc/passwd
    Posts
    19,110
    Tokens
    1,139

    Latest Awards:

    Default

    I have this peice of code:

    PHP Code:
    <td style="text-align: left">User-Agent:</td>
    <td><select name="<?php echo(COOK_PREF); ?>_useragent" style="width: 100%" onchange="useragent_check(true);">
    <?php foreach($useragent_array as $useragent){ ?>
        <option value="<?php echo($useragent[0]); ?>"<?php if($_COOKIE[COOK_PREF.'_useragent']==$useragent[0]) echo ' selected="selected"'?>><?php echo($useragent[1]); ?></option>
    <?php ?>
    </select></td>
    </tr>
    <tr class="advanced_stuff" id="useragent_texttr"<?php echo($_COOKIE[COOK_PREF.'_useragent']=='1'?null:' style="display: none"'); ?>>
        <td>&nbsp;</td>
        <td><input type="text" id="<?php echo(COOK_PREF); ?>_useragenttext" name="<?php echo(COOK_PREF); ?>_useragenttext" value="<?php echo($_COOKIE[COOK_PREF.'_useragenttext']); ?>" style="width: 99%" /></td>
    </tr>
    <tr class="advanced_stuff"><td>&nbsp;</td><td style="text-align: left"><input name="<?php echo(COOK_PREF); ?>_url_form" type="checkbox" style="border: 0px" checked="checked" <?php if(!empty($_COOKIE[COOK_PREF.'_url_form'])) echo 'checked="checked" '?>/>&nbsp;Persistent URL Form</td>
    And i want to make it so that this does not show the text/checkbox etc... on the page, effectivly making the user not now that the option is there...
    Quote Originally Posted by Chippiewill View Post
    e-rebel forum moderator
    :8

  7. #7
    Join Date
    Apr 2005
    Location
    South Wales!
    Posts
    3,535
    Tokens
    2,836

    Latest Awards:

    Default

    try making it the same colour as the backround

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

    Latest Awards:

    Default

    lmao no

    Where it says type="whatever" type in type="hidden" and it will not show on page but still work

Posting Permissions

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