Home > Archive > PHP Language > July 2004 > Problem with header ("Location: ftp:// ...
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
Problem with header ("Location: ftp:// ...
|
|
| CLUBINN.PL - Jacek Wyderka 2004-07-27, 3:58 pm |
| Hello,
I've got following problem using header() function redirecting to ftp
location.
I've tried all three of these "one-line scripts":
<? php header ('Location:
ftp://x@muzik.webd.pl:x@ftp.muzik.webd.pl/test.mp3'); ?>
<? header ('Location:
ftp://x%40muzik%2Ewebd%2Epl:x@ftp.m...ebd.pl/test.mp3'); ?>
<? header ('Location: http://muzik.msn.hm/test.mp3'); ?> (this last one uses
free redirection service)
And even though all of the above work properly under Mozilla Firefox (I'm
getting "test.mp3" file), they don't work under Microsoft Internet Explorer
(I've got nothing or error page).
Any solution?
Regards,
Matt Dz.
| |
|
|
| Hostmaster \(NS\) 2004-07-29, 3:55 pm |
| there's an I.E patch which prevents using the below username and =
password if your calling it direct from the browser
"CLUBINN.PL - Jacek Wyderka" <jacek@clubinn.pl> wrote in message =
news:ce62hm$i5e$1@mamut1.aster.pl...
> Hello,
>=20
> I've got following problem using header() function redirecting to ftp
> location.
> I've tried all three of these "one-line scripts":
>=20
> <? php header ('Location:
> ftp://x@muzik.webd.pl:x@ftp.muzik.webd.pl/test.mp3'); ?>
> <? header ('Location:
> ftp://x%40muzik%2Ewebd%2Epl:x@ftp.m...ebd.pl/test.mp3'); ?>
> <? header ('Location: http://muzik.msn.hm/test.mp3'); ?> (this last =
one uses
> free redirection service)
>=20
> And even though all of the above work properly under Mozilla Firefox =
(I'm
> getting "test.mp3" file), they don't work under Microsoft Internet =
Explorer
> (I've got nothing or error page).
>=20
> Any solution?
>=20
> Regards,
> Matt Dz.
>=20
>=20
>
|
|
|
|
|