Recent content by Vergus Lee

  1. V

    js+php: how to protect the displayed main page from access using popup black

    window with a required password? js+php: how to protect the displayed main page from access using popup black window with a required password? So, you type mysite.com If you don't enter a proper password, you don't see the website. As I understand, the password should be stored at the mysql...
  2. V

    what technology should I use to make mysite.com/i.php?p=1&b=34 looks like

    mysite.com/i.php/1/34 etc? what technology and what language or server settings should I use to make mysite.com /i.php?p=1&b=34 looks like mysite.com /i.php/1/34 etc? Thank you.
  3. V

    php: $var1 that is Time: how to display 21-09-2010 instead of 2010-09-21 21:21:45?

    how to display 21-09-2010? The database column Time of Timestamp type contains a cell "2010-09-21 12:34:56". $row['Time'] displays "2010-09-21 12:34:56". How to display 21-09-2010 (only a date, date comes first). Thank you.
  4. V

    How to upload image from a user to the server via html page?

    How to upload image from a user to the server via html page? I've found this code: <input type="hidden" name="MAX_FILE_SIZE" value="1000" /> <input type="file" /> But, of course, that's not enough anyway. Second of all, it should upload a file WITHOUT pressing button Submit. ONCE, THE FILE IS...
  5. V

    html: Need help: Common problem with TEXTAREA: \r\n problem?

    Hello. If the form filled wrong, it returns back. But, the text John Johnson, 123 street ave, Somecity, Somestate 12345 displayed this way in the TEXTAREA John Johnson,\r\n 123 street ave, \r\n Somecity,\r\n Somestate 12345 The only thing I did was using php code str_replace("\r\n"," "...
  6. V

    php question: how to check if a string contains ANY of characters with an

    ASCII code that is less than 65 (A)? php question: how to check if a string contains ANY of characters with at least one an ASCII code that is less than 65 (which corresponds to symbol A)? For example, Char code BACKSPACE 8 (A) 65 (B) 66 (C) 67 So, how to check if $str...
  7. V

    html: Every cell of table contains a word. How to solve the problem with

    aligning if the word is too long? html: Every cell of of table with a fixed width contains a word. How to solve the problem with aligning if the word is too long? It destroys the structure of the table. For example, If the word is longer than 7 letters, the rest of the word goes to another...
Back
Top