Jump to content

StoneColdMagic

New Members
  • Posts

    2
  • Joined

  • Last visited

Everything posted by StoneColdMagic

  1. I'm not sure what you mean. That is the real code. The only thing I didn't put there is this: echo $idPos; It's not finding /v/ in the string and therefore nothing echos out. However, if you search for any other part of that url, it works just fine. It just won't see "/v/" Any help would be appreciated. Thanks, Jeff
  2. Hey everyone! Any ideas why $idPos below is returning zero/false? I've tried '//v//', '\/v\/' (backslash, forward slash, v, backslash, forward slash) I can't seem to get it to work. $url = 'https://www.youtube.com/v/9hYj_PFZGug'; $idPos = stripos($url, '/v/'); Thanks, Jeff
×
×
  • 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.