BlameThePixel!

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

Page: [1] [] [3] [4]
[G]sargetron
Statusless
Send PM
Posts:
Threads:
Money: £0.00 (D)
(+ Friend)
Not online within the last half an hour
Not much, but I've just cooked up this little PHP code to sniff out IE the best way possible, then you can just use if ($is_ie) to excecute your IE only code (hopefully an angry popup!)

http://12.22.230.41/MicroTech/Host/Files/check_ie1.txt
12.03.05 11:55
Post #1
Last edited: 12.03.05 12:17 (SargeTron - 4 times) [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 :: SargeTron

Not much, but I've just cooked up this little PHP code to sniff out IE the best way possible, then you can just use if ($is_ie) to excecute your IE only code (hopefully an angry popup!)

http://12.22.230.41/MicroTech/Host/Files/check_ie1.txt


I even knew about that before you posted it, so most likely the admins knew about it. Mind you, it might be a good idea to add code that would work for only ie or only firefox. That way everything will work as it should.
12.03.05 18:30
Post #2
[Hide Sig (2)] [Profile] [Quote]
[]knifa
Statusless
Send PM
Posts: 1174
Threads: 78
Money: £4.78 (D)
(+ Friend)
Not online within the last half an hour
[]knifa$1throws the PHP Manual at sargetron
12.03.05 18:53
Post #3
Last edited: 12.03.05 18:54 (Knifa - 1 times) [Hide Sig (11)] [Profile] [Quote]
[G]dreameater
Statusless
Send PM
Posts:
Threads:
Money: £0.00 (D)
(+ Friend)
Not online within the last half an hour
im not even going to begin to tell you what you have done wrong with that "code"
12.03.05 19:00
Post #4
[Hide Sig (0)] [Profile] [Quote]
[G]sargetron
Statusless
Send PM
Posts:
Threads:
Money: £0.00 (D)
(+ Friend)
Not online within the last half an hour
Try it and then say that.
12.03.05 19:14
Post #5
[Hide Sig (0)] [Profile] [Quote]
[ES]Pioneer322
Orangie Orgy
Send PM
An Avatar
Posts: 2375
Threads: 38
Mood: FFFFFFFFFFF
Money: £1289.13 (D)
User Tax: -322%
(+ Friend)
Not online within the last half an hour

Quoted :: DreamEater

Try it and then say that.


He doesnt know the first thing about php anyways, he just goes by what everyone says :P
Theres nothing wrong with the code, its just... not needed
12.03.05 20:59
Post #6
Last edited: 12.03.05 20:59 (Pioneer322 - 1 times) [Hide Sig (2)] [Profile] [Quote]
[G]meiapaul
Statusless
Send PM
Posts:
Threads:
Money: £0.00 (D)
(+ Friend)
Not online within the last half an hour
I know nothing about php, but in the wise words of tH "That hasn't been tested, the brackets aren't closed." So there.
12.03.05 22:57
Post #7
[Hide Sig (0)] [Profile] [Quote]
[G]sargetron
Statusless
Send PM
Posts:
Threads:
Money: £0.00 (D)
(+ Friend)
Not online within the last half an hour
Oh crap, the brackets AREN'T CLOSED! I'll fix it sometime, till then DON'T USE THIS CODE!
13.03.05 16:25
Post #8
[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

Quoted :: SargeTron

Oh crap, the brackets AREN'T CLOSED! I'll fix it sometime, till then DON'T USE THIS CODE!


Hmmm, how can I resist not using the code?
Even though I know nothing about PHP, I must fight the temptations!
8)

Edit: what does that code do anyway?

________________


13.03.05 16:38
Post #9
Last edited: 13.03.05 16:39 (Runt - 1 times) [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
Detects if the people are using IE. Give them spyware.
13.03.05 17:15
Post #10
[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
Why would you want to do that?
13.03.05 18:03
Post #11
[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 :: Meiapaul

Why would you want to do that?


Why would SargeTron want to do anything? It's because he's SargeTron .
13.03.05 22:02
Post #12
[Hide Sig (2)] [Profile] [Quote]
[]kikumbob
om nom nom nom nom
Send PM
Posts: 1473
Threads: 38
Mood: Effervescent
Money: £80.00 (D)
(+ Friend)
Not online within the last half an hour
for the length of time ive known sargetron, hes messed up every single bit of code hes made before he got it right.

let us bare with him, and THEN tell him how useless the code is.
13.03.05 22:43
Post #13
[Hide Sig (9)] [Profile] [Quote]
[]RunT
Statusless
Send PM
Posts: 2600
Threads: 106
Money: £29.56 (D)
(+ Friend)
Not online within the last half an hour

Quoted :: kikumbob

for the length of time ive known sargetron, hes messed up every single bit of code hes made before he got it right.

let us bare with him, and THEN tell him how useless the code is.


Souns good to me, when do we start?
;)

________________


13.03.05 23:48
Post #14
[Hide Sig (10)] [Profile] [Quote]
[]kikumbob
om nom nom nom nom
Send PM
Posts: 1473
Threads: 38
Mood: Effervescent
Money: £80.00 (D)
(+ Friend)
Not online within the last half an hour
about a year from now.
14.03.05 00:12
Post #15
[Hide Sig (9)] [Profile] [Quote]
Page: [1] [] [3] [4]

Post Reply

Jump To:


Your Comments:

Donate to BlameThePixel:
Donate to BTP Via PayPal


[22 Queries, Page Loaded in 0.320345 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: 14.05.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

Unmatched ULink2 by Name:
sargetron - sargetron