mylesgrant.com

PHP/MySQL Nokia Image Upload Server 0.1 Release

You may remember my Nokia Image Upload Server script that I wrote about earlier and use to upload images from my phone to my galleries.

Ah, yes. Now you remember.

Anyway, due to overwhelming demand for me to release the code, I’m now doing so. And by “overwhelming demand”, I mean some guy emailed me asking about it — and his email came sans return address so I can’t even let him know.

Before we get to the download, though, a few self-conscious disclaimers: I wrote this code off and on over a couple days, and I wasn’t even sure it would work when I started, so it pretty much sucks. Mostly, I’m disappointed that I didn’t write it as a class, so it’s not extendible easily. Also, it’s pretty tightly integrated with my needs here, so I can’t guarantee that it will fit yours. Regardless, here it is, and if it helps you, I’m glad.

We have two choices here, a 10,842 byte gzipped-tar, and a byte 14,011 zip file. Pick your poison and go nuts.

I should also note that I think they’re working on getting a Nokia Image Uploader class in the PEAR packages, so this might all be somewhat pointless. Then again, I know the submission was getting bogged down in PEAR’s trademark anal-retentiveness, so it might not ever happen. Just thought I’d share.

Update: This code has been updated.


5 Comments

Hey I’ve downloaded this package and reconfigured it. It seems like it worked because now I get a successful upload message from my 3650.

But where did the photos go? I’ve FTP to the directory where I’ve installed the script and can’t seems to find the 2 photos and the new folder I’ve created.

Do I need this frontend photo gallery to access them? If so can you post that as well?

Posted by Jeffrey Moy on 11 February 2004 @ 1pm

They’ll be in your photos database. I’ll try and include a demo of a script that outputs the info from the db sometime.

Alternatively, if you know PHP at all, it should be easy to change the script to put the files on the filesystem instead of in the db. The hard part was figuring out the protocol with the phone.

Maybe I’ll do that as well.

Posted by Myles on 11 February 2004 @ 1pm

If you could just modify it so uploads go to the file system instead, I can install other PHP programs to handle the front end.

Thanks for the great program, BTW!

Posted by Jeffrey Moy on 11 February 2004 @ 9pm

do you know about truefoto.com ? Seems like you are doing a lot of work when you can use truefoto.com for free and no work, am I wrong?

Posted by jeremybaurrice2003@yahoo.com on 10 March 2004 @ 9pm

Ah, yes, but this way I get several advantages:

1) I get to learn something new.
2) I can customize exactly how photos are presented on my site.
3) I maintain control over my photos.

Number 3 is very important because, and I don’t know if this is true for truefoto.com or not, but third-party services like these sometimes have policies that your photos become theirs when you upload them, and they can also do whatever they want with them. Also, what happens if one day truefoto.com decides to just close its doors? Where’d my photos go?

Posted by Myles on 11 March 2004 @ 7am

Leave a Comment

Snap to Grid Miami Idol


ss_blog_claim=15f221fa5534b36dfd4dc0c2bcca99c1