BlameThePixel!

BTForum » BlameTheOffTopic Forums » BlameTheGeneralOffTopic » Little PHP treat for you

Page: [1] [] [3] []
[B]C1
Looking For Status
Send PM
Posts: 0
Threads: 0
Money: £0.18 (D)
(+ Friend)
Not online within the last half an hour

Quoted :: Glenn

[]Glenn holds up a 10/10 for that extraordinary display of self-ownage.

Seriously, why did you even make that script? It's not cool at all to punish people that use IE. Sure, it may be a vastly inferior browser to say... Firefox, but their browser choice doesn't make them any less human than you or I.



Maybe he wants to suck up to CB.

18.03.05 22:05
Post #31
[Hide Sig (2)] [Profile] [Quote]
[G]sargetron
Statusless
Send PM
Posts:
Threads:
Money: £0.00 (D)
(+ Friend)
Not online within the last half an hour
You are all officially owned.

GUESS WHY?

If you write valid XHTML with the valid header it needs (Content-Type: application/xml+xhtml;charset=XXX) and view it in IE, it says WTF is application/something something?!?!?! OMG BBQZ!1 So I need to use this script to sniff it out and give text/html.

</pwning>
19.03.05 07:39
Post #32
[Hide Sig (0)] [Profile] [Quote]
[S]ReadMe
Absent
Send PM
Posts: 2820
Threads: 85
Money: £43.42 (D)
(+ Friend)
Not online within the last half an hour

Quoted :: SargeTron

You are all officially owned.

GUESS WHY?

If you write valid XHTML with the valid header it needs (Content-Type: application/xml+xhtml;charset=XXX) and view it in IE, it says WTF is application/something something?!?!?! OMG BBQZ!1 So I need to use this script to sniff it out and give text/html.

</pwning>


WRONG

Congratulations, you fail at HTTP content negotiation. IE is not the only browser that fails to correctly display content with a mimetype of application/xml and it's variants. All browsers send a header to the server that says what types of content they can accept, and what type they prefer - a good sniffer script will uses this to vary the mime-type dependant on what the browser says it can take.

________________
Cant be arsed to remake my sig.
19.03.05 11:32
Post #33
Last edited: 19.03.05 23:29 (ReadMe - 1 times) [Hide Sig (7)] [Profile] [Quote]
[G]sargetron
Statusless
Send PM
Posts:
Threads:
Money: £0.00 (D)
(+ Friend)
Not online within the last half an hour

Quoted :: ReadMe


Quoted :: SargeTron

You are all officially owned.

GUESS WHY?

If you write valid XHTML with the valid header it needs (Content-Type: application/xml+xhtml;charset=XXX) and view it in IE, it says WTF is application/something something?!?!?! OMG BBQZ!1 So I need to use this script to sniff it out and give text/html.

</pwning>


WRONG

Congratulations, you fail at HTTP content negotiation. IE is not the only browser that fails to correctly display content with a mimetype of application/xml and it's variants. All browsers send a header to the server that says what types of content they can accept, and what type they prefer - a good sniffer script will uses this to vary the mime-type dependant on what the browser says it can take.


Meh, browsers other than IE that don't support it aren't megapopular are they? Since my sites aren't very popular, I don't think it matters.
19.03.05 12:17
Post #34
[Hide Sig (0)] [Profile] [Quote]
[G]meiapaul
Statusless
Send PM
Posts:
Threads:
Money: £0.00 (D)
(+ Friend)
Not online within the last half an hour
IE is popular...
19.03.05 12:22
Post #35
[Hide Sig (0)] [Profile] [Quote]
[]RunT
Statusless
Send PM
Posts: 2600
Threads: 106
Money: £29.56 (D)
(+ Friend)
Not online within the last half an hour
[]RunT's useless facts:
The guy at Microsft who codes and designs IE, actually uses Firefox as a browser
;)

Anywyas, yesh IE is popular becuase most the world use Windows, hense use IE as their browser.

________________


19.03.05 16:48
Post #36
[Hide Sig (10)] [Profile] [Quote]
[G]sargetron
Statusless
Send PM
Posts:
Threads:
Money: £0.00 (D)
(+ Friend)
Not online within the last half an hour
EXCACTLY

IE is the only one worth bothering about... other browsers really should just update :/ it isn't hard
19.03.05 17:41
Post #37
[Hide Sig (0)] [Profile] [Quote]
[B]C1
Looking For Status
Send PM
Posts: 0
Threads: 0
Money: £0.18 (D)
(+ Friend)
Not online within the last half an hour
Or maybe IE should update =/
19.03.05 18:51
Post #38
[Hide Sig (2)] [Profile] [Quote]
[]RunT
Statusless
Send PM
Posts: 2600
Threads: 106
Money: £29.56 (D)
(+ Friend)
Not online within the last half an hour

Quoted :: C1

Or maybe IE should update =/

I think IE updates too much really. IE should have the security of Mozilla, and the look of IE.
The perfect browser.

________________


19.03.05 19:03
Post #39
[Hide Sig (10)] [Profile] [Quote]
[B]C1
Looking For Status
Send PM
Posts: 0
Threads: 0
Money: £0.18 (D)
(+ Friend)
Not online within the last half an hour

Quoted :: Runt


Quoted :: C1

Or maybe IE should update =/

I think IE updates too much really. IE should have the security of Mozilla, and the look of IE.
The perfect browser.


It doesn't update for me. Mind you, I disabled updating because that SP2 patch kept trying to download. It was a waste of memory.
IE should have popup blocking and plugins instead of updating bugs no one notices :)
19.03.05 19:10
Post #40
Last edited: 19.03.05 19:11 (C1 - 1 times) [Hide Sig (2)] [Profile] [Quote]
[S]ReadMe
Absent
Send PM
Posts: 2820
Threads: 85
Money: £43.42 (D)
(+ Friend)
Not online within the last half an hour

Quoted :: SargeTron


Quoted :: ReadMe


Quoted :: SargeTron

You are all officially owned.

GUESS WHY?

If you write valid XHTML with the valid header it needs (Content-Type: application/xml+xhtml;charset=XXX) and view it in IE, it says WTF is application/something something?!?!?! OMG BBQZ!1 So I need to use this script to sniff it out and give text/html.

</pwning>


WRONG

Congratulations, you fail at HTTP content negotiation. IE is not the only browser that fails to correctly display content with a mimetype of application/xml and it's variants. All browsers send a header to the server that says what types of content they can accept, and what type they prefer - a good sniffer script will uses this to vary the mime-type dependant on what the browser says it can take.


Meh, browsers other than IE that don't support it aren't megapopular are they? Since my sites aren't very popular, I don't think it matters.


So what happens when IE7 comes out and supports xml mime types, your script will still send them a dodgy page.

Browser sniffing is bad, you should always vary content according to what the browsers says it can accept.

And c1, IE does havw popup blocking you just need SP2

________________
Cant be arsed to remake my sig.
19.03.05 23:31
Post #41
[Hide Sig (7)] [Profile] [Quote]
[B]C1
Looking For Status
Send PM
Posts: 0
Threads: 0
Money: £0.18 (D)
(+ Friend)
Not online within the last half an hour

Quoted :: ReadMe


Quoted :: SargeTron


Quoted :: ReadMe


Quoted :: SargeTron

You are all officially owned.

GUESS WHY?

If you write valid XHTML with the valid header it needs (Content-Type: application/xml+xhtml;charset=XXX) and view it in IE, it says WTF is application/something something?!?!?! OMG BBQZ!1 So I need to use this script to sniff it out and give text/html.

</pwning>


WRONG

Congratulations, you fail at HTTP content negotiation. IE is not the only browser that fails to correctly display content with a mimetype of application/xml and it's variants. All browsers send a header to the server that says what types of content they can accept, and what type they prefer - a good sniffer script will uses this to vary the mime-type dependant on what the browser says it can take.


Meh, browsers other than IE that don't support it aren't megapopular are they? Since my sites aren't very popular, I don't think it matters.


So what happens when IE7 comes out and supports xml mime types, your script will still send them a dodgy page.

Browser sniffing is bad, you should always vary content according to what the browsers says it can accept.

And c1, IE does havw popup blocking you just need SP2


SP2 doesn't support WA though :( The map loader doesn't work when I install the SP2..
20.03.05 03:55
Post #42
[Hide Sig (2)] [Profile] [Quote]
[]RunT
Statusless
Send PM
Posts: 2600
Threads: 106
Money: £29.56 (D)
(+ Friend)
Not online within the last half an hour
Must be something wrong with your machine or operating system C1.
I have XP SP2 and everything works fine my end.

________________


20.03.05 05:15
Post #43
[Hide Sig (10)] [Profile] [Quote]
[UA]tundraH
Statusless
Send PM
Posts: 566
Threads: 20
Money: £1.26 (D)
(+ Friend)
Not online within the last half an hour
I don't know if my IE is more broken than usual, but it doesn't even seem to be sending the Accept header properly. When I visit http://bugs.rdmsoft.com/httpaccept.php it says:

Your accept header was: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/x-shockwave-flash, application/vnd.ms-powerpoint, application/vnd.ms-excel, application/msword, */*

...without even mentioning that it prefers HTML to any random type. Worse, when I refresh the page it just sends */*.

(My workaround is to just check for the type you'd rather send to see if it's in the header at all, since XHTML browsers generally do things properly and sending as text/html by mistake won't do much harm.)
20.03.05 10:45
Post #44
[tundraH.com] [Hide Sig (0)] [Profile] [Quote]
[B]C1
Looking For Status
Send PM
Posts: 0
Threads: 0
Money: £0.18 (D)
(+ Friend)
Not online within the last half an hour

Quoted :: Runt

Must be something wrong with your machine or operating system C1.
I have XP SP2 and everything works fine my end.



Runt. Think about this. How could my machine be blamed for the map loader not working? Perhaps I could blame my worms disc or the SP2, but not my computer.
I have XP.
20.03.05 19:19
Post #45
[Hide Sig (2)] [Profile] [Quote]
Page: [1] [] [3] []

Post Reply

Jump To:


Your Comments:

Donate to BlameThePixel:
Donate to BTP Via PayPal


[22 Queries, Page Loaded in 0.434463 Seconds]

ShoutMeUp

Xmas Greetings from waka waka waka waka []Unvalidated EmailChristmasRiddle MERRY CHRISTMAS EVERYONE! []Spleet Except for Spleet. []TheAbdBoy Always bummin' a brother out. []Spleet Happy New Year everyone! But Spleet. []TheAbdBoy

Word Association

All

-10 Ago-

MiddleEastern []AlphaWolf camel [S]Bloopy toe []TheAbdBoy moose knuckle [S]Bloopy MeatLoaf []Spleet IdDoAnything4Lo ve []AlphaWolf rub n tug []TheAbdBoy tugboat []The Pope rope [S]Bloopy race []TheAbdBoy

-Latest-


Must be logged in to add new words

FictoLeague

You have to be logged in to vote...

Member Stats

Date: 04.12.24.
Members: 4731.
Latest: []Unvalidated Emailsdsakldsaldklasdsdsa
Active:
0 user(s)
1 guest(s)

On chat:
Lots of people

Files: 3330

Bloopy's Site
Get Firefox Get Opera Donate to BTP Via PayPal