Skip to content
Permalink
Browse files

Initial commit

  • Loading branch information
RonnieSan committed Jul 17, 2018
0 parents commit bcc3852c1a0dad38d9819c98f31fcc25507c307f
Showing with 2,562 additions and 0 deletions.
  1. BIN .DS_Store
  2. BIN .hg/00changelog.i
  3. +1 −0 .hg/branch
  4. +2 −0 .hg/cache/branchheads
  5. +9 −0 .hg/cache/tags
  6. BIN .hg/dirstate
  7. +2 −0 .hg/hgrc
  8. +1 −0 .hg/last-message.txt
  9. +4 −0 .hg/requires
  10. BIN .hg/store/00changelog.i
  11. BIN .hg/store/00manifest.i
  12. BIN .hg/store/data/_instructions.txt.i
  13. BIN .hg/store/data/_sample/check-exists.php.i
  14. BIN .hg/store/data/_sample/index.php.i
  15. BIN .hg/store/data/_sample/jquery.min.js.i
  16. BIN .hg/store/data/_sample/jquery.uploadifive.min.js.i
  17. BIN .hg/store/data/_sample/uploadifive-cancel.png.i
  18. BIN .hg/store/data/_sample/uploadifive-image-only.php.i
  19. BIN .hg/store/data/_sample/uploadifive.css.i
  20. BIN .hg/store/data/_sample/uploadifive.php.i
  21. BIN .hg/store/data/_sample/~2e_d_s___store.i
  22. BIN .hg/store/data/change-log.txt.i
  23. BIN .hg/store/data/check-exists.php.i
  24. BIN .hg/store/data/index.php.i
  25. BIN .hg/store/data/jquery.uploadifive.js.i
  26. BIN .hg/store/data/jquery.uploadifive.min.js.i
  27. BIN .hg/store/data/license-commercial.txt.i
  28. BIN .hg/store/data/license-standard.txt.i
  29. BIN .hg/store/data/uploadifive-cancel.png.i
  30. BIN .hg/store/data/uploadifive-commercial/uploadifive-v1.0-commercial.zip.i
  31. BIN .hg/store/data/uploadifive-commercial/uploadifive/check-exists.php.i
  32. BIN .hg/store/data/uploadifive-commercial/uploadifive/index.php.i
  33. BIN .hg/store/data/uploadifive-commercial/uploadifive/jquery.uploadifive-v1.0.js.i
  34. BIN .hg/store/data/uploadifive-commercial/uploadifive/jquery.uploadifive-v1.0.min.js.i
  35. BIN .hg/store/data/uploadifive-commercial/uploadifive/license-commercial.txt.i
  36. BIN .hg/store/data/uploadifive-commercial/uploadifive/uploadifive-cancel.png.i
  37. BIN .hg/store/data/uploadifive-commercial/uploadifive/uploadifive.css.i
  38. BIN .hg/store/data/uploadifive-commercial/uploadifive/uploadifive.php.i
  39. BIN .hg/store/data/uploadifive-commercial/uploadifive/~2ehtaccess.i
  40. BIN .hg/store/data/uploadifive-image-only.php.i
  41. BIN .hg/store/data/uploadifive-standard/uploadifive-v1.0-standard.zip.i
  42. BIN .hg/store/data/uploadifive-standard/uploadifive/check-exists.php.i
  43. BIN .hg/store/data/uploadifive-standard/uploadifive/index.php.i
  44. BIN .hg/store/data/uploadifive-standard/uploadifive/jquery.uploadifive-v1.0.js.i
  45. BIN .hg/store/data/uploadifive-standard/uploadifive/jquery.uploadifive-v1.0.min.js.i
  46. BIN .hg/store/data/uploadifive-standard/uploadifive/license-standard.txt.i
  47. BIN .hg/store/data/uploadifive-standard/uploadifive/uploadifive-cancel.png.i
  48. BIN .hg/store/data/uploadifive-standard/uploadifive/uploadifive.css.i
  49. BIN .hg/store/data/uploadifive-standard/uploadifive/uploadifive.php.i
  50. BIN .hg/store/data/uploadifive-standard/uploadifive/~2ehtaccess.i
  51. BIN .hg/store/data/uploadifive-v1.0.3-commercial.zip.i
  52. BIN .hg/store/data/uploadifive-v1.0.3-standard.zip.i
  53. BIN .hg/store/data/uploadifive-v1.1.0-commercial.zip.i
  54. BIN .hg/store/data/uploadifive-v1.1.0-standard.zip.i
  55. BIN .hg/store/data/uploadifive.css.i
  56. BIN .hg/store/data/uploadifive.php.i
  57. BIN .hg/store/data/~2e_d_s___store.i
  58. BIN .hg/store/data/~2ehgtags.i
  59. +47 −0 .hg/store/fncache
  60. +1 −0 .hg/store/phaseroots
  61. BIN .hg/store/undo
  62. +1 −0 .hg/store/undo.phaseroots
  63. 0 .hg/undo.bookmarks
  64. +1 −0 .hg/undo.branch
  65. +2 −0 .hg/undo.desc
  66. BIN .hg/undo.dirstate
  67. +33 −0 .hgtags
  68. +6 −0 Instructions.txt
  69. BIN Sample/.DS_Store
  70. +2 −0 Sample/Dockerfile
  71. +15 −0 Sample/check-exists.php
  72. +11 −0 Sample/docker-compose.yml
  73. +54 −0 Sample/index.php
  74. +2 −0 Sample/jquery.min.js
  75. +881 −0 Sample/jquery.uploadifive.js
  76. +6 −0 Sample/jquery.uploadifive.min.js
  77. BIN Sample/uploadifive-cancel.png
  78. +66 −0 Sample/uploadifive-image-only.php
  79. +77 −0 Sample/uploadifive.css
  80. +35 −0 Sample/uploadifive.php
  81. BIN Sample/uploadifive.zip
  82. +32 −0 change-log.txt
  83. +15 −0 check-exists.php
  84. +53 −0 index.php
  85. +872 −0 jquery.uploadifive.js
  86. +6 −0 jquery.uploadifive.min.js
  87. +76 −0 license-commercial.txt
  88. +71 −0 license-standard.txt
  89. BIN uploadifive-cancel.png
  90. +66 −0 uploadifive-image-only.php
  91. BIN uploadifive-v1.2.2-commercial.zip
  92. BIN uploadifive-v1.2.2-standard.zip
  93. +77 −0 uploadifive.css
  94. +35 −0 uploadifive.php
BIN +8 KB .DS_Store
Binary file not shown.
BIN +57 Bytes .hg/00changelog.i
Binary file not shown.
@@ -0,0 +1 @@
default
@@ -0,0 +1,2 @@
97d40c516ac10981d66e52cb1ff61a27c1e425bf 34
97d40c516ac10981d66e52cb1ff61a27c1e425bf default
@@ -0,0 +1,9 @@
34 97d40c516ac10981d66e52cb1ff61a27c1e425bf 215bd46df902a18dec158407c21e03b36643a53a

25475730345ae2c288b0e4030f58d0ca64c12cad 1.0.4
74587938091b554caffc1c0903b69b852c586eaf 1.0.5
6a2589799c2a0083b2e03a60a96c9273aa350795 1.1.1
0000000000000000000000000000000000000000 1.0.2
e350f61d8d32ef81cc2a8ca595a8bf15634210a2 1.0.3
8746fd143f4fe6273a9124c67bc168dba09f11b8 1.1.0
f778c03a745139ca2c4812a2b03da50b0773e8c8 1.2.2
BIN +979 Bytes .hg/dirstate
Binary file not shown.
@@ -0,0 +1,2 @@
[paths]
default = ssh://uploadify_user@uploadify.com/Source/UploadiFive
@@ -0,0 +1 @@
Added tag 1.2.2 for changeset f778c03a7451
@@ -0,0 +1,4 @@
revlogv1
fncache
store
dotencode
Binary file not shown.
BIN +7.61 KB .hg/store/00manifest.i
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -0,0 +1,47 @@
data/uploadifive-standard/uploadifive/index.php.i
data/uploadifive-standard/uploadifive-v1.0-standard.zip.i
data/Sample/jquery.uploadifive.min.js.i
data/Sample/index.php.i
data/uploadifive-commercial/uploadifive/index.php.i
data/uploadifive-commercial/uploadifive/uploadifive.css.i
data/uploadifive-standard/uploadifive/uploadifive.php.i
data/.DS_Store.i
data/Sample/jquery.min.js.i
data/uploadifive.php.i
data/uploadifive-standard/uploadifive/license-standard.txt.i
data/uploadifive-cancel.png.i
data/check-exists.php.i
data/uploadifive-commercial/uploadifive/uploadifive-cancel.png.i
data/Sample/uploadifive.css.i
data/uploadifive-standard/uploadifive/uploadifive-cancel.png.i
data/uploadifive-commercial/uploadifive/jquery.uploadifive-v1.0.js.i
data/Sample/uploadifive-image-only.php.i
data/jquery.uploadifive.min.js.i
data/jquery.uploadifive.js.i
data/Sample/check-exists.php.i
data/uploadifive-v1.0.3-commercial.zip.i
data/Sample/.DS_Store.i
data/uploadifive-standard/uploadifive/check-exists.php.i
data/change-log.txt.i
data/license-commercial.txt.i
data/uploadifive-commercial/uploadifive/jquery.uploadifive-v1.0.min.js.i
data/uploadifive-v1.1.0-standard.zip.i
data/license-standard.txt.i
data/uploadifive-commercial/uploadifive/uploadifive.php.i
data/Sample/uploadifive.php.i
data/uploadifive-standard/uploadifive/jquery.uploadifive-v1.0.js.i
data/uploadifive.css.i
data/index.php.i
data/Sample/uploadifive-cancel.png.i
data/uploadifive-v1.0.3-standard.zip.i
data/uploadifive-standard/uploadifive/uploadifive.css.i
data/uploadifive-v1.1.0-commercial.zip.i
data/uploadifive-standard/uploadifive/.htaccess.i
data/uploadifive-commercial/uploadifive-v1.0-commercial.zip.i
data/uploadifive-image-only.php.i
data/uploadifive-commercial/uploadifive/license-commercial.txt.i
data/.hgtags.i
data/uploadifive-commercial/uploadifive/.htaccess.i
data/uploadifive-standard/uploadifive/jquery.uploadifive-v1.0.min.js.i
data/Instructions.txt.i
data/uploadifive-commercial/uploadifive/check-exists.php.i
@@ -0,0 +1 @@
1 5828842a18ee7a5c0345b5f940c184ab161ed60f
BIN +57 Bytes .hg/store/undo
Binary file not shown.
@@ -0,0 +1 @@
1 5828842a18ee7a5c0345b5f940c184ab161ed60f
No changes.
@@ -0,0 +1 @@
default
@@ -0,0 +1,2 @@
34
commit
BIN +979 Bytes .hg/undo.dirstate
Binary file not shown.
33 .hgtags
@@ -0,0 +1,33 @@
c77e7be9e3d84d8bb47743a7c9b48aa049561e9f 1.0.3
d8dadca986119479b72830d56c649ed355d89e49 1.0.2
c77e7be9e3d84d8bb47743a7c9b48aa049561e9f 1.0.3
0000000000000000000000000000000000000000 1.0.3
d8dadca986119479b72830d56c649ed355d89e49 1.0.2
0000000000000000000000000000000000000000 1.0.2
0000000000000000000000000000000000000000 1.0.3
d8dadca986119479b72830d56c649ed355d89e49 1.0.3
93bbe4acc739a4bd9e08b82dee0a54c271fdadda 1.0.4
93bbe4acc739a4bd9e08b82dee0a54c271fdadda 1.0.4
0000000000000000000000000000000000000000 1.0.4
0000000000000000000000000000000000000000 1.0.4
b5937da1c18caf4ec82549af3a5d1150a3eb039e 1.0.4
b5937da1c18caf4ec82549af3a5d1150a3eb039e 1.0.4
0000000000000000000000000000000000000000 1.0.4
0000000000000000000000000000000000000000 1.0.4
76a7904f2b27ed9277086874e0c2ade5a10d04fe 1.0.4
76a7904f2b27ed9277086874e0c2ade5a10d04fe 1.0.4
0000000000000000000000000000000000000000 1.0.4
0000000000000000000000000000000000000000 1.0.4
66431ee702e7cb9cebc5d94b2fa5cfb9419c4218 1.0.4
d8dadca986119479b72830d56c649ed355d89e49 1.0.3
0000000000000000000000000000000000000000 1.0.3
66431ee702e7cb9cebc5d94b2fa5cfb9419c4218 1.0.4
0000000000000000000000000000000000000000 1.0.4
0000000000000000000000000000000000000000 1.0.3
e350f61d8d32ef81cc2a8ca595a8bf15634210a2 1.0.3
0000000000000000000000000000000000000000 1.0.4
25475730345ae2c288b0e4030f58d0ca64c12cad 1.0.4
74587938091b554caffc1c0903b69b852c586eaf 1.0.5
8746fd143f4fe6273a9124c67bc168dba09f11b8 1.1.0
6a2589799c2a0083b2e03a60a96c9273aa350795 1.1.1
f778c03a745139ca2c4812a2b03da50b0773e8c8 1.2.2
@@ -0,0 +1,6 @@
Instructions for Sample Implementation

1. Upload all the files contained in the 'Sample' folder to the same location on your server.
2. Create a folder named 'uploads' in the root of your website with the permissions set to 755.
3. Navigate to the location you uplaoded the files to in your browser.
4. Enjoy! Contact us at support@uploadify.com if you have any questions.
BIN +6 KB Sample/.DS_Store
Binary file not shown.
@@ -0,0 +1,2 @@
FROM php:7.0-apache
COPY . /var/www/html/
@@ -0,0 +1,15 @@
<?php
/*
UploadiFive
Copyright (c) 2012 Reactive Apps, Ronnie Garcia
*/

// Define a destination
$targetFolder = '/uploads'; // Relative to the root and should match the upload folder in the uploader script

if (file_exists($_SERVER['DOCUMENT_ROOT'] . $targetFolder . '/' . $_POST['filename'])) {
echo 1;
} else {
echo 0;
}
?>
@@ -0,0 +1,11 @@
version: '3'

services:
uploadifive:
container_name: uploadifive
build:
context: .
volumes:
- .:/var/www/html
ports:
- '80:80'
@@ -0,0 +1,54 @@
<!DOCTYPE HTML>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>UploadiFive Test</title>
<script src="jquery.min.js" type="text/javascript"></script>
<script src="jquery.uploadifive.js" type="text/javascript"></script>
<link rel="stylesheet" type="text/css" href="uploadifive.css">
<style type="text/css">
body {
font: 13px Arial, Helvetica, Sans-serif;
}
.uploadifive-button {
float: left;
margin-right: 10px;
}
#queue {
border: 1px solid #E5E5E5;
height: 177px;
overflow: auto;
margin-bottom: 10px;
padding: 0 3px 3px;
width: 300px;
}
</style>
</head>

<body>
<h1>UploadiFive Demo</h1>
<form>
<div id="queue"></div>
<input id="file_upload" name="file_upload" type="file" multiple="true">
<a style="position: relative; top: 8px;" href="javascript:$('#file_upload').uploadifive('upload')">Upload Files</a>
</form>

<script type="text/javascript">
<?php $timestamp = time();?>
$(function() {
$('#file_upload').uploadifive({
'auto' : false,
'checkScript' : 'check-exists.php',
'fileType' : 'image/png',
'formData' : {
'timestamp' : '<?php echo $timestamp;?>',
'token' : '<?php echo md5('unique_salt' . $timestamp);?>'
},
'queueID' : 'queue',
'uploadScript' : 'uploadifive.php',
'onUploadComplete' : function(file, data) { console.log(data); }
});
});
</script>
</body>
</html>

Large diffs are not rendered by default.

0 comments on commit bcc3852

Please sign in to comment.
You can’t perform that action at this time.