Jump to content


  • Posts

  • Joined

  • Last visited

Contact Methods

  • AIM
  • Website URL

Profile Information

  • Gender
    Not Telling

devknob's Achievements


Member (2/5)



  1. Hi, I just inherited a huge mess in the form of 5 css files =) -- Is there a program that will tell me what CSS im not using? I need to cut the fat.
  2. Hi. Im using gmdate to convert seconds to Days/Hours/Minutes/Seconds and its correct except for the number of days it calculates. Does anyone know why this would happen? $secs = 432000; // This is 5 days exact $time = gmdate('d:H:i:s',$secs); //This returns 06:00:00:00 when it should return 05:00:00:00 Does anyone know why this would happen?
  3. If I could replace dreamweaver, I think I could cut WINE and Windows out of my life. Also, im working at a place that just uninstalled dreamweaver from everyones computers. I know MonoDevelop is a great IDE and as far as i've seen, most of the PHP IDE's suck. Does anyone know how to configure MonoDevelop to work well with PHP? Can't really find anything useful on goog yet.
  4. Yeah Im leaning toward removing... since nobody knows what that filter is about.. thanks =)
  5. The website is "thiswebsite.com" and its filtering out all domains "{blank}" "thiswebsite\.com$" ? Doesnt make sense....
  6. Does anyone good with regular expressions understand what this is saying? (Google Analytics Filter) (see attached img) It seems to me that it says Exclude traffic from just http://thissite.com (the main domain we're tracking)- but if there is more after the .com, I think it would show the traffic. Also see the empty drop down box? I'm not sure what effect that has on analytics. Anyone have a clue what this filter would do? This analytics install has been running for years and nobody seems to have questioned this. The site gets lots of traffic and there is nothing OBVIOUSLY wrong with it.
  7. Is there a way to do this without the wildcards?
  8. Ive found out that the nesting <IfModule> and <FilesMatch> works fine... fyi
  9. Also, can you nest <FilesMatch> inside <IfModule> ? Like <IfModule mod_expires.c> <FilesMatch something> ..stuff </FilesMatch> </IfModule>
  10. Kinda unable to try this right now but I cant find an example of using <FilesMatch> with multiple files without wildcards anywhere. Would something like this work? <FilesMatch "index.php" "config.php"> ...stuff </FilesMatch> or maybe <FilesMatch (index.php|config.php)> ...stuff </FilesMatch>
  11. Im using mod_proxy.c and curl in PHP to scan through some google search results and I was wondering if google can detect where the connections are originating from? If I use curl through a proxy to make the connection, is there any way google can tell what server is being used to make that connection through the proxy?
  12. Hi guys, I am creating a website that takes product feeds and am working on optimizing the table structure and feed import/update functionality. Id like to get some shopping feeds for any category that complies with Google's shopping specifications for feeds. The site is working and will soon be displaying product. Just message me on here with your feed url or an email address so we can get in touch. The site is for merchant services and is another product search engine with a twist. I'd post the url but im not launched. Need to play with some more big feeds =) Also, this will ensure your inclusion in the engine provided there is quality, free of charge for at least the first year. I am an SEO and will not be using blackhat techniques so you can rest assured the links [dofollow] you receive from me will be of a high quality.
  13. i got it working the dumb patchy way RewriteEngine On Options +FollowSymLinks Options All -Indexes RewriteBase /blog/ AddHandler text/css .css AddHandler application/x-javascript .js i put this in /blog/ still waiting for the right way using <directory> tho
  14. something else should be preventing it from working right? everything else works. RewriteEngine On Options +FollowSymLinks Options All -Indexes AddType application/x-httpd-php .php .xml RewriteBase / RewriteCond %{REQUEST_URI} !^/blog RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_URI} !\.+$ RewriteCond %{REQUEST_URI} !/$ RewriteRule ^(.*) http://thishorridsite.com/$1/ [R=301,L] RewriteCond %{REQUEST_FILENAME} !-f RewriteRule (.+)\.html?$ http://thishorridsite.com/ [R=301] RewriteRule ^engines/(.*)$ engines.php?query=$1 [L] RewriteRule ^lamits/(.*)$ lambodoorkits.php?query=$1 [L] RewriteRule ^radctors/(.*)$ beltronics.php?query=$1 [L] RewriteRule ^whels/(.*)$ wheels.php?query=$1 [L] RewriteRule ^whed/(.*)$ wheels-by-brand.php?query=$1 [L] RewriteRule ^(.*)/$ a3.php?query=$1 [L] ErrorDocument 400 /400.php ErrorDocument 401 /401.php ErrorDocument 403 /403.php ErrorDocument 404 /404.php ErrorDocument 500 /500.php # secure htaccess file <Files .htaccess> order allow,deny deny from all </Files> # deny access to evil robots site rippers RewriteCond %{HTTP_USER_AGENT} ^Anarchie [OR] RewriteCond %{HTTP_USER_AGENT} ^ASPSeek [OR] RewriteCond %{HTTP_USER_AGENT} ^attach [OR] RewriteCond %{HTTP_USER_AGENT} ^autoemailspider [OR] RewriteCond %{HTTP_USER_AGENT} ^Xaldon\ WebSpider [OR] RewriteCond %{HTTP_USER_AGENT} ^Xenu [OR] RewriteCond %{HTTP_USER_AGENT} ^Zeus.*Webster [OR] RewriteCond %{HTTP_USER_AGENT} ^Zeus RewriteRule ^.* - [F,L] #cache <ifModule mod_headers.c> Header unset ETag </ifModule> FileETag None ExpiresActive On ExpiresDefault "access plus 30 days" ExpiresByType image/gif "access plus 30 days" ExpiresByType image/png "access plus 30 days" ExpiresByType image/jpg "access plus 30 days" ExpiresByType text/css "access plus 30 days" ExpiresByType text/php "access plus 30 days" #does fuck all , 500 internal service error <Directory "/blog/"> AddHandler application/x-httpd-php .css AddHandler application/x-httpd-php .js </Directory> php_flag zlib.output_compression On
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.