Jump to content


New Members
  • Content Count

  • Joined

  • Last visited

Community Reputation

1 Neutral

About jay5r

  • Rank
  1. Avatars are spam? I can see where signatures could be spam, but I don't get how avatars are spam.
  2. I'd try this… RewriteCond %{HTTP_USER_AGENT} !MyApp RewriteRule ^.* http://mydomain.com/error.html [R=302] I think the most critical thing you were missing was the ! at the beginning of the pattern. That ! says "not"… You were matching the string, you needed to match all the ones that don't match the string. I think L is redundant if there's a redirect. And I always do R=302 (or R=301) so I know exactly what type of redirect is being done.
  3. The short answer to the OP's question is, "No, your cookies are not secure because you're only passing the first three parameters to the setcookie function. The other parameters are really important and should not be ignored"… bool setcookie ( string $name [, string $value = "" [, int $expire = 0 [, string $path = "" [, string $domain = "" [, bool $secure = false [, bool $httponly = false ]]]]]] ) $path – You'll probably want to set to '/' since you probably need your cookie available on all pages on your site. $domain – I'm not sure if you're using a subdomain, but set it to the
  4. Just joined. Checking things out. Been programming (obscure) relational databases for many years. Dabbled in PHP for a while and then started getting serious about PHP / MySQL 2-3 years ago. Developing a network of sites with Fat Free Framework.
  • 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.