| View previous topic :: View next topic |
| Author |
Message |
Phree

Joined: 31 Dec 2005 Posts: 254 Location: South Coast, UK
|
Posted: Tue Jun 13, 2006 6:36 pm Post subject: Upload/Download for PC & Phone. |
|
|
Hey Humpa,
How's it going? It's been a while since I've given you any grief - too long in fact Hope all is going well with the new job etc.
I have been trying to figure out something I saw on a site recently, but to no avail!
Basically, you upload an image/ringtone/theme etc from your pc and you are then given a unique 6 digit code. You then browse to the site using your mobile phone, submit that same 6 digit code and it downloads the media to your phone. This is something I'd like to be able to do for myself. I have spent hours and hours and hours searching around on the net (I'm talking 32 pages of searches and clicking on every link!) to see if this script is about. It is, but it's commercial. I don't mind paying for something like this, but I'd rather have a go at it myself. I'm guessing that it goes something like this:
1. User uploads file;
2. File gets stored in database;
3. User goes online via mobile phone & submits code;
4. Script then matches that code to the correct file in the database and redirects to that file which enables the mobile phone to download the file.
Would you agree? I realise it's much, much easier to just upload the file and then browse to that location on the phone - upload to www.mysite.com/image1.jpg and then browse to that same location...But as with all things coding, you don't always want the easy answer! I think I could maybe hack together the first 3 points, but the 4th one would be where I got stuck!
A perfect example of what I am trying to do, can be found here.
Cheers if you can help me - you know I always appreciate it....The knowledge you supply isn't just kept to myself - I'm currently in the middle of helping another of your forum users to sort out the emailing script to use on his site  |
|
| Back to top |
|
 |
Humpa Site Admin

Joined: 06 Nov 2005 Posts: 10258
|
Posted: Tue Jun 13, 2006 6:40 pm Post subject: |
|
|
Sounds easy enough.
Though you need a phone that has the ability to download of the web, of course ... which Verizon phones do not have, unless you can hack it (like the browser hack for the E815/V710/V3c)
EDIT: and that link you posted is no good. |
|
| Back to top |
|
 |
Phree

Joined: 31 Dec 2005 Posts: 254 Location: South Coast, UK
|
Posted: Tue Jun 13, 2006 6:44 pm Post subject: |
|
|
Hiya,
thanks for the quick reply! Yep, I have a Nokia 6630 which downloads perfectly from the web...Most of my friends have Nokias / Samsungs etc and they can all do the same. So you think it would be quite easy to do then? How would you suggest be the best way I go about things?
That link works for me - http://wapload.org ? Another site is http://www.file2fone.com - does the same thing. |
|
| Back to top |
|
 |
Humpa Site Admin

Joined: 06 Nov 2005 Posts: 10258
|
Posted: Tue Jun 13, 2006 7:32 pm Post subject: |
|
|
Make a page where user can upload file.
User uploads file, and your code makes up a name for file, saves file somewhere, saves made-up filename and made-up code in a database table, and then shows made-up code on the webpage.
Make another page (wap page?) with input box - user goes there and puts in the made-up code you gave him, your code then queries database table and makes a simple link to the file. User clicks link and downloads file.
 |
|
| Back to top |
|
 |
|