Re: header:location question = PROBLEM SOLVED

From: Date: Fri, 08 Nov 2002 18:42:17 +0000
Subject: Re: header:location question = PROBLEM SOLVED
References: 1  Groups: php.windows 
Request: Send a blank email to php-windows+get-16927@lists.php.net to get a copy of this message
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" <ronherhuth@mindspring.com> To: "Daniel Sturk" <lists@skurk.mine.nu> 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: php-windows@lists.php.net > 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 >

« previous php.windows (#16927) next »