Jump to content

LiliVG

Newly Registered
  • Posts

    4
  • Joined

  • Last visited

Contact Methods

  • Website URL
    http://sundrania.com

Profile Information

  • Gender
    Female

LiliVG's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. Ok, I got it, I changed $final = $url['0'] . $url['1']; to $final = $url['0'] .','. $url['1']; and that works. Explode() seems to use the character as a divider, and removes it from the results, at least in the first case with 0 it does. Anyways, it works, thanks!
  2. This looks interesting, I think I'll give that a shot! Very close! It does *almost* what I need. I cuts off everything including and after the second comma, BUT, it removes the first comma, which I need...
  3. This looks interesting, I think I'll give that a shot!
  4. This is how far I've gotten. So far, $page_code would print something like "read.php?1,2,2" $page_url = $_SERVER['HTTP_REFERER']; $parse = parse_url($page_url); $path = $parse['path']; $query = $parse['query']; $page_code = $path.$query; I want to cut off anything including and after the second comma, how would I do that so I end up with $page_code == "read.php?1,2" ?
×
×
  • 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.