Jump to content

AyKay47

Members
  • Posts

    3,281
  • Joined

  • Last visited

  • Days Won

    1

AyKay47 last won the day on November 18 2012

AyKay47 had the most liked content!

About AyKay47

  • Birthday 09/04/1988

Profile Information

  • Gender
    Male
  • Location
    East Coast, U.S.
  • Age
    24

Contact Methods

  • Yahoo
    dfugi9488@yahoo.com

AyKay47's Achievements

Member

Member (2/5)

25

Reputation

  1. This is pseudo code based off of what you stated, it will needed tweaked most likely. RewriteCond %{REQUEST_FILENAME} !-f RewriteRule ^/?(index)(?:/(.*))?$ index.php?action=$1&sub=$2 Now this will serve the file like so: index.php?action=index&sub=a1/a2/a3/a4/a5 so you will have to do some tweaking on your end to handle the changed delimiter.
  2. ~\d{2}\/\d{2}\/(?:200[6-9]|2010)~ restrict the year to ensure that they were born between 2006-2019 (2-6 years ago). Note that this certainly isn't perfect, but it will get you started.
  3. I don't quite understand your logic.
  4. can you post the relevant code please. Most likely you don't need a regex for this.
  5. not sure why you are using a class either..
  6. heh... Psycho, my thoughts are that the OP stated he is grabbing files from a directory and looping through them to display them each in a new tbl row. I'm thinking he can use glob to grab all of the .jar files from the directory and foreach through them that way, something like this: Unless one of the files happens to be named .JAR, .Jar, etc. Then, using "*.jar" in the glob() function will not work. glob() doesn't accept true regex expressions, but you can build a case-insensitive expression using the function I posted above. ah, just noticed the edit to your thread, yes that should work, any clue what the non-deprecated function is now, if one exists?. But again, until the OP responds, we can really only guess at the actual logic and if this will work in this case.
  7. heh... Psycho, my thoughts are that the OP stated he is grabbing files from a directory and looping through them to display them each in a new tbl row. I'm thinking he can use glob to grab all of the .jar files from the directory and foreach through them that way, something like this: ?> <table> <?php foreach(glob("/path/to/dir/*.jar") as $filename) { echo "<tr><td>".$filename."</td>"; echo "<td><a href='index.php?dp=".$filename."'>Disable Plugin</a></td></tr>"; } ?> </table> then again, I can only guess on the actual logic at this point.
  8. I don't understand the issue, please post the relevant code as well.
  9. I didn't notice that the parent div #nav is set to a fixed position, so using absolute positioning on li.contact is fine, since the entire parent div will not move when scrolled.
  10. Do you want the <li> to stay in the bottom left of the screen even when the page is scrolled, or just until the page is scrolled?
  11. If you want a fixed position, use the fixed value of the position property. Like so: http://jsfiddle.net/H5McR/ So if the user scrolls down, that button will always be displayed in the bottom left of the screen.
  12. I came into this thread late, so I can't say that I know exactly what you are trying to do. But you don't want to intermingle php and js like that, if you want to grab certain values from the DOM, use DOM
  13. the code I provided will alert the grabbed text for each span.
  14. 1. there are multiple elements that need to be grabbed, your method will only grab the last element. $(".labelelementvalue").each(function(i,e) { alert(i + ': ' $(this).text()); // or $(this).html() }); is what you want (above is pseudo code) 2. .innerHTML() is not a jquery function, use either .text() of .html();
×
×
  • 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.