Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8478171
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 10, 20262026-06-10T18:40:22+00:00 2026-06-10T18:40:22+00:00

I making a simple script to add a watermark image to all image files

  • 0

I making a simple script to add a watermark image to all image files in directory.

So, I have .htaccess:

AddHandler watermarked .jpg 
AddHandler watermarked .jpeg 
AddHandler watermarked .gif 
AddHandler watermarked .png 

Action watermarked /spimg/vitowatermark.php 

So, now on each image request from this directory, vitowatermark.php is working.

How can I get source image file, user requested from my PHP script, to put watermark on it and generate answer?

Thanks.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-10T18:40:24+00:00Added an answer on June 10, 2026 at 6:40 pm

    Cool, I find answer to this question myself.

    $filename =  $_SERVER["PATH_TRANSLATED"];
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm making a simple PHP script which lets the user upload an image. These
I am making a simple website and am writing a gradle build script that
I am making a simple timer app. I have a uitable with multiple rows.
I'm making a pretty simple script which takes the following parameters: -p --port integer,
I'm making a simple jQuery script that will allow you to change something on
I am making a simple text and script editor with code highlighting. For that
I have a simple script that should cause one of three divs to be
I am making a cross-domain JSON(P) call by using JavaScript to add a <script>
I've been working on making a simple script to solve for variables (ex: Find
i have this simple script: function paginateUsers(page){ get( _config_remote_host+'/users?page='+page,function(json){ json = JSON.parse(json); var _html

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.