ik heb hetvolgende:
$str = [IMG*]http://galleries.vinyamar.com/qUp/index.php?i=v&ip=-646327959&name=evanescence_group.jpg[*/IMG];
$start = strpos($str,"[IMG]") + 5; $end = strpos($str,"[/IMG]");
$url = substr($str,$start,$end-$start);
$url2 = "http://galleries.vinyamar.com/qUp/index.php?i=v&ip=-646327959&name=evanescence_group.jpg";
echo "dit is url: ".$url."<br />";
echo "dit is url2: ".$url2."<br />";
if ($url == $url2) {
echo "zelfde";} else {echo "niet zelfde";}
ik krijg terug.. niet zelfde..?? wie weet waarom??
* = omdat er anders een foto staat..
$str = [IMG*]http://galleries.vinyamar.com/qUp/index.php?i=v&ip=-646327959&name=evanescence_group.jpg[*/IMG];
$start = strpos($str,"[IMG]") + 5; $end = strpos($str,"[/IMG]");
$url = substr($str,$start,$end-$start);
$url2 = "http://galleries.vinyamar.com/qUp/index.php?i=v&ip=-646327959&name=evanescence_group.jpg";
echo "dit is url: ".$url."<br />";
echo "dit is url2: ".$url2."<br />";
if ($url == $url2) {
echo "zelfde";} else {echo "niet zelfde";}
ik krijg terug.. niet zelfde..?? wie weet waarom??
* = omdat er anders een foto staat..
[ Voor 28% gewijzigd door Verwijderd op 23-01-2004 16:39 ]