Jump to content

AyKay47

Members
  • Posts

    3,281
  • Joined

  • Last visited

  • Days Won

    1

Everything posted by AyKay47

  1. Which isn't necessary because the new URL doesn't match the expression. you're right in this case it's not needed. Just a habit.
  2. re-read requinix post, he gives an answer to this.
  3. root dir is fine, requinix rewriteCond was an example, RewriteCond %{REQUEST_URI} ^/(get_categories|...)\? It was not meant to be copied verbatim, if you do not have any other conditions to rewrite, leave it as get_categories instead of (get_categories|...) remove the extra newlines in the .htaccess, they should not be there. you have conflicting rewriterules as well, quite frankly the one you added makes no sense to me as to why it is there, use the rewriterule that requinix provided.
  4. should, can you post the code that you are using please.
  5. $percent = ($connected / $configured) * 100;
  6. The environment variable is in place to make sure multiple rewrites do not happen.
  7. the top 5 rules might be rewritten several time unexpectedly. Be careful when using the dot meta-character in rewrite rules, as it matches any character. I'll give you a hint, you will want to use the ^$ meta-characters to distinguish the beginning and end of the pattern.
  8. Perhaps something like this. RewriteEngine On RewriteCond %{ENV:x} !yes RewriteRule ^verify/([a-z0-9]+)?$ user-verify.php?key=$1 [NC, E=x:yes]
  9. The notices indicate that the form has not been submitted yet and therefore the $_GET data does not exist most likely. You should be checking for the indices existence first by using isset. if(isset($_GET['userlogin'])) { //true block } Never use $_GET when passing sensitive data.
  10. And that's why it's important to post "solutions". nah
  11. AyKay47

    New Video Tag

    The HTML5 <video> supports MP4, WebM, and Ogg video formats. I believe that youtube uses the FLV format.
  12. One of the included files is outputting data to the client before attempting to modify the headers. This is not allowed.
  13. heh.. well i'm referring to the U.S when I make that statement. Not sure what hoops you have to go through in other places.
  14. Valid point, I never said it was right or legal. But as you said, you can't patent code and it's easy to modify someone else's code and call it your own without any repercussions. *sigh*
  15. I just showed you what you need to add to your stylesheet, search google for CSS reset as well.
  16. it's a plugin basically you can tweak it however you want, add your own classes etc.
  17. this comes from the browser default stylesheet, which you should be overriding with a CSS reset: * { padding: 0; margin: 0; etc... }
  18. someone could easily remove that comment and tweak the code, this kind of stuff is tricky to get into.
  19. remove the top margin from the header contained in div#adbar
  20. have you tried SELECT DISTINCT *
  21. http://dev.mysql.com/doc/refman/5.0/en/distinct-optimization.html
  22. you have specified an alias for the tbl resource ( l ), use that. l.Resource_ID
  23. this is a poor check, just use filter_var with the FILTER_VALIDATE_EMAIL flag.
  24. yah that's what I was thinking. In the WHERE clause you specify Resource_ID without a table identifier attached. A table identifier is needed from the table it's coming from.
×
×
  • 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.