
05.03.2009, 16:10
|
|
Новичок
Регистрация: 29.04.2008
Сообщений: 6
С нами:
9492143
Репутация:
5
|
|
PHP код:
<?php
$source =<<<EOF
<a href="javascript:if(confirm('http://teensexmania.com/jump.php?account=12 \n\nThis file was not retrieved by Teleport Pro, because it is addressed on a domain or path outside the boundaries set for its Starting Address. \n\nDo you want to open it from the server?'))window.location='http://teensexmania.com/jump.php?account=12'" tppabs="http://teensexmania.com/jump.php?account=12"><IMG height=193 alt="Teen Sex Movs" src="tsm2.jpg" tppabs="http://teenmegaworld.com/index_files/tsm2.jpg" width=218 border=0></a>
EOF;
$start = strpos($source, 'jpg" tppabs=') + 12;
$prom = substr($source, $start);
$finish = '<a href='.$prom;
echo $finish;
?>
Без регулярных выражений, возможно, не очень красиво... но задачу поставленную выполняет 
|
|
|