Jump to content

[SOLVED] Str_replace in a file


ilikemath2002

Recommended Posts

The file is .htaccess anti-leech, normally I would just create the file AFTER I added the URL to anti-leech, but I thought this would be easier:

 

In this file, I am trying to replace "replace" with a URL:

RewriteEngine on
RewriteCond %{HTTP_REFERER} !^http://(www\.)?replace/ [NC]
RewriteRule \.(jpg|jpeg|png|gif|swf|bmp|ico|)$ - [NC,F,L]

 

Maybe you can see how you helped me with the other thread(to CV).

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.