├── .htaccess
├── ARW Scripts.url
├── README.md
├── _setup-instructions.txt
├── admin
└── index.html
├── adult-warning.html
├── clean-up.php
├── config.php
├── contact.html
├── db_connect.php
├── delete.html
├── enter-password.html
├── faq.html
├── fileUpload.swf
├── footer.php
├── function-library.php
├── gallery_img_handler.php
├── header.php
├── images
├── bottom-left-main.jpg
├── bottom-right-main.jpg
├── dashed-line.jpg
├── index.html
├── main-bg.jpg
├── main-logo.jpg
├── no-hotlinking.gif
├── sub-bottom.jpg
├── sub-top.jpg
├── tab-left-off.jpg
├── tab-left-on.jpg
├── tab-mid-off.jpg
├── tab-mid-on.jpg
├── tab-right-off.jpg
├── tab-right-on.jpg
├── top-bg-main.jpg
├── top-left-main.jpg
├── top-right-main.jpg
└── watermark.png
├── index-multi-result.html
├── index-multi-upload.html
├── index.html
├── js
└── animatedcollapse.js
├── logs
└── index.html
├── offline
├── no-hotlinking.png
├── original-design.png
├── removed.png
└── watermark.png
├── php.ini
├── process-multi-upload.php
├── recent.html
├── scopbin
└── 911006.php
├── set-pass.php
├── sql
└── imagehost.sql
├── storage
├── index.html
└── originals
│ ├── index.html
│ └── removed.jpg
├── styles.css
├── tos.html
├── view-image.html
├── view-pic-img.html
├── view-pic-original.html
└── view-pic.html
/.htaccess:
--------------------------------------------------------------------------------
1 | AddType application/x-httpd-php .html
2 | php_flag register_globals on
3 | RewriteEngine on
4 | RewriteRule ^thumb-(.*).jpg$ view-image.html?img=$1&w=160&h=160 [QSA]
5 | RewriteRule ^showpic-(.*)/(.*)$ view-pic.html?img=$1 [QSA]
6 | RewriteRule ^download-(.*)/(.*)$ view-pic-original.html?img=$1&dl=1 [QSA]
7 | RewriteRule ^showoriginal-(.*)/(.*)$ view-pic-original.html?img=$1 [QSA]
--------------------------------------------------------------------------------
/ARW Scripts.url:
--------------------------------------------------------------------------------
1 | [InternetShortcut]
2 | URL=http://www.arwscripts.com/
3 | IDList=
4 | [{000214A0-0000-0000-C000-000000000046}]
5 | Prop3=19,2
6 |
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 |
Reservo - Image Hosting Script Free
2 |
3 | Setup and manage your own image sharing service with Reservo - Image Hosting Script Free.
4 |
5 | About Reservo - Image Hosting Script Free
6 | Reservo - Image Hosting Script Free is the initial version of the premium image sharing script Reservo available at Reservo.co.
7 |
8 | This is a community based release that is supplied without support or liability. You are free to use the image sharing script as you wish. The only restriction to this PHP script is that this README file must not be edited or deleted.
9 |
10 | Features:
11 | - Multiple Uploader Tool now added.
12 | - Upload progress indicator.
13 | - Choose to use single or multi uploader as default via config.
14 | - Option to protect images with a password once uploaded.
15 | - Set watermark on every uploaded image, inc alpha and positioning.
16 | - Unique delete link provided to the uploader to remove any images.
17 | - New 'friendly' urls on image pages/image downloads.
18 | - Written in php/mysql.
19 | - All pages are created using Apaches mod-rewrite so any uploaded images all look like static pages within the search engines.
20 | - Automatic generation of thumbnails along with 'copy & paste' code for the user.
21 | - Automatic resize of images.
22 | - Validation of duplicate content to stop same IP uploading same image multiple times.
23 | - Basic admin area to approve/decline images. Images can also be approved as adult.
24 | - Adult images display a warning message before user can view them.
25 | - Total view for each image.
26 | - Recent uploads page for public approved images.
27 | - Date added, original filesize and description displayed on each image.
28 | - Images which have not been viewed within 60 days (can be amended) are deleted.
29 | - Hotlinking blocked by default.
30 | - Max filesize, permit hotlinking and days to keep images can all be set via the config scripts.
31 | - Basic design with original fireworks files included.
32 | - Ability to display ads depending on whether an image is adult or not.
33 |
34 | Requirements
35 | - php 4.x
36 | - mysql
37 | - mod rewrite module on apache
38 | - gd library with GIF write support
39 | - HD/BW requirements will vary on your traffic, scripts require about 100kb.
40 |
41 | Installation
42 | Full instructions are given in _setup-instructions.txt file found within the repository.
43 |
44 | Contributions
45 | If you'd like to contribute to the project, please contact us via the github project https://github.com/mfscripts/Reservo-Image-Hosting-Script-Free
46 |
47 | License
48 | Reservo Image Hosting Script Free is copyrighted by MFScripts and is released under the MIT license. You are free to use the image sharing script as you wish. The only restriction to this PHP script is that this README file must not be edited or deleted.
49 |
50 | Support
51 | This code is released without any support and as-is. Any support requests on this version will be removed. For community driven support please use the github project https://github.com/mfscripts/Reservo-Image-Hosting-Script-Free
52 |
--------------------------------------------------------------------------------
/_setup-instructions.txt:
--------------------------------------------------------------------------------
1 | Setup Instructions:
2 |
3 | - Upload the main zip file to your hosting area.
4 | - Unzip the zip file ensuring all folders are kept.
5 | - Amend config.php with your sitename, siteurl and siteemail along with other optional amendments.
6 | - Modify the permissions on the following:
7 | storage => CHMOD 777
8 | storage/originals => CHMOD 777
9 | logs => CHMOD 777
10 | - Create a new database in mysql.
11 | - Import the .sql file stored within the sql directory.
12 | - Update db_connect.php in the root to connect correctly to your mysql database.
13 | - Add a http username/password to the admin directory.
14 |
15 | You should now be set to go!
16 |
17 | NOTE: If you receiving an 'Internal Server Error' when you try and load the site, it's probably because you have phpsuexec installed. You can resolve this error by removing the line 'php_flag register_globals on' from the .htaccess file within the root.
18 |
19 | Check out https://reservo.co/ for other PHP image hosting scripts!
20 |
--------------------------------------------------------------------------------
/admin/index.html:
--------------------------------------------------------------------------------
1 |
35 |
36 |
37 |
38 | Use the following page to browse all items awaiting approval. (currently item pending). Any inappropriate items should be removed immediately from the system:
39 |
40 | 0) {
46 | echo '';
47 | while($row = mysql_fetch_array($get_recent)) {
48 | if($tracker == 0) echo "";
49 | echo "";
50 | echo "APPROVE ADULT ";
51 | echo "APPROVE PUBLIC ";
52 | echo "APPROVE NON-PUBLIC ";
53 | echo "REMOVE";
54 | echo " ";
55 | echo " ";
56 | echo " | ";
57 | if($tracker == 4) {
58 | $tracker = 0;
59 | echo " ";
60 | }
61 | else $tracker++;
62 | }
63 | echo ' ';
64 | }
65 | else echo "There are no items awaiting approval.";
66 | }
67 | else echo "There are no items awaiting approval.";
68 |
69 | ?>
70 |
71 | |
72 |
--------------------------------------------------------------------------------
/adult-warning.html:
--------------------------------------------------------------------------------
1 |
12 |
13 |
14 |
15 |
CONTENT WARNING:
16 |
17 | You are about to view content which may be of an adult nature
18 | and hence you must be over the legal age for your country
19 | before you proceed.
20 | Please confirm below that you are permitted to view adult content
21 | and you wish to continue.
22 |
28 |
29 | |
30 |
31 |
--------------------------------------------------------------------------------
/clean-up.php:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/config.php:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/contact.html:
--------------------------------------------------------------------------------
1 | ";
16 | if(strlen($subject) == 0) $errorstring .="You must specify a subject.
";
17 | if(strlen($message) == 0) $errorstring .="You have not entered a message.
";
18 | if(strlen($youremail) < 9 || strlen($youremail) > 64) $errorstring .= "Please enter a valid email address.
";
19 | else
20 | {
21 | $emailtail = strstr($youremail, '@');
22 | if(!strstr($youremail, '@') || !strstr($emailtail, '.')) $errorstring .= "Please enter a valid email address.
";
23 | }
24 | if(strlen($errorstring) == 0){
25 | $subject = "Contact from the ".$site_url." site - ".$subject;
26 | $sent = mail($site_admin, $subject, $message, "FROM: ".$youremail);
27 | if($sent) $showform = FALSE;
28 | }
29 | }
30 |
31 | include("header.php");
32 | ?>
33 |
34 |
35 |
36 |
39 | If you have any questions or comments about the site or services we offer, feel free to contact us using the form below:
40 |
52 | Your message has been sent to ".$site_name.". We will endeavour to respond within the next 48 hours.
Thanks for your comments, ".$site_url."
";
55 | ?>
56 |
57 | |
58 |
59 |
--------------------------------------------------------------------------------
/db_connect.php:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/delete.html:
--------------------------------------------------------------------------------
1 |
11 |
12 |
13 |
14 | Your image has successfully been removed.
";
30 | }
31 | else echo "There has been an error looking up the image details, please try again later.
";
32 | echo "home
";
33 | ?>
34 |
35 | |
36 |
--------------------------------------------------------------------------------
/enter-password.html:
--------------------------------------------------------------------------------
1 |
12 |
13 |
24 |
25 |
--------------------------------------------------------------------------------
/faq.html:
--------------------------------------------------------------------------------
1 |
12 |
13 |
14 |
15 | Is this free?
16 | Yes 100% Free for all users.
17 |
18 | Will my images be removed?
19 | Images not accessed within days will be removed.
20 |
21 | How many images can I upload?
22 | You can upload as many images as you want, as long as each one adheres to the Terms of Service.
23 |
24 | Which image types am I allowed to upload?
25 | You may upload .jpg, .jpeg, .gif (non animated) and .png image types.
26 |
27 | Are there any restrictions to the size of my uploaded images?
28 | Each image you upload must be less than in size. If it is greater than that amount, your image will be rejected.
29 |
30 | Can I edit my images using ?
31 | No. Most people use graphics editing programs such as PhotoShop or Paint Shop Pro, or software that comes with printers, scanners, or digital cameras to edit their images.
32 |
33 | Can I upload music or videos?
34 | No. Music hosting is not allowed due to copyright concerns. Video hosting is not allowed due to large file sizes.
35 |
36 | How much space can I use?
37 | You have an unlimited amount of space for storing your images. continuously buys harddrives to compensate for the amount of images that 's visitors upload.
38 |
39 | |
40 |
--------------------------------------------------------------------------------
/fileUpload.swf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/mfscripts/Reservo-Image-Hosting-Script-Free/1d9d11e9d7a886de430afdbb8f2b6f383d4f6a29/fileUpload.swf
--------------------------------------------------------------------------------
/footer.php:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 | images/dashed-line.jpg'); background-repeat: repeat-x;"> images/dashed-line.jpg" width="4" height="1"> |
8 |
9 |
10 |
11 |
12 | |
13 |
14 |
15 | images/sub-bottom.jpg" width="749" height="6"> |
16 |
17 |
18 |
19 |
20 |
21 |
22 | images/bottom-left-main.jpg" width="10" height="10"> |
23 | Copyright © ".$site_name.""; ?> - Image Hosting Script |
24 | images/bottom-right-main.jpg" width="10" height="10"> |
25 |
26 |