Help for this page

Select Code to Download


  1. or download this
    my $replacement= '\t<?php include(\$_SERVER['DOCUMENT_ROOT'].\"\/inclu
    +des\/footer.php\"); ?>\n\n';
    
    s{ </div> .*? \K (?=</div>) }
     { $replacement }
     x;
    
  2. or download this
    #!/usr/bin/perl
    use strict;
    ...
       $filecontents =~ s { </div> .*? \K (?=</div>) } { $replacement } x;
       print $filecontents;
       }