[advanced search]
Next Live Event: NamePros Live Auction, May 23rd at 6PM EDT
Results from the May 8th live auction are here.
15 members in the live chat room. Join Chat!
Register Rules & FAQ NP$ Store Active Threads Mark Forums Read
Go Back   NamePros.Com > Design and Development > Programming > CODE
User Name
Password

Reply
 
Thread Tools
Old 04-28-2006, 11:08 AM   · #1
hanz
onArcade.com
 
hanz's Avatar
 
Name: Hans
Location: Estonia
Trader Rating: (41)
Join Date: Jul 2004
Posts: 1,229
NP$: 534.85 (Donate)
hanz is a glorious beacon of lighthanz is a glorious beacon of lighthanz is a glorious beacon of lighthanz is a glorious beacon of lighthanz is a glorious beacon of light
Animal Rescue Animal Rescue Animal Rescue Animal Cruelty
Lightbulb Image Hosting Script

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 . 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!


Please register or log-in into NamePros to hide ads
Attached Files
File Type: zip ImageHostingScript.zip (477.8 KB, 900 views)

Last edited by hanz : 04-28-2006 at 11:16 AM.
hanz is offline   Reply With Quote
Old 04-28-2006, 11:20 AM   · #2
Richieboy67
NamePros Regular
 
Name: Rich
Location: East Coast USA
Trader Rating: (37)
Join Date: Mar 2005
Posts: 841
NP$: 0.93 (Donate)
Richieboy67 is a glorious beacon of lightRichieboy67 is a glorious beacon of lightRichieboy67 is a glorious beacon of lightRichieboy67 is a glorious beacon of lightRichieboy67 is a glorious beacon of light
Sell it for free!!!! lol I like that price...............alot!!!!

Thanks, I just downloaded it!
Richieboy67 is offline   Reply With Quote
Old 04-28-2006, 02:58 PM   · #3
GFX^^
Jim Westergreen Nš1 FAN!
 
Name: Esteban Panzera
Trader Rating: (45)
Join Date: Nov 2005
Posts: 1,676
NP$: 0.25 (Donate)
GFX^^ is a splendid one to beholdGFX^^ is a splendid one to beholdGFX^^ is a splendid one to beholdGFX^^ is a splendid one to beholdGFX^^ is a splendid one to beholdGFX^^ is a splendid one to beholdGFX^^ is a splendid one to behold
which version it is?
GFX^^ is offline   Reply With Quote
Old 04-28-2006, 05:07 PM   · #4
sleepingawake
NamePros Member
 
Location: NY
Trader Rating: (1)
Join Date: Apr 2006
Posts: 48
NP$: 0.00 (Donate)
sleepingawake is an unknown quantity at this point
Originally Posted by GFX^^
which version it is?



i second that
sleepingawake is offline   Reply With Quote
Old 04-28-2006, 10:29 PM   · #5
hanz
onArcade.com
 
hanz's Avatar
 
Name: Hans
Location: Estonia
Trader Rating: (41)
Join Date: Jul 2004
Posts: 1,229
NP$: 534.85 (Donate)
hanz is a glorious beacon of lighthanz is a glorious beacon of lighthanz is a glorious beacon of lighthanz is a glorious beacon of lighthanz is a glorious beacon of light
Animal Rescue Animal Rescue Animal Rescue Animal Cruelty
Originally Posted by GFX^^
which version it is?


I guess the latest as this script hasn't been developed any further
hanz is offline   Reply With Quote
Old 04-29-2006, 08:19 AM   · #6
Tippy
TLDN
 
Tippy's Avatar
 
Name: Mike
Location: XXX
Trader Rating: (105)
Join Date: May 2003
Posts: 6,016
NP$: 47.00 (Donate)
Tippy has a brilliant futureTippy has a brilliant futureTippy has a brilliant futureTippy has a brilliant futureTippy has a brilliant futureTippy has a brilliant futureTippy has a brilliant futureTippy has a brilliant futureTippy has a brilliant futureTippy has a brilliant futureTippy has a brilliant future
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
__________________
Tippy is offline   Reply With Quote
Old 04-29-2006, 12:28 PM   · #7
NetworkTown.Net
Senior Member
 
Name: Soon....
Location: United Kingdom
Trader Rating: (27)
Join Date: Oct 2005
Posts: 1,549
NP$: 49.74 (Donate)
NetworkTown.Net is just really niceNetworkTown.Net is just really niceNetworkTown.Net is just really niceNetworkTown.Net is just really nice
I keep getting FATAL ERROR: Connection to database server failed. what do i do?
__________________
PHP2k.com - PHP Coder[B]

Last edited by gameztown : 04-29-2006 at 12:39 PM.
NetworkTown.Net is offline   Reply With Quote
Old 04-29-2006, 01:23 PM   · #8
wvccboy
Account Closed
 
Name: Jay
Trader Rating: (16)
Join Date: Jan 2006
Posts: 460
NP$: 71.00 (Donate)
wvccboy is a jewel in the roughwvccboy is a jewel in the roughwvccboy is a jewel in the rough
Did you read the README file?
wvccboy is offline   Reply With Quote
Old 04-30-2006, 05:22 AM   · #9
NetworkTown.Net
Senior Member
 
Name: Soon....
Location: United Kingdom
Trader Rating: (27)
Join Date: Oct 2005
Posts: 1,549
NP$: 49.74 (Donate)
NetworkTown.Net is just really niceNetworkTown.Net is just really niceNetworkTown.Net is just really niceNetworkTown.Net is just really nice
Originally Posted by wvccboy
Did you read the README file?



Yes, i am running on a reseller account.
__________________
PHP2k.com - PHP Coder[B]
NetworkTown.Net is offline   Reply With Quote
Old 04-30-2006, 06:07 AM   · #10
hanz
onArcade.com
 
hanz's Avatar
 
Name: Hans
Location: Estonia
Trader Rating: (41)
Join Date: Jul 2004
Posts: 1,229
NP$: 534.85 (Donate)
hanz is a glorious beacon of lighthanz is a glorious beacon of lighthanz is a glorious beacon of lighthanz is a glorious beacon of lighthanz is a glorious beacon of light
Animal Rescue Animal Rescue Animal Rescue Animal Cruelty
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?
Attached Files
File Type: txt image.txt (6.8 KB, 144 views)
hanz is offline   Reply With Quote
Old 04-30-2006, 10:47 AM   · #11
NetworkTown.Net
Senior Member
 
Name: Soon....
Location: United Kingdom
Trader Rating: (27)
Join Date: Oct 2005
Posts: 1,549
NP$: 49.74 (Donate)
NetworkTown.Net is just really niceNetworkTown.Net is just really niceNetworkTown.Net is just really niceNetworkTown.Net is just really nice
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.
__________________
PHP2k.com - PHP Coder[B]
NetworkTown.Net is offline   Reply With Quote
Old 04-30-2006, 11:06 AM   · #12
RickM
www.RickyMills.com
 
RickM's Avatar
 
Name: Rick Mills
Location: Herts, UK
Trader Rating: (90)
Join Date: Sep 2005
Posts: 3,440
NP$: 1232.52 (Donate)
RickM has much to be proud ofRickM has much to be proud ofRickM has much to be proud ofRickM has much to be proud ofRickM has much to be proud ofRickM has much to be proud ofRickM has much to be proud ofRickM has much to be proud ofRickM has much to be proud ofRickM has much to be proud of
Cancer Survivorship Save The Children Save The Children Cancer Animal Cruelty Child Abuse Cancer Survivorship 9/11/01 :: Never Forget Animal Cruelty Child Abuse Animal Rescue Animal Cruelty
The script was developed furthur by yabsoft...the origional creator.

I also bought it from scriptsandmore ages ago, however its extreamly buggy.
RickM is offline   Reply With Quote
Old 04-30-2006, 11:34 PM   · #13
hanz
onArcade.com
 
hanz's Avatar
 
Name: Hans
Location: Estonia
Trader Rating: (41)
Join Date: Jul 2004
Posts: 1,229
NP$: 534.85 (Donate)
hanz is a glorious beacon of lighthanz is a glorious beacon of lighthanz is a glorious beacon of lighthanz is a glorious beacon of lighthanz is a glorious beacon of light
Animal Rescue Animal Rescue Animal Rescue Animal Cruelty
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)
hanz is offline   Reply With Quote
Old 05-05-2006, 03:32 AM   · #14
yabsoft
NamePros Member
 
Trader Rating: (0)
Join Date: Sep 2004
Posts: 27
NP$: 10.00 (Donate)
yabsoft is an unknown quantity at this point
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
yabsoft is offline   Reply With Quote
Old 05-05-2006, 05:51 AM   · #15
hanz
onArcade.com
 
hanz's Avatar
 
Name: Hans
Location: Estonia
Trader Rating: (41)
Join Date: Jul 2004
Posts: 1,229
NP$: 534.85 (Donate)
hanz is a glorious beacon of lighthanz is a glorious beacon of lighthanz is a glorious beacon of lighthanz is a glorious beacon of lighthanz is a glorious beacon of light
Animal Rescue Animal Rescue Animal Rescue Animal Cruelty
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.
hanz is offline   Reply With Quote
Old 05-07-2006, 10:10 PM   · #16
yabsoft
NamePros Member
 
Trader Rating: (0)
Join Date: Sep 2004
Posts: 27
NP$: 10.00 (Donate)
yabsoft is an unknown quantity at this point
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!
yabsoft is offline   Reply With Quote
Old 05-08-2006, 01:23 AM   · #17
SecondVersion
while ($awake){ code(); }
 
SecondVersion's Avatar
 
Name: Eric
Location: Kentucky
Trader Rating: (135)
Join Date: Mar 2005
Posts: 4,046
NP$: 1958.00 (Donate)
SecondVersion has a reputation beyond reputeSecondVersion has a reputation beyond reputeSecondVersion has a reputation beyond reputeSecondVersion has a reputation beyond reputeSecondVersion has a reputation beyond reputeSecondVersion has a reputation beyond reputeSecondVersion has a reputation beyond reputeSecondVersion has a reputation beyond reputeSecondVersion has a reputation beyond reputeSecondVersion has a reputation beyond reputeSecondVersion has a reputation beyond repute
Member of the Month
MOTM September 2005 Save a Life Child Abuse 9/11/01 :: Never Forget Baby Health Marrow Donor Program AIDS/HIV Breast Cancer Cystic Fibrosis Ethan Allen Fund Animal Cruelty Ethan Allen Fund Ethan Allen Fund
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'])."'");
__________________
SecondVersion.com - The Personal Blog of SecondVersion
Domain Name Portfolio - Get your free copy. - Version 1.0.1 now available!!
MetaCreator.com - Free Meta Tag Creator
SecondVersion is offline   Reply With Quote
Old 05-09-2006, 04:29 AM   · #18
yabsoft
NamePros Member
 
Trader Rating: (0)
Join Date: Sep 2004
Posts: 27
NP$: 10.00 (Donate)
yabsoft is an unknown quantity at this point
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'])."'");

yabsoft is offline   Reply With Quote
Old 05-09-2006, 10:24 AM   · #19
Bazza The Greek
NamePros Member
 
Location: UK, London
Trader Rating: (0)
Join Date: Feb 2005
Posts: 32
NP$: 13.00 (Donate)
Bazza The Greek is an unknown quantity at this point
I am also getting FATAL ERROR: Connection to database server failed.

Anyone know what to do?
Bazza The Greek is offline   Reply With Quote
Old 05-09-2006, 10:47 AM   · #20
Wybe
NamePros Member
 
Wybe's Avatar
 
Name: Wybe M.
Location: the Netherlands
Trader Rating: (9)
Join Date: Nov 2005
Posts: 127
NP$: 1.54 (Donate)
Wybe is on a distinguished road
Thanks for sharing!
__________________
accepts paypal and cookies
Wybe is offline   Reply With Quote
Old 05-09-2006, 11:57 AM   · #21
max99
NamePros Regular
 
max99's Avatar
 
Trader Rating: (5)
Join Date: Mar 2006
Posts: 386
NP$: 15.00 (Donate)
max99 is an unknown quantity at this point
Cancer
How do you change the code for adsense, which file to edit, as want to add my adsense code.
max99 is offline   Reply With Quote
Old 08-09-2006, 05:59 AM   · #22
kleszcz
 
kleszcz's Avatar
 
Trader Rating: (201)
Join Date: Jul 2006
Posts: 3,032
NP$: 1011.50 (Donate)
kleszcz has a reputation beyond reputekleszcz has a reputation beyond reputekleszcz has a reputation beyond reputekleszcz has a reputation beyond reputekleszcz has a reputation beyond reputekleszcz has a reputation beyond reputekleszcz has a reputation beyond reputekleszcz has a reputation beyond reputekleszcz has a reputation beyond reputekleszcz has a reputation beyond reputekleszcz has a reputation beyond repute
Marrow Donor Program Multiple Sclerosis
Thanks giving away for free. I will try later.
__________________
Share your photos, tags and links!
LLLL.com - *NOT* going cheap!
Dictionary Word .info Domains
kleszcz is offline   Reply With Quote
Old 08-09-2006, 11:16 AM   · #23
Camron
DNOA Member
 
Camron's Avatar
 
Name: Camron
Location: Portland, Oregon
Trader Rating: (48)
Join Date: Jan 2006
Posts: 2,040
NP$: 84.85 (Donate)
Camron has much to be proud ofCamron has much to be proud ofCamron has much to be proud ofCamron has much to be proud ofCamron has much to be proud ofCamron has much to be proud ofCamron has much to be proud ofCamron has much to be proud ofCamron has much to be proud of
VA Tech Memorial 9/11/01 :: Never Forget Cancer Survivorship Child Abuse
Can we resell it? I assume no
__________________
VPSByte Virtual Solutions
Premium VPS Services - 24/7/365 Support - 1 hour guaranteed support response
*NEW* Remote Backup Services @ $9.95/mo
Camron is offline   Reply With Quote
Old 09-10-2006, 11:21 AM   · #24
gamer76
First Time Poster!
 
Trader Rating: (0)
Join Date: Sep 2006
Posts: 1
NP$: 0.00 (Donate)
gamer76 is an unknown quantity at this point
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!!!

Last edited by gamer76 : 09-12-2006 at 10:12 AM.
gamer76 is offline   Reply With Quote
Old 09-22-2006, 08:08 PM   · #25
chinamv
New Member
 
Trader Rating: (0)
Join Date: May 2006
Posts: 2
NP$: 0.00 (Donate)
chinamv is an unknown quantity at this point
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.