Comments (2)
You can try make this changes (I have not test it, but it should work):
https://github.com/ziggi/zimg-host/blob/master/upload.class.php#L71
$new_name = hash('crc32b', microtime() . $urls_array[$i] . rand(0, 9999)) . '.' . $this->_allowed_types[ $array_result[$i]['type'] ]['file_format'];
https://github.com/ziggi/zimg-host/blob/master/upload.class.php#L142
$new_name = hash('crc32b', microtime() . $files[$i]['name'] . $files[$i]['tmp_name'] . rand(0, 9999)) . '.' . $this->_allowed_types[$type]['file_format'];
I will make those changes later.
from zimg-host.
Tested and working. Thanks!
from zimg-host.
Related Issues (20)
- prevent upload links from your domain
- columns css bug
- xss
- Box at the end that contains all the links
- Drop file upload HOT 1
- Remove jQuery and jQuery.Forms HOT 1
- Javascript file validation
- New design template HOT 1
- Password protect upload? HOT 2
- Not Showing correct links HOT 17
- If there is a wordpress plug-ins on the better. HOT 1
- BB Code HOT 2
- Button to copy HOT 1
- Button "FILE" HOT 1
- Is their a way to customize it? HOT 1
- img.ziggy.org is down HOT 3
- When I upload the image, I can access it, but in a few days I will prompt 404.
- Can't upload anything from URL
- doesnt do anything when i try to upload
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from zimg-host.