Chomsky - Myspace Comments - Remortgages - Loans - Baton Rouge Apartments

PDA

View Full Version : Looking for a Image Uploader script


NashTax
Apr 4th 2008, 6:09 am
I'm looking for an image uploader script for my website, I'm not too bothered about ''big'' features, just it uploads, pastes codes and looks fair nice.

I'd really love an ajax powered one but any will do to be honest.

Thank you.

strokemymouse
Apr 4th 2008, 7:06 am
Good timing, I am making an uploader site and I have made a fairly simple uploader. Pm for more details :D

redlorry919
Apr 4th 2008, 2:47 pm
Try http://www.arwscripts.com/image-hosting-script.html

sawz
Apr 4th 2008, 3:46 pm
i got one here (http://american-builder.com/viewitem.php?ItemID=60), low priced, just the right amount of features.

NashTax
Apr 5th 2008, 3:11 am
Thanks guys but just downloaded one from the following website.

http://www.mihalism.com/mihalism-multi-host

Thank you.

Tom12361
Apr 5th 2008, 3:28 am
Who can offer more? I don't like mihalism. And it must be free

genesisxxx
Apr 6th 2008, 12:59 am
Thank you.

Marc Fraser
Apr 6th 2008, 3:37 am
<?php

$do = $_GET['do'];

if(isset($do) && $do != NULL && $do == "upload") {



//set where you want to store files
//in this example we keep file in folder upload
//$HTTP_POST_FILES['ufile']['name']; = upload file name
//for example upload file name cartoon.gif . $path will be upload/cartoon.gif
$path = "../cms-images/".$HTTP_POST_FILES['ufile']['name'];
if($ufile !=none)
{
if (($HTTP_POST_FILES['ufile']['type']=="image/gif") || ($HTTP_POST_FILES['ufile']['type']=="image/pjpeg") || ($HTTP_POST_FILES['ufile']['type']=="image/jpeg") || ($HTTP_POST_FILES['ufile']['type']=="image/png")) {
if(copy($HTTP_POST_FILES['ufile']['tmp_name'], $path))
{
echo "Successful<BR/>";

//$HTTP_POST_FILES['ufile']['name'] = file name
//$HTTP_POST_FILES['ufile']['size'] = file size
//$HTTP_POST_FILES['ufile']['type'] = type of file
echo "File Name :".$HTTP_POST_FILES['ufile']['name']."<BR/>";
echo "File Size :".$HTTP_POST_FILES['ufile']['size']."<BR/>";
echo "File Type :".$HTTP_POST_FILES['ufile']['type']."<BR/>";
echo "<img src=\"$path\" alt=\"\">";
echo '<h5>File Location: ../cms-images/' . $HTTP_POST_FILES['ufile']['name'] . '</h5>';
}
else
{
echo "Error";
}
} else {
echo "Incorrect File Type";
}
}

} else { ?>
<form action="?do=upload" method="post" enctype="multipart/form-data">
<label for="file">Filename:</label>
<p>If you are uploading an image for the picture next to the description, please make sure it's 150x150px. Thanks!</p>
<input type="file" name="ufile" id="ufile" />
<br />
<input type="submit" name="submit" value="Submit" />
</form>

<?php

}
?>


Thats one that I done really quickly in about 2 mins. I will be creating another version that lets you upload to multiple directorys sometime tonight or tomorrow.

Hope this is what your looking for.

Cheers
Marc

NashTax
Apr 7th 2008, 5:22 am
I've got one now, all installed and working correctly.

Thank you for displaying your code anyway, Marc. :)

Thanks again.

marketingprofessionals
Apr 8th 2008, 12:31 am
I have used this script on one of our site its good one with admin panel http://www.free-php-scripts.net/P/Free_Image_Hosting

Tom12361
Apr 8th 2008, 6:45 am
MarketingPro - I can't download this script :(

NashTax
Apr 8th 2008, 12:21 pm
I have used this script on one of our site its good one with admin panel http://www.free-php-scripts.net/P/Free_Image_Hosting

Nice, used that before, nice little script.

gafadi
Apr 12th 2008, 10:39 pm
i made a site image hosting here is the site and iMuploader.com pm me if intrested i can make you one

waziuz
Apr 13th 2008, 9:35 pm
There is a good free image hosting script in

http://www.gravy-media.com too