|
I don't use wordpress but this may help.
#!/usr/bin/perl
print "content-type: text/html\n\n";
$filname = "some/file/on/server/path.ext";
open(DD, "$filename");
@dd = <DD>;
close(DD);
$newdd = join("", @dd);
$newdd =~ s/out.php/exit.php/ig;
open(DD, ">$filename");
print DD $newdd;
close(DD);
print "completed";
exit;
Change the yellow stuff to the actual file.
|