thanks alot 
the problem was solved easily with this code:
(i forgot to tell that i the url arrived from another page)

<script language="Javascript">
function fwdPage()
{
location="<?php print $url; ?>";
}
</script>
<body onload="fwdPage()">



best regards 
Daniel



----- Original Message ----- 
From: "RS Herhuth" <[EMAIL PROTECTED]>
To: "Daniel Sturk" <[EMAIL PROTECTED]>
Sent: Friday, November 08, 2002 2:59 PM
Subject: RE: [PHP-WIN] header:location question


> 
> Daniel,
> 
> You could use a blank page that contains the javascript:
> 
> <script language="Javascript">
> 
> function fwdPage()
> {
> location="mms://www.anotherstreamingserver.com/actualstream.wmv";
> }
> </script>
> 
> 
> and in the body tag put:
> 
> <body onload="fwdPage()">
> 
> 
> This page will be transparent to the user but immediately forward them to
> the URL.
> 
> Hope this helps!
> Ron
> 
> 
> -----Original Message-----
> From: Daniel Sturk [mailto:lists@;skurk.mine.nu]
> Sent: Friday, November 08, 2002 5:16 AM
> To: [EMAIL PROTECTED]
> Subject: [PHP-WIN] header:location question
> 
> 
> im was eariler using this function
> header("Location: http://www.somestreamingserver.com/actualstream.wmv";);
> 
> now the provider wants me to use the following url to access the stream
> 
> "mms://www.anotherstreamingserver.com/actualstream.wmv" and this doesnt
> work at all with the header redirect
> 
> any ideas?
> im quite new at this
> thanks
> daniel
> 
> 
> --
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
> 


-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to