Something
public php v1 · immutablefunction photo () { if ($this->page["Title"] == "") $this->openpage ("Title"); $tag_s = strpos ($this->page["Title"], "<a name=\"poster\""); if ($tag_s == 0) return FALSE; $pos_a = substr($this->page["Title"],$tag_s); $tag_s = strpos ($pos_a, "src=\""); $pos_b = substr($pos_a,$tag_s+5); $tag_e = strpos ($pos_b, "\""); $this->main_photo = substr ($pos_b, 0, $tag_e); return $this->main_photo; }