NamePros.Com (http://www.namepros.com/)
-   CODE (http://www.namepros.com/code/)
-   -   Image Hosting Script (http://www.namepros.com/code/191933-image-hosting-script.html)

hanz 04-28-2006 11:08 AM

Image Hosting Script
 
1 Attachment(s)
Some time ago I bought image hosting script from http://www.scriptsnmore.com/ that came with reseller rights, now I think it is time to resell it to all of my NamePros friends for free :D . Sorry I don't have any demo set up, but I can assure you that this is one very nice script ;)

Features:
+ Support paypal upgrades - Based on credits = uploads
+ Syndication Script - Allows others to add upload script on their website to redirect to your site after upload is completed
+ Unlimited "secondary" servers - Store images in many locations to keep load down on main server
+ Thumbnail creation for gif, jpg, jpeg using GD2
+ Thumbnail creation for bmp using imagemagick
+ Dimensions and size shown on all thumbnails created
+ Bandwidth tracking
+ IP banning
+ User registration
+ Applet uploading for registered members (Allows multiple uploads at one time)
+ Upload images in zip, then script unzips the zip file (For registered members only)
+ Deletes images not clicked x amount of times using cron job
+ Advertisement abilities when linking to image
+ Supports swf uploading
+ E-mail links to requested e-mail address
+ Tracks uploads based on IP address
+ Supports English and Chinese languages
+ Fully customizable with css, header and footer files
+ Newsletter abilities to registered members

Have fun!

Richieboy67 04-28-2006 11:20 AM

Sell it for free!!!! lol I like that price...............alot!!!!

Thanks, I just downloaded it! :kickass:

GFX^^ 04-28-2006 02:58 PM

which version it is?

sleepingawake 04-28-2006 05:07 PM

Originally Posted by GFX^^
which version it is?



i second that

hanz 04-28-2006 10:29 PM

Originally Posted by GFX^^
which version it is?


I guess the latest as this script hasn't been developed any further

Tippy 04-29-2006 08:19 AM

Thanks for the script, I'm having a small problem uploading the image sql file... Error Unknown Character Set " anyone have an idea of how to fix this or what it should be?

Thanks,

Mike

NetworkTown.Net 04-29-2006 12:28 PM

I keep getting FATAL ERROR: Connection to database server failed. what do i do?

wvccboy 04-29-2006 01:23 PM

Did you read the README file?

NetworkTown.Net 04-30-2006 05:22 AM

Originally Posted by wvccboy
Did you read the README file?



Yes, i am running on a reseller account.

hanz 04-30-2006 06:07 AM

1 Attachment(s)
Originally Posted by Tippy
Thanks for the script, I'm having a small problem uploading the image sql file... Error Unknown Character Set " anyone have an idea of how to fix this or what it should be?

Thanks,

Mike


hmm... yeah, I have attached new image.txt file, this should work

Originally Posted by gameztown
Yes, i am running on a reseller account.


did you edit config.php file?

NetworkTown.Net 04-30-2006 10:47 AM

Originally Posted by hanz
hmm... yeah, I have attached new image.txt file, this should work


did you edit config.php file?



Yep i edited config.php and i ran the sql file too.

RickM 04-30-2006 11:06 AM

The script was developed furthur by yabsoft...the origional creator.

I also bought it from scriptsandmore ages ago, however its extreamly buggy.

hanz 04-30-2006 11:34 PM

Originally Posted by gameztown
Yep i edited config.php and i ran the sql file too.


Sorry! Then I don't know what could be wrong.


Originally Posted by rmwebs
The script was developed furthur by yabsoft...the origional creator.

I also bought it from scriptsandmore ages ago, however its extreamly buggy.


Actually this script was stole by yabsoft (the orginal coder)

yabsoft 05-05-2006 03:32 AM

The more fact about this issue:
Quote:
Recently,i check the visiters logs and found lots of people are from scriptsnmore.com.Just as you have read on his site,he say lots of bad words to me, which stayed there for 2 months.
At the beginning,i simplily ignore this,but gradutliy,i realeased the reputation on the net is important for me and my site. The key is that lots of people may mistake me by his partial word and fact,althrougth i believe anyone has own idea,not simplily followed someone. So this is the reason why i make such page for you:)

Topic By me at WHT: (This is a long details,recommend you read this carefully) View [http://www.webhostingtalk.com/showt...hreadid=429436]
Topic By me at digitalpoint.com: (Legal Issues ) Viewhttp://forums.digitalpoint.com/showthread.php?t=23395
Topic By me at sitepoint.com: (Legal Issues ) View http://www.sitepoint.com/forums/showthread.php?t=286763
Topic By eMax at scritplance.com: View[http://forum.scriptlance.com/showthread.php?t=356



http://www.yabsoft.com/scriptsnmore.php

At fact the owner of scriptsnmore.com want to sell his site earliy:
http://webhostingtalk.com/showthrea...ht=scriptsnmore

hanz 05-05-2006 05:51 AM

Originally Posted by yabsoft
The more fact about this issue:


http://www.yabsoft.com/scriptsnmore.php

At fact the owner of scriptsnmore.com want to sell his site earliy:
http://webhostingtalk.com/showthrea...ht=scriptsnmore


There is no need for any more facts - you were hired to make a custom image hosting script and when you saw that the person who hired you was making money you went greedy and decided to scam him.

yabsoft 05-07-2006 10:10 PM

Haha

But anyway I must point a secure hole in this old script,And I don't recommend you use it to build a serious image hosting site.Because it has lots of bugs not fixed.

I don't want you to wonder I am trying to stop others to download script and use it,so I post the secure hole here:
After installation,you can use
Code:
' or 1 or pass='
as username to login in admin apnel,althrough your username is not the one!

Solution:
Modify the login.php,line 13:
Code:
$db->setQuery("select * from setting where admin='$input[user]' and pass='$input[pass]'");

Change to:
Code:
$db->setQuery("select * from setting where admin='".mysql_escape_string($input[user])."' and pass='".mysql_escape_string($input[pass])."'");


If you want to use it,I recomend you apply the changes first!

SecondVersion 05-08-2006 01:23 AM

mysql_escape_string is deprecated, I'd rather use something like:
PHP Code:
<?php

function make_safe($value)
{
  
$value = stripslashes($value);
  
$value = (function_exists('mysql_real_escape_string')) ? mysql_real_escape_string($value) : addslashes($value);

  return
$value;
}

?>

.
PHP Code:
$db->setQuery("select * from setting where admin='".make_safe($input['user'])."' and pass='".make_safe($input['pass'])."'");

yabsoft 05-09-2006 04:29 AM

Yea,'mysql_real_escape_string' is better then 'mysql_escape_string'.

Thanks for your advance!

Originally Posted by SecondVersion
mysql_escape_string is deprecated, I'd rather use something like:
PHP Code:
<?php

function make_safe($value)
{
  
$value = stripslashes($value);
  
$value = (function_exists('mysql_real_escape_string')) ? mysql_real_escape_string($value) : addslashes($value);

  return
$value;
}

?>

.
PHP Code:
$db->setQuery("select * from setting where admin='".make_safe($input['user'])."' and pass='".make_safe($input['pass'])."'");


Bazza The Greek 05-09-2006 10:24 AM

I am also getting FATAL ERROR: Connection to database server failed.

Anyone know what to do?

Wybe 05-09-2006 10:47 AM

Thanks for sharing!

max99 05-09-2006 11:57 AM

How do you change the code for adsense, which file to edit, as want to add my adsense code.

kleszcz 08-09-2006 05:59 AM

Thanks giving away for free. I will try later.

Camron 08-09-2006 11:16 AM

Can we resell it? I assume no :p

gamer76 09-10-2006 11:21 AM

thanx for this... :)

Edit: This script isn't actually very easy to edit using *.css sheets. The style is actually located in another file... i have changed that, so now i have a ccs sheet... adding a logo is a nightmare... anther solution also came then... :) and finally i don't think the guy really cares what we do with the script so, hey.. i think we can do want we want to it!!! woo hoo!!! :)

chinamv 09-22-2006 08:08 PM

why i can not login admin area use admin:123 ?

did your guys can login to admin area? i already import image.sql and website frontside working.

is that php or mysql verison problem? my php 5.1.2 and mysql 5 from dreamhost

i changed to php 4.1.2,i can login now,

but when uploaded a image,it displayed url like "http://www.cmusers.com/show.php/2_26107273aa2538070e0ec02.jpg"

the image can not be displayed. anyone help me plz?


All times are GMT -7. The time now is 12:37 PM.
Site Sponsors
Advertise your business at NamePros

Powered by: vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 2.4.0