Re: Downloading a part of a file
| From: | zareef ahmed | Date: | Tue, 07 Sep 2004 08:32:21 +0000 |
| Subject: | Re: Downloading a part of a file | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-196022@lists.php.net to get a copy of this message | ||
Hi Rasnita,
What you excatly want to do?
if you just want to get a remote file.
You can use normal file functions like fopen, fget,
fgets, file_get_contents etc. with a url.
http://in.php.net/manual/en/ref.filesystem.php
and if you want to send headers to a server using
curl can be a solutions.
http://in.php.net/curl
zareef ahmed
--- Octavian Rasnita <orasnita@fcc.ro> wrote:
> Hi all,
>
> Please tell me how can I fetch an html document from
> a web page, let's say
> starting from the character 1000, and get the text
> until the caracter 5000.
>
> In fact, I want to use the GET or POST method, and
> to also send to the
> server the HTTP header:
>
> Range: bytes=1000-5000
>
> Thanks.
>
> Teddy
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
=====
Homepage :: http://www.zasaifi.com
__________________________________
Do you Yahoo!?
New and Improved Yahoo! Mail - Send 10MB messages!
http://promotions.yahoo.com/new_mail