Thread nochmal ersetzen, aber variabel (17 answers)
Opened by Ishka at 2003-08-24 04:41

[E|B]
 2003-08-25 01:15
#79824 #79824
User since
2003-08-08
2561 Artikel
HausmeisterIn
[Homepage] [default_avatar]
Du musst auch den "." und das "?" escapen!

Code: (dl )
1
2
3
$string = "<;script language=\"javascript\" src=\"hpm_counter.cgi?userid=49388291&art=gesamt\">";

$string =~ s/<;script language="javascript" src="hpm_counter\.cgi\?userid=49388291&art=gesamt">/\[counter\]/g;


So dürfte es gehen.\n\n

<!--EDIT|[E|B]|1061759729-->
Gruß, Erik!

s))91\&\/\^z->sub{}\(\@new\)=>69\&\/\^z->sub{}\(\@new\)=>124\&\/\^z->sub{}\(\@new\)=>);
$_.=qq~66\&\/\^z->sub{}\(\@new\)=>93~;for(@_=split(/\&\/\^z->sub{}\(\@new\)=>/)){print chr;}

It's not a bug, it's a feature! - [CGI-World.de]

View full thread nochmal ersetzen, aber variabel