User Profile

Collapse

Profile Sidebar

Collapse
tromton
tromton
Last Activity: Dec 20 '07, 12:06 PM
Joined: Dec 16 '07
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • tromton
    replied to accent char é in php
    in PHP
    it seems like you charset is wrong/not supporting french words. there are several ways to do this. first your webpage/webserver should support a charset that supports french words (eg utf8) and then you shuld also choose the right charset/collation for you mysql tabel (eg utf8).

    please read the following article:
    http://www.w3.org/International/O-HTTP-charset

    the collation of a table can be changed eg with hpmyadmin....
    See more | Go to post

    Leave a comment:


  • tromton
    started a topic security: validate post and get varis for mysql query
    in PHP

    security: validate post and get varis for mysql query

    hello all,

    ive been wondering latley if someone could change a get variable, so he can change a sql statement that way, that he could delete data from my database.
    the following ive thought of:

    $_GET['someinput'] = "123"

    $sql = "select * from test where id = '".$_GET['someinput']."'";
    .....

    so if someone would change the url from
    http://test/index.php?somei nput=123...
    See more | Go to post

  • Code:
    <div id="username">
        Username
        <p></p>
        <input type="text" id="field1" name="field1" onblur="document.getElementById('usernote').style.display = 'none'" onfocus="document.getElementById('usernote').style.display = 'block';" size="20" tabindex="1">
     
        <div id="usernote" style="display:none;">
    ...
    See more | Go to post

    Leave a comment:


  • this forum is not about java, but java script.
    See more | Go to post

    Leave a comment:


  • tromton
    replied to Dynamically Fill List Box
    http://www.quirksmode.org/js/options.html...
    See more | Go to post

    Leave a comment:


  • tromton
    started a topic smooth scrolling of div element

    smooth scrolling of div element

    heello,

    i havee one div element in my site with several anchors, that i link to.
    to change from anchor to another id like to have a smooth scrolling effect.
    all the smooth scrolling effects i could finde onlinee where to generall change all the links on the webpage and where quite overloaded. so i trieed to do something on my own. ther ist no error coming from firefox, but it doesent work also. maybe someonee can help...
    See more | Go to post

  • ok, I solved the problem diffrently. ive dit some changes to the scrolling script. i wasssent aware that i actually can get the actual scrolling position of the div by asking scrollTop. this way i dont have to track changes to the scrolling position, but can simply jaust scroll from the actual scrolling position by asking scrollTop.

    best
    See more | Go to post

    Leave a comment:


  • tromton
    started a topic offsetTop and global variable in Safari 3

    offsetTop and global variable in Safari 3

    Hello all,

    I have a problem with a scrript in safari 3. in mozilla/firefox and opera the problem does not exist.

    what i try to do: I have a div element with overflow:auto. in the element i have several anchors, wich i can scroll to with several anchor links. this works quite nicely.
    the div content can be scrolled by a JS-scrolling script. when i click on a anchor link the scrolling script loses its position,...
    See more | Go to post
No activity results to display
Show More
Working...