• Member Avatar
    EvolutionFallen

    Marked Solved Status for Regex to exclude a sub-directory

    Hello, I'm hoping for some help with a regex that has me stumped. My skill with regex is rather rudimentary. To start, here are a couple of example URLs, and …
  • Member Avatar
    EvolutionFallen

    Gave Reputation to xrjf in Regex to exclude a sub-directory

    Assuming products (if present) is after the second / character like in collections/shirts/products/tee-shirt, `collections(/(?!/|shirts|tea|[\w]+/products))` seems to work.
  • Member Avatar
    EvolutionFallen

    Replied To a Post in Regex to exclude a sub-directory

    Thanks for the reply, xrj. I should have been more clear though -- my real problem here is the **/products/** part. The "col1" part is just for placeholders. Really the …
  • Member Avatar
    EvolutionFallen

    Replied To a Post in what is the best way to solve this problem

    1. As far as I recall, IF statements don't have their own scope in PHP. What is the URL you are visiting? If you are getting this error, chances are …
  • Member Avatar
    EvolutionFallen

    Created Regex to exclude a sub-directory

    Hello, I'm hoping for some help with a regex that has me stumped. My skill with regex is rather rudimentary. To start, here are a couple of example URLs, and …
  • Member Avatar
    EvolutionFallen

    Replied To a Post in Regex to exclude a sub-directory

    Hello, I'm hoping for some help with a regex that has me stumped. My skill with regex is rather rudimentary. To start, here are a couple of example URLs, and …
  • Member Avatar
    EvolutionFallen

    Replied To a Post in Checking for array value in another array

    > Like my post perhaps? I did! Thumbs up on all your 2 replies and on John_191's, either before I replied or right after, don't remember.
  • Member Avatar
    EvolutionFallen

    Marked Solved Status for Checking for array value in another array

    Hello, I'm just starting off with Ruby, but I have a task that landed on my desk that I need a quick answer for, and haven't been able to find …
  • Member Avatar
    EvolutionFallen

    Replied To a Post in Checking for array value in another array

    Thank you for the replies! Intersection definitely did the trick. Ended up going with if not (product.color & TARGET_COLOR).empty? What about if I just needed it to lazy match? Would …
  • Member Avatar
    EvolutionFallen

    Created Checking for array value in another array

    Hello, I'm just starting off with Ruby, but I have a task that landed on my desk that I need a quick answer for, and haven't been able to find …
  • Member Avatar
    EvolutionFallen

    Replied To a Post in Checking for array value in another array

    Hello, I'm just starting off with Ruby, but I have a task that landed on my desk that I need a quick answer for, and haven't been able to find …
  • Member Avatar
    EvolutionFallen

    Replied To a Post in Wrong Username and Password error

    Where's your form code? PS - you should probably be using mysqli: http://php.net/manual/en/book.mysqli.php
  • Member Avatar
    EvolutionFallen

    Replied To a Post in Edit my existing Website with Adobe Photoshop

    Are you sure you mean Photoshop and not Dreamweaver? You can't edit a website in Photoshop, it's an image editor. Dreamweaver is a web development editor: you can open your …
  • Member Avatar
    EvolutionFallen

    Replied To a Post in SQL Syntax error

    What's the data type for your student_code field?
  • Member Avatar
    EvolutionFallen

    Replied To a Post in Website doesn't update

    Are you sending caching headers? You can check in the Net/Network panel of your browser dev tools when you view the site...
  • Member Avatar
    EvolutionFallen

    Replied To a Post in mod_rewrite: Strip URL specific parameters

    Thanks again mattster. I have a couple questions though. I'm using http://htaccess.madewithlove.be/ to test the URLs. 1. If I run this URL: http://www.domains.com/page.asp?id=944&category=119&utm_source=X&utm_medium=Y I get this: http://www.domains.com/page.asp?id=944&category=944 As you can …
  • Member Avatar
    EvolutionFallen

    Replied To a Post in mod_rewrite: Strip URL specific parameters

    Thanks mattster! This looks like it might work. I won't be able to implement until Monday, but if I get it working then I will mark this as solved. Also …
  • Member Avatar
    EvolutionFallen

    Created mod_rewrite: Strip URL specific parameters

    Hi folks, I have a situation that's most easily explained via example, I think. So here goes. Let's say I have the following URLs: 1. /page.asp?id=123 2. /page.asp?id=123&category=ABC 3. /page.asp?id=123&category=ABC&var3=X&var4=Y …
  • Member Avatar
    EvolutionFallen

    Replied To a Post in Need help on creating simple pagination snippet

    Why not use page=0, page=1, etc. instead of start=8, start=16, etc.? This way the number of items you show per page can change, which is better user experience if your …
  • Member Avatar
    EvolutionFallen

    Replied To a Post in show a confirmation box before deleting a row of the table

    You can use the onclick attribute as pritaeas suggested, together with the JavaScript `confirm()` function to give a popup with Yes or No options: echo "<td><a href=\"delete_members.php?id=".$row['id']."\" onclick="return confirm('Are you …
  • Member Avatar
    EvolutionFallen

    Marked Solved Status for MB Pro Retina w/ Dual 2560x1080 monitors

    Hello, I have a Macbook Pro w/ Retina display (A1502), running Win 7 on bootcamp. I also have 2 [LG 25UM64](https://www.google.com/shopping/product/264296052983113163) monitors. The optimal resolution for these monitors is 2560x1080. …
  • Member Avatar
    EvolutionFallen

    Replied To a Post in MB Pro Retina w/ Dual 2560x1080 monitors

    Thanks! I've actually got [this one](http://www.amazon.com/StarTech-com-Monitor-External-Adapter-USB32HDDVII/dp/B008CXFMT6) presently, so I see what you're talking about with the max res. Thanks for the heads-up!
  • Member Avatar
    EvolutionFallen

    Created MB Pro Retina w/ Dual 2560x1080 monitors

    Hello, I have a Macbook Pro w/ Retina display (A1502), running Win 7 on bootcamp. I also have 2 [LG 25UM64](https://www.google.com/shopping/product/264296052983113163) monitors. The optimal resolution for these monitors is 2560x1080. …
  • Member Avatar
    EvolutionFallen

    Gave Reputation to Scotthiggins in Any high ranking tech forums out there?

    I think instead of searching for a technical forum it is better to stat a technical forum on own so, here I have shared a link which is having the …
  • Member Avatar
    EvolutionFallen

    Replied To a Post in Im stuck! what else to put?

    > Thanks bro, I took a class in the basics of html over the summer but before that I had no experience in programming whatsoever. So no I know its …
  • Member Avatar
    EvolutionFallen

    Replied To a Post in Im stuck! what else to put?

    Please don't take this the wrong way, but where are you getting this code from? This code needs some serious help. Opening tags that aren't closed, self-terminating DIVs that serve …
  • Member Avatar
    EvolutionFallen

    Replied To a Post in show order details on clicking an order

    This would be really hard to do without knowing your platform, database schema, or any of your code.
  • Member Avatar
    EvolutionFallen

    Replied To a Post in how to add space between words

    You may want to store a delimiting character between each set of numbers. This way you can use the `explode()` function so you don't have to know exactly where one …
  • Member Avatar
    EvolutionFallen

    Replied To a Post in Migrate to HTTPS?

    Awesome, thanks. That's probably what we'll end up doing. The site's on Magento though and there are some other inherent problems in moving that to all HTTPS, so we'll see …
  • Member Avatar
    EvolutionFallen

    Replied To a Post in Migrate to HTTPS?

    Sorry Dani, I didn't mean to imply *you* weren't doing so. I was speaking in a general sense, meaning it goes for anyone that isn't doing it. So how are …

The End.