php forum
php mysql forum
php mysql smarty
 
Page 2 of 2 < 1 2
Topic Options
#225863 - 10/05/02 11:55 AM Re: Browser Check [Re: interforos]
JoshPet Offline
I type Like navaho

Registered: 11/29/01
Posts: 11330
Loc: Charlotte, NC
Thats an Excellent Idea.<br /><br />I think I'm going to "hack" mine to link to the How To poss I have on my site for fixing the firewall etc.... <br /><br />Thanks. <img src="/forum/images/graemlins/smile.gif" alt="" />
_________________________
Joshua Pettit
www.JoshuaPettit.com
My abilities are for hire.

Top
#225864 - 10/06/02 05:11 PM Re: Browser Check [Re: sf49rminer]
Dave_L_dup1 Offline
Addict

Registered: 04/23/02
Posts: 1929
Loc: Virginia, USA
omegatron, is that test still failing for you?
_________________________
UBB.threads beta tester / threadsdev.com moderator
Software consulting services including UBB.threads problem resolution / installs / upgrades / customization.

Top
#225865 - 10/06/02 05:25 PM Re: Browser Check [Re: joeuser]
Dave_L_dup1 Offline
Addict

Registered: 04/23/02
Posts: 1929
Loc: Virginia, USA
Issues:<br /><br />1) Currently, the test-cookie set by the script has an expiration date/time of five minutes from "now". I'm wondering if that could cause problems if the user's clock is off a bit. Or maybe if that does cause the test to fail, it means that the test script is doing what it should. <img src="/forum/images/graemlins/confused.gif" alt="" /><br /><br />2) I'm also thinking of adding a test for server date/time vs. client date/time. I'm not sure how to do this, but maybe Javascript could be used to read the client's clock. If I can get this working, what "tolerance" do you think should be used to distinguish pass/fail?<br /><br />3) I think I'm going to add some more info to the displayed results, to aid in diagnosing test failures.
_________________________
UBB.threads beta tester / threadsdev.com moderator
Software consulting services including UBB.threads problem resolution / installs / upgrades / customization.

Top
#225866 - 10/09/02 05:42 PM Re: Browser Check [Re: Daine]
Dave_L_dup1 Offline
Addict

Registered: 04/23/02
Posts: 1929
Loc: Virginia, USA
I just uploaded a new version (1.1.0) that has additional tests and a separate configuration file, which makes it easier to customize the displayed header and footer.
_________________________
UBB.threads beta tester / threadsdev.com moderator
Software consulting services including UBB.threads problem resolution / installs / upgrades / customization.

Top
#225867 - 10/10/02 03:56 PM Re: Browser Check [Re: joeuser]
omegatron Offline
Member

Registered: 04/05/01
Posts: 3440
Loc: abingdon,md
In the new version my referer also fails everything else passes.
_________________________
Chuck S

DIVE IN AND VISIT ME:

Omegatron\'s Reefs

Administrator at ReefTalk

Top
#225868 - 10/10/02 04:52 PM Re: Browser Check [Re: sf49rminer]
Dave_L_dup1 Offline
Addict

Registered: 04/23/02
Posts: 1929
Loc: Virginia, USA
1) Are you running the Browser Check script on the same server that your UBB.threads is on?<br /><br />2) In your UBB.threads configuration settings, do you have "Do you want to disable the referer check?" set to (a) "No, always check referer" or (b) "Yes, disable this check." ?
_________________________
UBB.threads beta tester / threadsdev.com moderator
Software consulting services including UBB.threads problem resolution / installs / upgrades / customization.

Top
#225869 - 10/10/02 05:21 PM Re: Browser Check [Re: joeuser]
JoshPet Offline
I type Like navaho

Registered: 11/29/01
Posts: 11330
Loc: Charlotte, NC
New Version is Cool Dave! <img src="/forum/images/graemlins/cool.gif" alt="" />
_________________________
Joshua Pettit
www.JoshuaPettit.com
My abilities are for hire.

Top
#225870 - 10/10/02 05:25 PM Re: Browser Check [Re: Daine]
Dave_L_dup1 Offline
Addict

Registered: 04/23/02
Posts: 1929
Loc: Virginia, USA
<img src="/forum/images/graemlins/laugh.gif" alt="" />
_________________________
UBB.threads beta tester / threadsdev.com moderator
Software consulting services including UBB.threads problem resolution / installs / upgrades / customization.

Top
#225871 - 10/10/02 05:36 PM Re: Browser Check [Re: joeuser]
omegatron Offline
Member

Registered: 04/05/01
Posts: 3440
Loc: abingdon,md
Referer is no always preform check and my browser check script is run from the same server<br />
_________________________
Chuck S

DIVE IN AND VISIT ME:

Omegatron\'s Reefs

Administrator at ReefTalk

Top
#225872 - 10/10/02 05:57 PM Re: Browser Check [Re: sf49rminer]
Dave_L_dup1 Offline
Addict

Registered: 04/23/02
Posts: 1929
Loc: Virginia, USA
Could you try this?<br /><br />Edit browser_check.php and in function do_page3() at line 216, change:<br /><pre><font class="small">code:</font><hr>$results_display<br />$clock_comparison_display<br /><p><b>Click <a href='{$HTTP_SERVER_VARS['PHP_SELF']}'>HERE</a> to repeat the tests.</b></pre><hr><br />to<br /><pre><font class="small">code:</font><hr>$results_display<br />$clock_comparison_display<br />[:"red"]<p>referrer='{$HTTP_SERVER_VARS['HTTP_REFERER']}'<br /><br />referrer_should_be='$referrer_should_be'</p>[/]<br /><p><b>Click <a href='{$HTTP_SERVER_VARS['PHP_SELF']}'>HERE</a> to repeat the tests.</b></pre><hr><br /><br />Then copy/paste the output here, or send it to me privately.<br /><br />Thanks. <img src="/forum/images/graemlins/smile.gif" alt="" /><br />


Edited by Dave_L (10/10/02 06:01 PM)
_________________________
UBB.threads beta tester / threadsdev.com moderator
Software consulting services including UBB.threads problem resolution / installs / upgrades / customization.

Top
#225873 - 10/10/02 08:47 PM Re: Browser Check [Re: sf49rminer]
Dave_L_dup1 Offline
Addict

Registered: 04/23/02
Posts: 1929
Loc: Virginia, USA
Thanks, got your PM, the info was helpful.<br /><br />It's interesting that on your server, the query string portion of HTTP_REFERER was not passed.<br /><br />I guess I'll need to make the referrer test more flexible.<br /><br />One question: When you're viewing the postlist for a specific board within your UBB.threads, or viewing a specific thread, and you click the Search link, does it default to searching that specific board? UBB.threads (6.1.1) seems to use the query string portion of HTTP_REFERER to figure out which board to search, so I would think that would fail.


Edited by Dave_L (10/10/02 08:49 PM)
_________________________
UBB.threads beta tester / threadsdev.com moderator
Software consulting services including UBB.threads problem resolution / installs / upgrades / customization.

Top
#225874 - 10/11/02 05:05 AM Re: Browser Check [Re: joeuser]
omegatron Offline
Member

Registered: 04/05/01
Posts: 3440
Loc: abingdon,md
Nope not at all. When I click search it defaults to the forum I am viewing when viewing both a thread or postlist of the specific forum. Dave I gor your private message. I beleive I answered above. To be even more clear if I am in reefs and hit search I get reefs not all forums.


Edited by omegatron (10/11/02 04:57 PM)
_________________________
Chuck S

DIVE IN AND VISIT ME:

Omegatron\'s Reefs

Administrator at ReefTalk

Top
#225875 - 10/16/02 07:46 AM Re: Browser Check [Re: sf49rminer]
Dave_L_dup1 Offline
Addict

Registered: 04/23/02
Posts: 1929
Loc: Virginia, USA
Sorry for not repliying earlier, I just noticed your reply.<br /><br />Hmmmm .... I don't understand how the search can behave like that with the referrer test failing.<br /><br />But I've updated the script to version 1.2.0, in which I've split the referrer test into three tests. In your case, I would expect the first two referrer tests to pass, and the third to fail. The third test can be disabled in the config file if desired.
_________________________
UBB.threads beta tester / threadsdev.com moderator
Software consulting services including UBB.threads problem resolution / installs / upgrades / customization.

Top
#225876 - 11/13/02 09:46 AM Re: Browser Check [Re: joeuser]
Dave_L_dup1 Offline
Addict

Registered: 04/23/02
Posts: 1929
Loc: Virginia, USA
Updated to version 1.2.1. This is basically just a cosmetic fix.
_________________________
UBB.threads beta tester / threadsdev.com moderator
Software consulting services including UBB.threads problem resolution / installs / upgrades / customization.

Top
#225877 - 07/10/03 06:21 PM Re: Browser Check [Re: joeuser]
JoshPet Offline
I type Like navaho

Registered: 11/29/01
Posts: 11330
Loc: Charlotte, NC
Reposted here.
_________________________
Joshua Pettit
www.JoshuaPettit.com
My abilities are for hire.

Top
Page 2 of 2 < 1 2



Latest Posts
[7.2.1] - Naked shoutbox
by bellaonline
05/05/12 05:00 PM
[7.x] Stop Forum Spam Integration v0.4
by bellaonline
05/05/12 03:53 PM
Shout Box

(Views)Popular Topics
Known public proxy servers 1689885
Integrated Index Page (IIP) 5.3.1 555705
Finished-[6.5.2] Games Arcade Deluxe v1.9 501236
Integrated Index Page (IIP) 5.1.1 415112
TLD Bv2.1 Released - Threads Links Directory 396822
[6.0x] Who's Online 4.0.0 [Finished] 389412
Finished-[6.5.1] Integrated Index Page (IIP) 6.5 330423
Q & A 298663
Slash UBB 266936
[6.3.x] [beta] Hit Hack 2.0 227970
Forum Stats
13621 Members
59 Forums
37191 Topics
295716 Posts

Max Online: 686 @ 06/28/07 07:04 AM

 

 

 
fusionbb message board php hacks