Thread: wordpress help
View Single Post
Old 10-09-2007, 12:28 PM  
sortie
Confirmed User
 
sortie's Avatar
 
Industry Role:
Join Date: Mar 2007
Posts: 7,771
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.
__________________
sortie is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote