small help related to php

This is a discussion on small help related to php within the Tech Board forums, part of the Community Boards category; to comment or not to comment same thing...

  1. #16
    RoD
    RoD is offline
    Redundantly Redundant RoD's Avatar
    Join Date
    Sep 2002
    Location
    Missouri
    Posts
    6,331
    to comment or not to comment

    same thing

  2. #17
    Registered User
    Join Date
    Nov 2004
    Location
    Slovenia, Europe
    Posts
    115
    Thantos: sorry, but I haven't checked this topic yet..OK?

    Since you obviously haven't noticed, some people still use old-fashioned browsers like IE 4.0, Netscape, etc.

    The old browser had many problems with single-quoted HTML, but new browsers provide better support for both types - single and double-quoted HTML...

    But that I won't be talking only of past, you can check this link:

    http://si.php.net/manual/en/features.http-auth.php

    This link shows how we do the HTTP Authentication under PHP. It is strictly recommended that we use double-quotes:

    Compatibility Note: Please be careful when coding the HTTP header lines. In order to guarantee maximum compatibility with all clients, the keyword "Basic" should be written with an uppercase "B", the realm string must be enclosed in double (not single) quotes, and exactly one space should precede the 401 code in the HTTP/1.0 401 header line.
    You got it?
    [C++]
    IDE: DevC++ 4.9.9.2 (GCC 3.4.2)
    2nd compiler: g++ (GCC 3.4.3/4.0.0)
    3rd compiler: Borland 5.5
    [C#]
    IDE: Microsoft Visual C# Express 2005
    2nd IDE: SharpDevelop
    2nd compiler: csc in Command Prompt
    .NET Framework: 2.0
    [PHP]
    Core: 5.1.0 beta 3
    IDE: PHPEdit
    2nd IDE: Notepad
    Favourite extensions: exif,gd2,mysql
    Favourite PEAR packages: DB, XML_RSS, ID3
    Favourite databases: SQLite, MySQL

  3. #18
    & the hat of GPL slaying Thantos's Avatar
    Join Date
    Sep 2001
    Posts
    5,681
    Thantos: sorry, but I haven't checked this topic yet..OK?
    No its not. Two days is a long time to not respond to back up your claim. Now if you hadn't been here during that time I'd be cool with it but you have.

    Since you obviously haven't noticed, some people still use old-fashioned browsers like IE 4.0, Netscape, etc.
    I do not support non standard browsers and I do not support browsers that didn't come out in this millennium. If they can't get their act together and get a modern browser then to heck with them I don't need them on my webspace.



    But that I won't be talking only of past, you can check this link:

    http://si.php.net/manual/en/features.http-auth.php

    This link shows how we do the HTTP Authentication under PHP. It is strictly recommended that we use double-quotes:
    Was I posting code for the file header? No I wasn't. As such your "proof" is invalid.

    You got it?
    Would you like to try again?

  4. #19
    I am the worst best coder Quantrizi's Avatar
    Join Date
    Mar 2002
    Posts
    644
    Quote Originally Posted by Thantos
    ...
    Also do you realize Quantrizi that your
    PHP Code:
    $name = $_REQUEST["name"]; // I always use request (it accepts either POST or GET statements) 

    <form action="page3.php" method="POST"> 
    Name: <? echo $name?><br /> 
    <input type="hidden" name="name" value="<? echo($name); ?>" /> 
    <input type="submit" name="sub" value="Submit" /> 
    </form>
    has several problems:
    1) your first statement isn't inside a php block
    2) not all servers support short tags (should be <?php )

    ...
    For point one, I was writing the code fast, and since the person wanted PHP, I pretty well make a safe assumption that s/he would know where to put the tags. For #2, read about point one.

    If this came off as rude, my apologizes, but I personally can't seem to make this sound any more non-flamed i guess you can say.

  5. #20
    & the hat of GPL slaying Thantos's Avatar
    Join Date
    Sep 2001
    Posts
    5,681
    You'd be surprised how many times I've seen the copy/paste, and then I am complain because they didn't actually look to see what it was suppose to be doing

  6. #21
    UT2004 Addict Kleid-0's Avatar
    Join Date
    Dec 2004
    Posts
    656
    Quote Originally Posted by Thantos
    If they can't get their act together and get a modern browser then to heck with them I don't need them on my webspace.
    That's crazy horse!

  7. #22
    & the hat of GPL slaying Thantos's Avatar
    Join Date
    Sep 2001
    Posts
    5,681
    It works for Microsoft it can work for me dang it! (Re MS has limited support for Win 98)

  8. #23
    UT2004 Addict Kleid-0's Avatar
    Join Date
    Dec 2004
    Posts
    656
    I think everything should be compliant with DOS and IE 1.0! But then we'd be going nowhere! I understand lol

  9. #24
    PC Fixer-Upper Waldo2k2's Avatar
    Join Date
    May 2002
    Posts
    2,001
    ie 1.0 was on DOS? hmm :shrugs:
    PHP and XML
    Let's talk about SAX

  10. #25
    UT2004 Addict Kleid-0's Avatar
    Join Date
    Dec 2004
    Posts
    656
    DOS never listened to the standards *cries*, now I have to use operating systems that take up more than 512 KB RAM :(

  11. #26
    5|-|1+|-|34|) ober's Avatar
    Join Date
    Aug 2001
    Posts
    4,429
    Quote Originally Posted by Kleid-0
    That's crazy horse!
    No, it's not really. I code to support the last few releases of most browsers. If you don't have enough time to update your browser at least every 2 years, you've got issues. And besides, if you have problems with my site, you're going to have problems elsewhere, and that's just not my fault.

    I don't bother worrying with IE5.5 or Opera releases before 6. I also don't bother with anything concerning Netscape before version 6.

    Anything past that is pretty safe. Anything before that was riddled with problems and doesn't support up-to-date standards.

Page 2 of 2 FirstFirst 12
Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Doxygen failing
    By Elysia in forum A Brief History of Cprogramming.com
    Replies: 19
    Last Post: 04-16-2008, 02:24 PM
  2. PHP installation
    By ssharish2005 in forum Tech Board
    Replies: 8
    Last Post: 11-23-2007, 09:42 PM
  3. want to make this small program...
    By psycho88 in forum C++ Programming
    Replies: 8
    Last Post: 11-30-2005, 02:05 AM
  4. PHP on my Computer!
    By xxxrugby in forum Tech Board
    Replies: 4
    Last Post: 03-15-2005, 09:34 AM
  5. PHP 4.3.0 released
    By codingmaster in forum A Brief History of Cprogramming.com
    Replies: 5
    Last Post: 12-30-2002, 07:40 AM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21