Jump to content

smiles

Members
  • Posts

    774
  • Joined

  • Last visited

Everything posted by smiles

  1. smiles

    smiley

    I have just finished a forum, now I want in the post 's part having some smileys How can I do that ???Do I need Javascript ???thanks !
  2. 1) Have you ever see this case, you click submit button in a page and the action attribute in Form tag link to that page alsoexample.php ............ action='example.php'........ 2) How can I create a new php page after ... for e.g click a button ?3) Justsomeguy had given me a link explain for this, but ... I am lazy to read the whole text varchar(N)what is the maximum of N, N=30 then we have maximum 30 words for string "text" ?4) how can we put a stylesheet, meta tags ... in an php fileindex.php <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xml:lang="en" lang="en" xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="content-type" content="text/html; charset=iso-8859-1" /><link rel="shortcut icon" href="favicon.ico" /><title>W3Schools Forum -> Posting New Topic</title> <style type="text/css"> html{ overflow-x: auto;}</style><?php...?> orindex.php <?phpecho "<!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Transitional//EN' 'http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd'> <html xml:lang='en' lang='en' xmlns='http://www.w3.org/1999/xhtml'><head><meta http-equiv='content-type' content='text/html; charset=iso-8859-1' /><link rel='shortcut icon' href='favicon.ico' /><title>W3Schools Forum -> Posting New Topic</title> <style type='text/css'> html{ overflow-x: auto;}</style></head><body>...</body>"; thanks !!!
  3. I will built it myself as you did
  4. Hi your small forum is really neat, you write a code or have a good link to learn fromCould you share it to methanks !!!I am building for my class something similar to yours !
  5. smiles

    echo a number

    Thanks, I found another way solving my problem, I will back to this problem someday
  6. smiles

    echo a number

    I see that most of SQL tutorial is about text contentso I want to ask how to echo a numberfor example, I create a table named "counter" and make a field named "num", int type .... ( num int(5) )how could I set the beginning value for num ?and if you this code$result1 = mysql_query("SELECT num FROM counter");while($row = mysql_fetch_array($result)) { echo $row['num']; }it shows nothing ?What I want to do is just simply add 1 to num, when some condition satisfied, for e.g ... you upload successfully an imageThanks !!!
  7. smiles

    Simple Login

    thanks justsomeguy, browser off and cookie lost
  8. smiles

    Simple Login

    I want to ask, does it create cookie so when you log in successfully, you can easily navigate to all pages without asking password the second time (twice) ?If I want to try my code again, so I must delete all Cookies ???thanks !!!
  9. smiles

    Simple Login

    Thanks Aspnetguy :)It works great !!!do you think should I put these code for all the rest pages session_start();if(!isset($_SESSION["login"]) || $_SESSION["login"] != "yes") header("Location: login.php");
  10. smiles

    Simple Login

    set session ... uhm maybe I know itbut " check to see if the seesions are correct on every protected page." seems strange to meHow can I do that ???
  11. smiles

    Simple Login

    yeah, I will do a research on it ???
  12. smiles

    Simple Login

    thanks ! that works correctly !
  13. smiles

    Simple Login

    Well, just need visitor type the password and ... then jump to the checklogin.php for checkingIf what is typed similar to my password that I set then redirect to another page, else back to the first page$pass = $_POST['passwordField'];if ($pass == 'myPassword') { ??? }else { ??? }I want to ask about the code for directing page ?Thanks !!!
  14. smiles

    html help

    <a href="#" target="_blank" > link </a>
  15. smiles

    forms

    "an ascii file" and "a file" what is the different ???just a small question, not hijack
  16. smiles

    Hit test

    Make a button symbol have a shape of rock, gives it a code or use tween to move it on the screen and add a code onRelease(){ gotoAndStop(?) }
  17. smiles

    CMS with PHP

    Do you know Xampp ?It 's really good to begin with PHP and mySQLI am tending to make a simple CMS and got some ways
  18. smiles

    html and tables

    for example, space take 0%, we have 4's width 50%, 3 is a square so 50% width and height of page, 1 and 2 will be 50% width and 25% height
  19. smiles

    Get from form

    my stupid !!! It works like you showed me Thanks you, all of you
  20. I think IPB doesn't mind it, another forum service will remember you like vBulletin or ...
  21. many software can do .swf to .mpeg but .swf is a form of man-made cartoon video.flv is something inside that make .swf more lively and realI think maybe have software to convert .flv to .mpeg but how can you separate .flv out of .swf, that is problem !!!
  22. Hi, check this tutorial http://www.w3schools.com/php/php_file_upload.asp
  23. you need something more persuasive :)is it better than Flash ?never have tutorial with it before
  24. smiles

    include

    the second is best (I saw it run well), if your code not wrong, maybe another reasons out of code ???
×
×
  • Create New...