Results 1 to 5 of 5

Thread: IE

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Registered User zombie13's Avatar
    Join Date: Oct:2012
    Location: Bulgaria - Ruse
    Posts: 63

    IE

    PHP Code:
    $user $_SESSION['username'];
    $query "SELECT avatar,date FROM users WHERE username='$user'";                
    $data mysql_query($query);
    $row mysql_fetch_array($data);
                        
    if(
    is_file(UPLOADPATH.$row['avatar']) && filesize(UPLOADPATH.$row['avatar']) > && filesize(UPLOADPATH.$row['avatar']) < MAXFILESIZE){
        echo 
    '<img src="'.UPLOADPATH.$row['avatar'].'" width="auto" height="130" alt="my avatar" />';
    }else{
        echo 
    '<img src="'.UPLOADPATH.'default/avatar.jpeg'.'" width="100" height="100" alt="general avatar" />';

    IE , , .
    ?
    , width height .

  2. #2
    Registered User tedych's Avatar
    Join Date: Nov:2003
    Location:
    Posts: 17,654
    - , View Source , , .
    , /> ?
    doctype .

  3. #3
    Registered User
    Join Date: Jul:2005
    Location: Sofiq
    Posts: 2,798
    IE8 Firebug. F12. IE - doctype , doctype. HTML5 .

    Code:
    <!DOCTYPE html>
    <html xmlns="http://www.w3.org/1999/xhtml">

  4. #4
    Registered User tedych's Avatar
    Join Date: Nov:2003
    Location:
    Posts: 17,654
    Quote Originally Posted by _ShadoW_ View Post
    IE8 Firebug. F12. IE - doctype , doctype. HTML5 .

    Code:
    <!DOCTYPE html>
    <html xmlns="http://www.w3.org/1999/xhtml">
    <> HTML5. xmlns , XHTML.
    , view source .

Posting Permissions

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

Copyright © 1999-2011 . .
iskamPC.com | mobility.BG | Bloody's Techblog | | 3D Vision Blog |