upload - resize - rename an image

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
Maluendaster
Forum Contributor
Posts: 124
Joined: Fri Feb 25, 2005 1:14 pm

upload - resize - rename an image

Post by Maluendaster »

hi all, my problem is that i'm using mageshach.us service to do this, but they don't allow "pornographic material" to be uploaded (altough mine is erotic & softcore), but i don't want from one day to another all images disappear... so my question is anyone knows a script that can upload - resize (width and height configurable by me) - and rename (ie. xxx.jpg to xxx_iis93lod.jpg (random) ??? , also , that it display where it's stored (ie : http://www.example/uploaded/xxx_iis93lod.jpg )

I have searched hotscripts and found nothing.. thank you..
User avatar
onion2k
Jedi Mod
Posts: 5263
Joined: Tue Dec 21, 2004 5:03 pm
Location: usrlab.com

Post by onion2k »

I've written a tutorial about uploading and resizing an image: viewtopic.php?t=41743

You'll have to work out the exact mechanics of what you want yourself, but that should get you most of the way there.
Maluendaster
Forum Contributor
Posts: 124
Joined: Fri Feb 25, 2005 1:14 pm

Post by Maluendaster »

onion2k wrote:I've written a tutorial about uploading and resizing an image: viewtopic.php?t=41743

You'll have to work out the exact mechanics of what you want yourself, but that should get you most of the way there.
yeah, i already check that tutorial, but i'm not a programmer , less than a newbe, and don't know how to randomly rename the file and then show me where its stored... :( , nice tutorial by the way.
User avatar
m3mn0n
PHP Evangelist
Posts: 3548
Joined: Tue Aug 13, 2002 3:35 pm
Location: Calgary, Canada

Post by m3mn0n »

You can become one by reading here. Or hire someone to develop the script for you by posting here.
Maluendaster
Forum Contributor
Posts: 124
Joined: Fri Feb 25, 2005 1:14 pm

Post by Maluendaster »

Sami wrote:You can become one by reading here. Or hire someone to develop the script for you by posting here.
:wink:
User avatar
fendtele83
Forum Commoner
Posts: 27
Joined: Tue Oct 25, 2005 2:21 pm
Location: Woodbridge, NJ

i'll code it for you

Post by fendtele83 »

if you have access to a server that runs PHP with GD libraries installed i can write the script for you in a day or two, for a very small fee.
Post Reply