Tips and Tricks HQ Support

Support site for Tips and Tricks HQ premium products

  • Home
  • Contact Us
  • Documentation
  • Forum Home
    • Forum
    • Forum Search
    • Forum Login
    • Forum Registration

Using source PDF file not accessible over HTTP

by

Tips and Tricks HQ Support Portal › Forums › WP PDF Stamper › Using source PDF file not accessible over HTTP

  • This topic has 4 replies, 2 voices, and was last updated 13 years, 9 months ago by ahoog.
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • August 2, 2011 at 2:26 pm #3958
    ahoog
    Member

    We purchased PDF Stamper so we could protect PDFs from ending up on various sharing sites. As such, when I specify the source PDF file to stamp, I do not want it to be accessible on the web. Instead, I’d like the PHP script to read the file from the web server locally (i.e. local file system), stamp it and save it to another web inaccessible directory on the serveer. We then wrap access to the file using some custom code. Is this possible? Thanks.

    August 2, 2011 at 2:44 pm #35036
    wzp
    Moderator

    How “into” custom code are you? User submits stamping job, that can be queued. A system cron job could then processes the request, stamp the file, and place into the appropriate directory. It’s not impossible, but it is beyond the support parameters of the product, so you would be exploring on your own.

    August 4, 2011 at 8:36 pm #35037
    ahoog
    Member

    Not opposed to cron at all…thought about doing that early on. Was going to look at your code but I think it’s protected. Can you advise how the system queues a request? I can then do the cron and stamping server side, especially if I can call your api with php command line. Thanks.

    August 4, 2011 at 9:18 pm #35038
    wzp
    Moderator

    Third (3rd) Party Integration Guide (HTTP GET Method)

    Third (3rd) Party Integration Guide (HTTP POST Method)

    Since the jobs would be running under the whatever UID you choose, you could probably use ACL to control access to the source and destination directories.

    August 4, 2011 at 9:31 pm #35039
    ahoog
    Member

    Thanks for the quick replies!

  • Author
    Posts
Viewing 5 posts - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.
Log In

Forum Related

  • Forum Home
  • Forum Search
  • Forum Registration
  • Forum Login

Support Related Forms

  • Contact Us
  • Customer Support
  • Request a Plugin Update
  • Request Fresh Download Links

Useful Links

  • Plugin Upgrade Instructions
  • WP eStore Documentation
  • WP eMember Documentation
  • WP Affiliate Platform Documentation
  • Tips and Tricks HQ Home Page
  • Our Projects

Quick Setup Video Tutorials

  • WP eStore Video Tutorial
  • WP eMember Video Tutorial
  • WP Affiliate Platform Video Tutorial
  • Lightbox Ultimate Video Tutorial

Our Other Plugins

  • WP Express Checkout
  • Stripe Payments Plugin
  • Simple Shopping Cart Plugin
  • Simple Download Monitor

Copyright © 2025 | Tips and Tricks HQ