iEntry 10th Anniversary RSS Newsletter Advertising
Visit Twellow.com
Text: Decrease Font Size Increase Font Size | Print Print Article | Share: Delicious Digg StumbleUpon Post to Twitter Post to Facebook
CommentThursday, April 29, 2004

HTACCESS Wrappers with PHP

10 Comments

Your watermark works

Your watermark works perfectly. Thanks for the script!

great info

thanks for the info about the htaccess file.

yeh

It was very spotty as far as working. But great effort

doesn't

doesn't work!!!!!!!!!!!!!!!!!!!!!!!!!!

The script does work but..

The script does work but.. you need to do the following:

1) The 'wrapper.php' script is missing the PHP end tag parser. In other words add the following to the end of the script:

?>

2) The .htaccess file requires the full webserver parth to the wrapper directory. In other words if the wrapper is located in http://example.com/test/ then the line:

Action watermarked /watermark/wrapper.php

should be:

Action watermarked /test/wrapper.php

3) Also comment out the first line in wrapper.php:

phpinfo(); die()

 

Brian

 

This doesnt work

 This doesnt work in Apache Web server v 2.2.8 PHP / 5.2.5. Any reasons?

This can work but

This can work but there can be problem with this code on php files that are on an include() function like on most cms systems right?

But this is very helpful on most sites that are using html.

Good code!

 

Thanks for sharing..

Not Working

This is not working at all no effect on the pages

i tried it at http://pakistaniidol.net

tortilla wrap

used for hosting services? hehe..

your code can without problem be overriden by a custom .htaccess made by the user.. even if you have in root, they can do an override........... -_-

watermark

Hi.. I tried to use your watermark script but when I upload the fies wrappe.pp, htacess and the watermark.png...

All of the photos on the imagesa are suddely cannot be access anymore. They just displayed as box with X denoting that it's not accessible

It only happens everytime the htaccess is in folder... whenever delete it the images canbe viewed agai but there is no watermark

Plese help me on this...

My emal is j1concept@gmail.c

best regards,

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

Post new comment

The content of this field is kept private and will not be shown publicly.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Lines and paragraphs break automatically.
CAPTCHA
This question is for testing whether you are a human visitor and to prevent automated spam submissions.
2 + 11 =
Solve this simple math problem and enter the result. E.g. for 1+3, enter 4.
SEARCH
Popular WPN Business Resources












Subscribe to WebProNews


Send me relevant info