Jump to content
xisto Community

kilz

Members
  • Content Count

    57
  • Joined

  • Last visited

Posts posted by kilz


  1. How does that display the html code...? :/

    sorry, it should be: <b>fjdsgfjds</b>

    save your file as text, the server wont parse that as html.also try "<" it will show < and ">" show > in html.
    for example.
    <B> This is not bold </B>
    output:
    <B>This is not bold</B>

    hope that helps

    thanks a lot, but please tell what it means, < >
    are they ascii code of < and >??

    -------------
    in php, we can use htmlspecialchars() to display and disable html.
    in javascript, how??
    I would like to create some html tutorial for my site, so disable them.

  2. .info is a top level domain, but .tk not. redirecting will display real address but dns wont.--------------------I need a .info, but seems mosts of the companys stopped offering free .info. . .I have checked domainsite.com , getafree.info, namesecue.com, domaindiscount24.com, mydomain.com, domainbank.com, 1and1.com. . .but free .info is no long availible. . .:)also, most companys required credit card information, but I didn't got one. . .please help, thanks.!!


  3. <form action=$_SERVER[php_SELF] method="POST" enctype="multipart/form-data"><input type="file" name="file"></form><?if (strrchr ($_FILES["file"], ".") != ".gif" || strrchr ($_FIELS["file"], ".") != ".jpeg" || strrchr ($_FIELS["file"], ".") != ".png") {echo "not image!!";} else {$time = time(); // for file name. . .copy ($_FILES["tmp_name"], "folder/".$time.$_FILES["name"]);mysql_query ("insert into database (image) values ('$time$_FILES[name]');//I use time for file name, no same file name will be the same folder. . .}?>

×
×
  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.