473,503 Members | 2,197 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

resume downloads: How can I get HTTP_RANGE???

Well, I read RFC, but I have a problem now:
How can I get the HTTP_RANGE enviroment variable from client to resume a
download? (GetRight)

I try
$http_range = $_ENV['HTTP_RANGE'];
$http_range = $_COOKIE['HTTP_RANGE'];
but no result ;-(

Please Help!

Regards
Gessos Paul
Jul 17 '05 #1
3 7325
Hello,

- Chameleon - wrote:
Well, I read RFC, but I have a problem now:
How can I get the HTTP_RANGE enviroment variable from client to resume a
download? (GetRight)

I try
$http_range = $_ENV['HTTP_RANGE'];
$http_range = $_COOKIE['HTTP_RANGE'];
but no result ;-(


I think that the request headers are in $_SERVER.
Didn't try it though.

Best regards,

Eric
Jul 17 '05 #2
<- Chameleon -> wrote:
Well, I read RFC, but I have a problem now:
How can I get the HTTP_RANGE enviroment variable from client to resume a
download? (GetRight)

I try
$http_range = $_ENV['HTTP_RANGE'];
$http_range = $_COOKIE['HTTP_RANGE'];
but no result ;-(


How about:

$_SERVER['HTTP_RANGE']

This was covered here on Mar 11, 2003 inthe thread "HTTP_RANGE"
(http://groups.google.com is your friend.)

--
Justin Koivisto - sp**@koivi.com
PHP POSTERS: Please use comp.lang.php for PHP related questions,
alt.php* groups are not recommended.

Jul 17 '05 #3
> > I try
$http_range = $_ENV['HTTP_RANGE'];
$http_range = $_COOKIE['HTTP_RANGE'];
but no result ;-(


How about:

$_SERVER['HTTP_RANGE']


I apologize for my stupidity ;-)
Jul 17 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
8561
by: | last post by:
I want send my zip files in my page from inside php. With this I know how many people have download my file and other information. My problem is this, I have this code but it dosn't resume broken...
0
3031
by: Chuck Anderson | last post by:
I am writing a Php script to run on my home PC (Windows) that downloads an Apache access log file and inserts new entries into a database.. The only way I can access these log files is through a...
2
6766
by: Darta | last post by:
OK- I volunteer to be shot if this question is stupid... BUT, is there a way to, when you catch an exception in the catch{} handler, resume to the same line of code that generated an error while...
4
2411
by: Crouchie1998 | last post by:
How do I download a file & resume from where it left off at a later time/date? Any ideas?
3
27390
by: bob.needler | last post by:
I know On Error Resume Next is generally considered lazy. But can someone tell me why the resume next in Exit_Handler does not seem to work? It generates the typical unhandled runtime error...
7
21897
by: fniles | last post by:
In VB 6.0 in the error trapping, we can do "resume next" to continue on the next code. How can we do that in .NET with "Try", "Catch","End Try" ? Thanks
0
1535
by: Chameleon | last post by:
I want a php script for this: 1. make a http request to a web page and send to that page HTTP_RANGE. 2. get headers from that page for testing. ----------------------------- <?php $url =...
1
2433
by: Chameleon | last post by:
I want to send a static file, via php to browser with ability to resume download. This is the code: -------------------------------------------- function send_file($file, $offset = 0, $offset2 =...
0
20226
MMcCarthy
by: MMcCarthy | last post by:
Organizing a Resume Pertinent information included on your resume may be organized in a variety of ways. Regardless of the type of resume used, you should include the following: Contact...
0
7205
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
7093
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7349
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
7467
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
5594
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
5022
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
3168
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
746
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
399
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.