Daniel Brown-5 wrote:
>
> On Thu, Jun 26, 2008 at 8:38 AM, szalinski <[EMAIL PROTECTED]>
> wrote:
>>
>> I thought I'd take the time to make a download limitation script, but
>> even
>> though the idea of this script is 'simple', it
I thought I'd take the time to make a download limitation script, but even
though the idea of this script is 'simple', it 'simply' refuses to work
entirely properly.
Basically I setup a real quick timelimit, $time_limit should mean 'within
the last 20 seconds'. What I am looking for is the follow
ame=one.gif");
//Strip the text headers in the file and print it out.
print preg_replace("/^.*\r\n/m", "", getFile("wisdomleaf.com",
"images/logo.gif", 80));
Anyway, the core of the script is download the file as a string, print
it out as a
Hi
I have been working on this download script for quite a while, and I just
can't find how to download a remote file via a user's browser using
fsockopen.
Basically I am wondering if anyone can just give me a simple working
example on how to use fsockopen() to fetch a file on a remote server, a
Hi
I have been working on this download script for quite a while, and I just
can't find how to download a remote file via a user's browser using
fsockopen.
Basically I am wondering if anyone can just give me a simple working
example on how to use fsockopen() to fetch a file on a remote server, a
Hi
I have been working on this download script for quite a while, and I just
can't find how to download a remote file via a user's browser using
fsockopen.
Basically I am wondering if anyone can just give me a simple working
example on how to use fsockopen() to fetch a file on a remote se
keep working on it, i think i have to start from scratch though
to see where i made the mistake exactly.
:)
On Mon, 04 Feb 2008 21:13:42 -, Richard Lynch <[EMAIL PROTECTED]> wrote:
On Fri, February 1, 2008 7:45 pm, szalinski wrote:
On Thu, 31 Jan 2008 07:13:55 -, Per Jes
l in a text editor or a hex editor to see what
happened.
You might have some PHP warnings or notices at the front of the file,
or at the end, messing the file contents up.
On Thu, January 31, 2008 12:11 pm, szalinski wrote:
On Thu, 31 Jan 2008 00:02:55 -, Richard Lynch <[EMAIL PROTECTED]
On Sat, 02 Feb 2008 23:08:43 -, Nathan Rixham <[EMAIL PROTECTED]>
wrote:
szalinski wrote:
Hi
I am having trouble with a file transfer script, as you can see, I am
trying trying to keep the code as simple as possible.
But everytime I download a file with it, it is corrupt. For e
Hi
I am having trouble with a file transfer script, as you can see, I am
trying trying to keep the code as simple as possible.
But everytime I download a file with it, it is corrupt. For example, when
I download a small .rar file, just to test, it is always corrupt
('Unexpected end of archive').
On Thu, 31 Jan 2008 07:13:55 -, Per Jessen <[EMAIL PROTECTED]> wrote:
Richard Lynch wrote:
Your script is reading the whole file, 64 measly bytes at a time, into
a monstrous string $tmp.
Then, finally, when you've loaded the whole [bleep] file into RAM in
$tmp, you just echo it out, right
11 matches
Mail list logo