Need advice some regarding the some php code [help]

Discussion in 'Programming' started by Axali, Jul 18, 2011.

  1. SolarSoul

    SolarSoul Peon

    Messages:
    2
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Hi.

    Here is the code:
    
    $url	= trim($url);
    $pos_start	= strrpos($url, '/') + 1;
    $pos_finish	= strrpos($url, '.');
    $text	= substr($url, $pos_start, $pos_finish - $pos_start);
    
    PHP:
     
    SolarSoul, Jul 19, 2011 IP
  2. Axali

    Axali Peon

    Messages:
    75
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    than you SolarSoul
     
    Axali, Jul 19, 2011 IP