Git Product home page Git Product logo

Comments (4)

GoogleCodeExporter avatar GoogleCodeExporter commented on August 15, 2024
There are 2 ways of dealing with this: 

1)
- create a subfolder where to store codes temporarily
- each code is generated and saved with unique name indicating it's contents. 
perhaps based on a MD5 of the contents?
- these entries should be cleaned-up periodically, as it is a potential DoS 
source. 
Or the script, on each run, should do the clean-up, by deleting any generated 
files, olders first, so that only a number of $cnt_qr_code files exist at any 
one time.

2) the actual qr code generation be live, and the IMG tag in the page call this 
script, which returns the contents of the QR code image. 
This can increase CPU load on the server and be another type of DoS if not 
implemented properly. Perhaps locking? 


Original comment by andrixnet on 1 Apr 2014 at 2:54

from opencaching-pl.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 15, 2024
Issue 66 has been merged into this issue.

Original comment by wloczynutka on 11 Apr 2014 at 9:25

from opencaching-pl.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 15, 2024
The QR code page features a possibly hardcoded example URL 
http://opencaching.pl/viewcache.php?wp=OP3C90

The example URL should be generated from $absolute_server_URI.

The image is a sample label with hardcoded opencaching.pl text as pixels. 
The image template used for generating this label should follow a similar 
structure as statpics, that is have several label images available and user 
select which one to use. Among others, I'd like to have a pure QR code image, 
no fancy anything around it. 

Also, a link could be added to cache listing page to generate a qr code with 
one click, rather then copy paste the URL. 

Original comment by wloczynutka on 11 Apr 2014 at 9:25

from opencaching-pl.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 15, 2024
Hardcoded links are solved. Every node can make his own link or image via 
settings.inc.php.
Example is in settingsDefault.inc.php.

Original comment by [email protected] on 3 Dec 2014 at 6:29

from opencaching-pl.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.