English 中文(简体)
Upload files using mobile broadband using standard browsers (not from phone)
原标题:

My issue is trying to upload photos while using mobile broadband. (PHP)

The situation is -

1) I m using a laptop that is connected to the internet using mobile broadband (t-mobile)

2) I know that my web site works as I ve used the php script for well over a year without issues

Other points which may help with an answer

1) uploading photos to facebook will fail when using their java uploading tool (it can work when using their simple uploader)

2) uploading files to attach to my webmail (godaddy) will 99% of the time FAIL or just take forever unless I use the mobile version when it may work 50% of the time.

3) uploading files to attach to my blueyonder/virgin webmail works fines. This is normally very quick. As a test (repeated this several times to verify) I ve tried to upload files using both type of webmail and the blueyonder webmail can upload a 5 Mb file in a few minutes while the godaddy webmail will fail or take 30mins - 1 hour. I ve done these one after the other, simultaneously, using same file, using different files. each time same result.

4) it doesn t matter what browser I use - FF, IE, Chrome.

5) I know t-mobile do something to the data coming in as any image is more pixilated and comes with a tooltip ("press Shift-r to improve picture quality")

6) speaking to t-mobile, they deny doing anything and blame the web sites for not working!

So, basically is there any info out there for creating an uploader that can get around mobile broadband issues. I know its possible as my blueyonder webmail can do it, but how? Bonus question - what exactly are the mobile phone company doing to the data that makes mobile broadband different to getting broadband through your phone line or using Cable.

问题回答

Can you establish https connections? If so, I guess that POSTing images over a https connection would work (unless they terminate connections after some amount of data uploaded). If it doesn t, you could chunk images into small enough pieces and do likewise with the pieces.





相关问题
Brute-force/DoS prevention in PHP [closed]

I am trying to write a script to prevent brute-force login attempts in a website I m building. The logic goes something like this: User sends login information. Check if username and password is ...

please can anyone check this while loop and if condition

<?php $con=mysql_connect("localhost","mts","mts"); if(!con) { die( unable to connect . mysql_error()); } mysql_select_db("mts",$con); /* date_default_timezone_set ("Asia/Calcutta"); $date = ...

定值美元

如何确认来自正确来源的数字。

Generating a drop down list of timezones with PHP

Most sites need some way to show the dates on the site in the users preferred timezone. Below are two lists that I found and then one method using the built in PHP DateTime class in PHP 5. I need ...

Text as watermarking in PHP

I want to create text as a watermark for an image. the water mark should have the following properties front: Impact color: white opacity: 31% Font style: regular, bold Bevel and Emboss size: 30 ...

How does php cast boolean variables?

How does php cast boolean variables? I was trying to save a boolean value to an array: $result["Users"]["is_login"] = true; but when I use debug the is_login value is blank. and when I do ...

热门标签